--- a/src/eric7/Documentation/Source/eric7.Testing.Interfaces.PytestExecutor.html Sun Sep 04 16:11:32 2022 +0200 +++ b/src/eric7/Documentation/Source/eric7.Testing.Interfaces.PytestExecutor.html Mon Sep 05 18:08:43 2022 +0200 @@ -79,6 +79,10 @@ <td>Public method handling the unit test process been finished.</td> </tr> <tr> +<td><a href="#PytestExecutor.getMarkers">getMarkers</a></td> +<td>Public method to get the list of defined markers.</td> +</tr> +<tr> <td><a href="#PytestExecutor.getVersions">getVersions</a></td> <td>Public method to get the test framework version and version information of its installed plugins.</td> </tr> @@ -90,6 +94,10 @@ <td><a href="#PytestExecutor.start">start</a></td> <td>Public method to start the testing process.</td> </tr> +<tr> +<td><a href="#PytestExecutor.supportsMarkers">supportsMarkers</a></td> +<td>Public method to indicate the support for test filtering using markers and/or marker expressions.</td> +</tr> </table> <h3>Static Methods</h3> @@ -219,6 +227,37 @@ This method should read the results (if necessary) and emit the signal testFinished. </p> +<a NAME="PytestExecutor.getMarkers" ID="PytestExecutor.getMarkers"></a> +<h4>PytestExecutor.getMarkers</h4> +<b>getMarkers</b>(<i>interpreter, workdir</i>) + +<p> + Public method to get the list of defined markers. +</p> +<dl> + +<dt><i>interpreter</i> (str)</dt> +<dd> +interpreter to be used for the test +</dd> +<dt><i>workdir</i> (str)</dt> +<dd> +name of the working directory +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +dictionary containing the marker as key and the associated description + as value +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> <a NAME="PytestExecutor.getVersions" ID="PytestExecutor.getVersions"></a> <h4>PytestExecutor.getVersions</h4> <b>getVersions</b>(<i>interpreter</i>) @@ -292,6 +331,33 @@ list of directories to be added to the Python path </dd> </dl> +<a NAME="PytestExecutor.supportsMarkers" ID="PytestExecutor.supportsMarkers"></a> +<h4>PytestExecutor.supportsMarkers</h4> +<b>supportsMarkers</b>(<i>interpreter</i>) + +<p> + Public method to indicate the support for test filtering using markers and/or + marker expressions. +</p> +<dl> + +<dt><i>interpreter</i> (str)</dt> +<dd> +interpreter to be used for the test +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating support of markers +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file