|
The Nautilus method: CompiledMethod>>isTestMethod
^ (self methodClass inheritsFrom: TestCase) and: [ (self selector beginsWith: 'test') or: [ self selector beginsWith: 'should']]
Results in messages in TestCases starting with "should" being run as if they were tests, even if they take arguments. TestRunner correctly ignores them, so a TestCase with its own "should" assertions can be all green according to TestRunner and partly red according to Nautilus.
It should be replaced with this: CompiledMethod>>isTestMethod
^ (self methodClass inheritsFrom: TestCase) and: [self selector beginsWith: 'test']
|
|
|
Priority: 3 – Must Fix
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo3.0
|
Go to Case
|
|