This is great. I love the matchers in Phexample (although I'm not sold on the test dependency part. I think dependent tests should be skipped, not failed... yet I digress...) Stefan Marr-3 wrote
Note that it is #includesSubString, in contrast to #beginsWith:. Is that on purpose?
This means that should can't appear in any non-test selector in a test class. As cool as #barShouldBeSomething looks, I don't think it's worth the confusion. And as you alluded to, it might encourage poor test design Stefan Marr-3 wrote
PS: It is also inconsistent with Phexample's own #isTest: implementation, which uses #beginsWith:
There should be one place in the image that defines what a test is. I'm guessing it would be packaged with SUnit, then Nautilus, Phexample, etc can refer to or alter it and get the change everywhere. HTH, Sean -- View this message in context: http://forum.world.st/Phexample-should-methods-tp4669070p4669077.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.