--- a/src/eric7/Documentation/Source/eric7.Testing.Interfaces.PytestExecutor.html Wed Dec 13 16:03:41 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.Testing.Interfaces.PytestExecutor.html Wed Dec 13 16:04:40 2023 +0100 @@ -63,6 +63,10 @@ <td>Private method to convert a nodeid to a test name.</td> </tr> <tr> +<td><a href="#PytestExecutor.__nodeid2testpath">__nodeid2testpath</a></td> +<td>Private method to convert a nodeid to a test path list.</td> +</tr> +<tr> <td><a href="#PytestExecutor.__normalizeModuleName">__normalizeModuleName</a></td> <td>Private method to convert a module name reported by pytest to Python conventions.</td> </tr> @@ -75,6 +79,10 @@ <td>Public method to create the arguments needed to start the test process.</td> </tr> <tr> +<td><a href="#PytestExecutor.discover">discover</a></td> +<td>Public method to start the test discovery process.</td> +</tr> +<tr> <td><a href="#PytestExecutor.finished">finished</a></td> <td>Public method handling the unit test process been finished.</td> </tr> @@ -149,6 +157,32 @@ str </dd> </dl> +<a NAME="PytestExecutor.__nodeid2testpath" ID="PytestExecutor.__nodeid2testpath"></a> +<h4>PytestExecutor.__nodeid2testpath</h4> +<b>__nodeid2testpath</b>(<i>nodeid</i>) + +<p> + Private method to convert a nodeid to a test path list. +</p> +<dl> + +<dt><i>nodeid</i> (str)</dt> +<dd> +nodeid to be converted +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +test path list +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of str +</dd> +</dl> <a NAME="PytestExecutor.__normalizeModuleName" ID="PytestExecutor.__normalizeModuleName"></a> <h4>PytestExecutor.__normalizeModuleName</h4> <b>__normalizeModuleName</b>(<i>name</i>) @@ -220,6 +254,24 @@ list of str </dd> </dl> +<a NAME="PytestExecutor.discover" ID="PytestExecutor.discover"></a> +<h4>PytestExecutor.discover</h4> +<b>discover</b>(<i>config, pythonpath</i>) + +<p> + Public method to start the test discovery process. +</p> +<dl> + +<dt><i>config</i> (TestConfig)</dt> +<dd> +configuration for the test discovery +</dd> +<dt><i>pythonpath</i> (list of str)</dt> +<dd> +list of directories to be added to the Python path +</dd> +</dl> <a NAME="PytestExecutor.finished" ID="PytestExecutor.finished"></a> <h4>PytestExecutor.finished</h4> <b>finished</b>(<i></i>)