Timo - 2009-07-02

Hi all,

exists there in the current version of cppunit a solution to detect crashes and infinite loops in a unit test?

Currently we have the problem, that are build server hangs because of a hang in a unit test. The same for a crash in a unit test, then the Dr.Watson dialog pops up and it blocks the build server again.

I don't want this dialog blocking the build server, furthermore I would like to set a time out for each unit test  (and a default value). Also I would like to see unit tests which hangs or crashes on the results. Is there any solution for that?

I've seen that this is at least planned for Version 2:
http://cppunit.sourceforge.net/cppunit2/features.html#test-monitor-to-detect-crash-and-infinite-loop

Does anyone know if this is already implemented in another unit testing framework?

Cheers
Timo