--- a/src/eric7/Documentation/Source/eric7.Testing.Interfaces.UnittestRunner.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.Testing.Interfaces.UnittestRunner.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,28 +7,26 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.Testing.Interfaces.UnittestRunner</h1> - <p> Module implementing the test runner script for the 'unittest' framework. </p> + <h3>Global Attributes</h3> - <table> -<tr><td>command</td></tr><tr><td>versions</td></tr> +<tr><td>command</td></tr> +<tr><td>versions</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#EricTestResult">EricTestResult</a></td> <td>Class implementing a TestResult derivative to send the data via a network connection.</td> </tr> </table> + <h3>Functions</h3> - <table> - <tr> <td><a href="#_assembleTestCasesList">_assembleTestCasesList</a></td> <td>Protected function to assemble a list of test cases included in a test suite.</td> @@ -38,31 +36,30 @@ <td>Function to run and/or discover the tests.</td> </tr> </table> + <hr /> <hr /> <a NAME="EricTestResult" ID="EricTestResult"></a> <h2>EricTestResult</h2> - <p> Class implementing a TestResult derivative to send the data via a network connection. </p> + <h3>Derived from</h3> unittest.TestResult <h3>Class Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#EricTestResult.__init__">EricTestResult</a></td> <td>Constructor</td> @@ -108,19 +105,20 @@ <td>Public method called once after all tests are executed.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="EricTestResult.__init__" ID="EricTestResult.__init__"></a> <h4>EricTestResult (Constructor)</h4> <b>EricTestResult</b>(<i>writer, failfast</i>) - <p> Constructor </p> + <dl> <dt><i>writer</i> (EricJsonWriter)</dt> @@ -135,10 +133,10 @@ <a NAME="EricTestResult.addError" ID="EricTestResult.addError"></a> <h4>EricTestResult.addError</h4> <b>addError</b>(<i>test, err</i>) - <p> Public method called if a test errored. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -154,10 +152,10 @@ <a NAME="EricTestResult.addExpectedFailure" ID="EricTestResult.addExpectedFailure"></a> <h4>EricTestResult.addExpectedFailure</h4> <b>addExpectedFailure</b>(<i>test, err</i>) - <p> Public method called if a test failed expected. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -173,10 +171,10 @@ <a NAME="EricTestResult.addFailure" ID="EricTestResult.addFailure"></a> <h4>EricTestResult.addFailure</h4> <b>addFailure</b>(<i>test, err</i>) - <p> Public method called if a test failed. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -192,10 +190,10 @@ <a NAME="EricTestResult.addSkip" ID="EricTestResult.addSkip"></a> <h4>EricTestResult.addSkip</h4> <b>addSkip</b>(<i>test, reason</i>) - <p> Public method called if a test was skipped. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -210,10 +208,10 @@ <a NAME="EricTestResult.addSubTest" ID="EricTestResult.addSubTest"></a> <h4>EricTestResult.addSubTest</h4> <b>addSubTest</b>(<i>test, subtest, err</i>) - <p> Public method called for each subtest to record its result. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -233,10 +231,10 @@ <a NAME="EricTestResult.addUnexpectedSuccess" ID="EricTestResult.addUnexpectedSuccess"></a> <h4>EricTestResult.addUnexpectedSuccess</h4> <b>addUnexpectedSuccess</b>(<i>test</i>) - <p> Public method called if a test succeeded expectedly. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -247,10 +245,10 @@ <a NAME="EricTestResult.startTest" ID="EricTestResult.startTest"></a> <h4>EricTestResult.startTest</h4> <b>startTest</b>(<i>test</i>) - <p> Public method called at the start of a test. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -261,17 +259,17 @@ <a NAME="EricTestResult.startTestRun" ID="EricTestResult.startTestRun"></a> <h4>EricTestResult.startTestRun</h4> <b>startTestRun</b>(<i></i>) - <p> Public method called once before any tests are executed. </p> + <a NAME="EricTestResult.stopTest" ID="EricTestResult.stopTest"></a> <h4>EricTestResult.stopTest</h4> <b>stopTest</b>(<i>test</i>) - <p> Public method called at the end of a test. </p> + <dl> <dt><i>test</i> (TestCase)</dt> @@ -282,21 +280,21 @@ <a NAME="EricTestResult.stopTestRun" ID="EricTestResult.stopTestRun"></a> <h4>EricTestResult.stopTestRun</h4> <b>stopTestRun</b>(<i></i>) - <p> Public method called once after all tests are executed. </p> + <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="_assembleTestCasesList" ID="_assembleTestCasesList"></a> <h2>_assembleTestCasesList</h2> <b>_assembleTestCasesList</b>(<i>suite, start</i>) - <p> Protected function to assemble a list of test cases included in a test suite. </p> + <dl> <dt><i>suite</i> (unittest.TestSuite)</dt> @@ -327,10 +325,10 @@ <a NAME="runtest" ID="runtest"></a> <h2>runtest</h2> <b>runtest</b>(<i>argv, discoverOnly=False</i>) - <p> Function to run and/or discover the tests. </p> + <dl> <dt><i>argv</i> (list of str)</dt> @@ -345,4 +343,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>