Module implementing the test runner script for the 'unittest' framework.
| command |
| versions |
| EricTestResult | Class implementing a TestResult derivative to send the data via a network connection. |
| _assembleTestCasesList | Protected function to assemble a list of test cases included in a test suite. |
| runtest | Function to run and/or discover the tests. |
Class implementing a TestResult derivative to send the data via a network connection.
| None |
| None |
| EricTestResult | Constructor |
| addError | Public method called if a test errored. |
| addExpectedFailure | Public method called if a test failed expected. |
| addFailure | Public method called if a test failed. |
| addSkip | Public method called if a test was skipped. |
| addSubTest | Public method called for each subtest to record its result. |
| addUnexpectedSuccess | Public method called if a test succeeded expectedly. |
| startTest | Public method called at the start of a test. |
| startTestRun | Public method called once before any tests are executed. |
| stopTest | Public method called at the end of a test. |
| stopTestRun | Public method called once after all tests are executed. |
| None |
Constructor
Public method called if a test errored.
Public method called if a test failed expected.
Public method called if a test failed.
Public method called if a test was skipped.
Public method called for each subtest to record its result.
Public method called if a test succeeded expectedly.
Public method called at the start of a test.
Public method called once before any tests are executed.
Public method called at the end of a test.
Public method called once after all tests are executed.
Protected function to assemble a list of test cases included in a test suite.
Function to run and/or discover the tests.