#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Wed, 07 Mar 2018 23:03:48 +0100
changeset 702 ceeb7a8892d2
parent 701 15b8c801b7f0
child 703 7cf6ad732dc9
#BUGFIX by cg class: TestSuite added: #testCount
TestSuite.st
--- a/TestSuite.st	Wed Mar 07 17:26:12 2018 +0100
+++ b/TestSuite.st	Wed Mar 07 23:03:48 2018 +0100
@@ -85,6 +85,14 @@
 	resources := someOrderedTestResourceClasses
 !
 
+testCount
+    "obsoleted, because all methods starting with 'test'
+     are considered to be tests; so this is a bad name;
+     please use countTests"
+
+    ^ self countTests
+!
+
 tests
 	tests isNil ifTrue: [tests := OrderedCollection new].
 	^tests