Initialization and shutdown code with boost::unit_test_framework
4 Apr
2007
4 Apr
'07
6:08 p.m.
I have a set of unit tests that require an initialization function to be called once at program startup, and a shutdown function to be called at program exit. Something like this: int main() { init(); // run unit tests fini(); } Is it possible using the unit test framework for me to substitute my own main() function for the one that normally gets run by the framework? Or is there some other way of accomplishing the same thing? Jules d'Entremont.
6430
Age (days ago)
6430
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jules d'Entremont