spir wrote: > On Sat, 6 Nov 2010 01:21:25 -0700 > Jonathan M Davis <[email protected]> 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). > In that case, you should have a dozen dozen different test blocks, each for a single test case of a single function. Under Jonathan's proposal, when a test block fails, it would stop the current *block* (i.e. test case) but allow the remaining blocks to be run.
Jerome
--
mailto:[email protected]
http://jeberger.free.fr
Jabber: [email protected]
signature.asc
Description: OpenPGP digital signature
