Status: New
Owner: ----
Labels: Milestone-1.4 Type-Feature
New issue 5487 by
[hidden email]: Deferring the calculation of the
failure description string in TestCases
http://code.google.com/p/pharo/issues/detail?id=5487Calculating the failure description string for a failing assert is only
necessary if the assert fails.
I deferred the calculation by giving it as a block, and evaluating the
block only in the error case.
That might give some minor speedup for large test suites.
The patch is basically untested.
I use it to avoid all the calculations when debugging on the bytecode
level, but in another image, and in a very restricted use case. So, use
with caution.
Attachments:
TestCase.2.cs 3.6 KB
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker