On 2013-03-03, at 10:55, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
Because some one decided that methods starting with "should" are also tests
we can be a bit more precise, (selector beginsWith: 'should') and: [ (selector at: 'should' size + 1) isUppercase ]
On Mar 3, 2013, at 10:38 AM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi ben
I do not know if you saw this behavior but when I press the button on the class of a test methods that are not tests are also executed and reported as failures. For example I got
XMLNodeTest>>should: aBlock enumerate: aCollection | enumerated |
enumerated := OrderedCollection new. aBlock value: [:each | enumerated add: each]. self assert: enumerated = aCollection asOrderedCollection.
executed while it is an helper. With the testrunner I get a class with 100% green tests now. but not with nautilus.
Stef