SmartTester
2.0.0
Smart Tester is unit testing and regression testing framework used for testing SmartCGMS system.
|
#include <RegressionTester.h>
Public Member Functions | |
RegressionTester (std::wstring config_filepath) | |
HRESULT | compareLogs (const std::string &referenceLog) |
Class responsible for execution of regression tests.
|
explicit |
Loads configuration from given path into memory and executes it. Output will be a log which can be later tested alongside the reference log for regression.
config_filepath | path to the configuration file |
HRESULT tester::RegressionTester::compareLogs | ( | const std::string & | referenceLog | ) |
Compares generated log with reference log on given path.
referenceLog | path to reference log |
Line was found
If the line was not found, note it down
If this is the first mismatch, we note the expected and actual log lines