Menu

#10 Clone CK_FORK from check

open
3
2008-02-10
2008-02-10
No

The unit test framework "check" (http://check.sourceforge.net) has a feature called CK_FORK which will fork for test cases. That has several advantages:
a) You can implement timeout tests.
b) You can implement signal tests.
c) The runner / framework won't crash if the test case crashes.
d) Considerable fixture setup costs will be reduced because the @Before method needs to be run only once, the rest is done using fork().
Eventually there are more advantages of forking than mentioned here.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.