pfffff can we stop such kind of mess.
I frankly do not see the value of 

self should not be = $a

vs 
self assert: self = $a

I looked and most of the tests in Moose do not gain anything to rely on 
phExample.
And now such change break nautilus.

Stef


>> 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 <[email protected]> 
>> 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
>> 
> 
> 


Reply via email to