Unittest Walker

Thomas Kuehne thomas-dloop at kuehne.cn
Fri Dec 8 04:33:02 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you are interested in executing all your unittests and don't
want to stop after the first failed one you might be interested
in the Unittest Walker.

sample output:
#
# testing some_module.__unittest1 ... SUCCESS
# testing some_module.__unittest2 ... FAILED: (Exception) just a sample
# testing some_module.__unittest3 ... SUCCESS
# Summary: 2/1/3 (succeeded/failed/total)
#

limitation:
works only on Linux

how to use:
1) download http://svn.dsource.org/projects/flectioned/downloads/flectioned.zip
2) gcc -c elf.c
3) dmd -unittest flectioned.d unittest_walker.d elf.o <your sources> -oftest
4) ./test

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFeWhxLK5blCcjpWoRAtSvAJ4vqNbxLVyRqRcc37/MmbbjAUaUiwCfS/Ic
mTnC03JIOnAFUoZrAZphMGs=
=e7id
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-announce mailing list