This class calculates and stores statistics for test results. More...
#include <CTestReportStatistic.h>
Public Member Functions | |
| void | analyzeResult (const isys::CTestResultSPtr &testResult) |
| Call this method with all instances of CTestResult produced during test run. | |
| int32_t | getErrors () |
| Returns the number of test cases that did not execute because of an error in test. | |
| int32_t | getFailures () |
| Returns the number of tests, that executed, but their results do not match expected ones. | |
| void | serialize (const isys::IEmitterSPtr &emitter) |
| Writes collected data to the given emitter. | |
This class calculates and stores statistics for test results.
| int32_t isys::CTestReportStatistic::getErrors | ( | ) |
Returns the number of test cases that did not execute because of an error in test.
For example: function name is misspelled, wrong parameter type, timeout occurred, ...