Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Exceptions in setUp or tearDown?

Help
rksands
2007-01-25
2013-04-22
  • rksands
    rksands
    2007-01-25

    What is the appropriate way of stopping a CppUnit TestRunner in the setUp or tearDown TestFixture functions?  For instance, if a C++ native exception occured during setUp and is caught in a 'catch' block, how would I prevent the body of the test from executing?