|
Jameo Core Library
|
A collection of classes to provide unit tests. More...
Classes | |
| class | jm::Test |
| This base class represents a test object. It is used to implement unit tests for any code. Typically a set of tests is collected in one derived test class. More... | |
| class | jm::TestVector |
| A TestVector is a collection of several tests and will execute them all and return the number of errors on execution. More... | |
Variables | |
| size_t | jm::gErrorCount |
| global error count during single test run. | |
| size_t | jm::gTestCount |
| global test count during single test run. | |
| size_t | jm::gTotalErrorCount |
| global error count over all done tests. | |
| size_t | jm::gTotalTestCount |
| global test count overall done tests. | |
A collection of classes to provide unit tests.
Jameo Core library provides simple ways to perform unit testing. The following example code shows the minimum requirements for an test app:
The console output of the app will be something like:
| size_t jm::gErrorCount |
global error count during single test run.
| size_t jm::gTestCount |
global test count during single test run.
| size_t jm::gTotalErrorCount |
global error count over all done tests.
| size_t jm::gTotalTestCount |
global test count overall done tests.