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

"Jérôme M. Berger" jeberger at free.fr
Sun Nov 7 01:43:58 PST 2010


Jonathan M Davis wrote:
> Every other unit test library that I've used stops running a test when that test 
> fails. 

	I've only used one (CUnit), but it defines two kinds of assertions.
The standard kind (CU_ASSERT, CU_ASSERT_EQUAL, etc) simply prints a
message and records a count of failed and passed assertions, but
there is also a fatal kind (CU_ASSERT_FATAL, etc) which records the
failure and stops the test.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101107/31d2e202/attachment.pgp>


More information about the Digitalmars-d mailing list