Helper unit testing functions in Phobos (possible std.unittests)

spir denis.spir at gmail.com
Sat Nov 6 12:12:30 PDT 2010


On Sat, 6 Nov 2010 01:21:25 -0700
Jonathan M Davis <jmdavisProg at gmx.com> wrote:

> I believe strongly that a unit test block which has a failure should end 
> excecution. For many such tests, continuing would be utterly pointless, since 
> each successive test relies on the last.

I don't understand. I can have one dozen test cases for each of one dozen funcs. All 144 tests are independant. I prefere the possibility to see all test errors in one go, if any.
Anyway, there may be a flag STOP_AT_FIRST_TEST_ERROR (or the opposite).

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d mailing list