#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Wed, 07 Mar 2018 23:03:57 +0100
changeset 703 7cf6ad732dc9
parent 702 ceeb7a8892d2
child 704 399ebe2a2280
#BUGFIX by cg class: TestCase added: #testCount
TestCase.st
--- a/TestCase.st	Wed Mar 07 23:03:48 2018 +0100
+++ b/TestCase.st	Wed Mar 07 23:03:57 2018 +0100
@@ -553,6 +553,14 @@
     ^false
 
     "Created: / 28-11-2012 / 18:03:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+testCount
+    "obsoleted, because all methods starting with 'test'
+     are considered to be tests; so this is a bad name;
+     please use countTests"
+
+    ^ self countTests
 ! !
 
 !TestCase methodsFor:'accessing & queries'!