CxxTest/cxxtest — Issue #40: Add optional fork before each test
Author: whart222
Created: 2012-02-05 04:59:16+00:00
State: open

In some cases it might be helpful to fork before each test. This gives extreme
protection against a rogue failing test. This would allow the test framwork (and
other tests) to continue running even if a particular test decides to write to
random memory locations. It should also allow us to gracefully capture and
report if a particular test causes a segfault (or similar catastrophic failure).

This definitely needs to be an optional feature (forking on windows doesn't
really work IIRC).

It may also involve some kind of cooperation between the runner and the printer
... since it has to ship results back via some form of IPC (pipe perhaps).

This is a feature that is available in at least a couple other frameworks:
cgreen and check IIRC.

http://www.lastcraft.com/cgreen.php

http://check.sourceforge.net/