FogBugz (Case [Issue]12280) Nautilus - Nautilus treats should: messages as tests and tries to run them (TestRunner doesn't)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]12280) Nautilus - Nautilus treats should: messages as tests and tries to run them (TestRunner doesn't)

Pharo Issue Tracker
FogBugz Notification
avatar
Bug in Project:  Nautilus: 1. Pharo Image  •  You are subscribed to this case
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 Priority: 3 – Must Fix Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo3.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker