MQLUNIT
|
Test runner that outputs results to the XML file compatible with JUnit report analysers. More...
Public Member Functions | |
MQLUNIT_XMLTestRunner (string file) | |
Constructor : create a new XML test runner. More... | |
~MQLUNIT_XMLTestRunner () | |
Destructor. More... | |
void | addFailure (MQLUNIT_TestFailure *failure) |
Registeres a test failure. More... | |
void | startSuite (MQLUNIT_Test *test) |
Test suite started event. More... | |
void | endSuite (MQLUNIT_Test *test) |
Test suite ended event. More... | |
void | startTest (MQLUNIT_Test *test, const string name) |
Test started event. More... | |
void | endTest (MQLUNIT_Test *test, const string name) |
Test ended event. More... | |
bool | run (MQLUNIT_Test *test) |
Run a test and output the result to the console. More... | |
Public Member Functions inherited from MQLUNIT_TestRunner | |
virtual | ~MQLUNIT_TestRunner () |
Destructor. More... | |
Public Member Functions inherited from MQLUNIT_TestListener | |
MQLUNIT_TestListener () | |
Constructor. More... | |
virtual | ~MQLUNIT_TestListener () |
Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MQLUNIT_TestRunner | |
string | failureCountFormat (uint count) const |
Test runner that outputs results to the XML file compatible with JUnit report analysers.
|
inline |
Constructor : create a new XML test runner.
file | : full path the file to write test results to (relative to MQL4/Files directory) |
|
inline |
Destructor.
|
virtual |
Registeres a test failure.
failure | : failure details |
Implements MQLUNIT_TestListener.
|
virtual |
|
virtual |
Test ended event.
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
|
virtual |
Run a test and output the result to the console.
test | : a test to run |
Implements MQLUNIT_TestRunner.
|
virtual |
|
virtual |
Test started event.
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
Copyright © 2017 Eneset Group Trust |