On 2013-03-03, at 15:38, stephane ducasse <[email protected]> wrote: > pfffff can we stop such kind of mess. > I frankly do not see the value of
Think about the error messages here. > self should not be = $a Error message will be something like: Got 'adsfasdfasd' instead of $a > vs > self assert: self = $a and here? Assertion failed AKA 0 contextual information. Now it gets even worse when doing things like #should:raise: and friends. You have to fully restart the test case to even when debugging it just because you don't have decent error messages. Now this is what Phexample brings, 10 clicks less per failed assertion. I want that in 3.0. Besides in most cases a tree rewrite will do the proper transformation, so 0 effort for nice error messages. > I looked and most of the tests in Moose do not gain anything to rely on > phExample. > And now such change break nautilus. they don't break nautilus if the test in nautilus were implemented as I said before.
