np_runner_t* np_init ( void   ) 

Returns:
a new runner object
You should call np_init to initialise NovaProva before running any tests. It discovers tests in the current executable, and returns a pointer to a np_runner_t object which you can pass to np_run_tests to actually run the tests.

The first thing the function does is to ensure that the calling executable is running under Valgrind, which involves re-running the process. So be aware that any code between the start of main and the call to np_init will be run twice in two different processes, the second time under Valgrind.


Generated on Wed Aug 15 11:33:42 2012 for NovaProva by  doxygen 1.5.8