This will be a small executable program that will load a library (.DLL for Windows, .SO for Unix) that contains developer defined unit-tests so that it can be programmatically instructed to run single or sets of tests.
We can use the Ngen::Library class to make this a very easy assignment. Load the library and use the the Ngen::Library functions to get access to Ngen::Diagnostic::Test instances by using the name of the test defined by the t_begin_test macro when the developer created the test.
This is very simple and will probably be in the next release (v.0.3), or in the one after (v0.4).
This will be a small executable program that will load a library (.DLL for Windows, .SO for Unix) that contains developer defined unit-tests so that it can be programmatically instructed to run single or sets of tests.
We can use the
Ngen::Library
class to make this a very easy assignment. Load the library and use the theNgen::Library
functions to get access toNgen::Diagnostic::Test
instances by using the name of the test defined by thet_begin_test
macro when the developer created the test.This is very simple and will probably be in the next release (v.0.3), or in the one after (v0.4).