|
Right now it reads as this:
isTestMethod "Is the receiver a TestCase test method?"
self methodClass isTestCase ifFalse: [ ^ false ]. self numArgs isZero ifFalse: [ ^ false ].
"unary selectors starting with 'should' are supposed to be treated as test methods too" ^ (self selector beginsWith: 'test') or: [ self selector beginsWith: 'should' ]
However, we should filter by the selector first, before asking the class, which is the information that belongs to the method.
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Later
|
Go to Case
|
|