--- a/Documentation/Source/eric6.Debugger.DebugServer.html Tue Mar 26 19:38:12 2019 +0100 +++ b/Documentation/Source/eric6.Debugger.DebugServer.html Tue Mar 26 19:39:42 2019 +0100 @@ -159,6 +159,10 @@ <dd> emitted after the debug client has connected in passive debug mode +</dd><dt>utDiscovered(testCases, exc_type, exc_value)</dt> +<dd> +emitted after the + client has performed a test case discovery action </dd><dt>utFinished()</dt> <dd> emitted after the client signalled the end of the @@ -296,6 +300,9 @@ <td><a href="#DebugServer.__watchPointDataAboutToBeChanged">__watchPointDataAboutToBeChanged</a></td> <td>Private slot to handle the dataAboutToBeChanged signal of the watch expression model.</td> </tr><tr> +<td><a href="#DebugServer.clientUtDiscovered">clientUtDiscovered</a></td> +<td>Public method to process the client unittest discover info.</td> +</tr><tr> <td><a href="#DebugServer.clientUtFinished">clientUtFinished</a></td> <td>Public method to process the client unit test finished info.</td> </tr><tr> @@ -431,6 +438,9 @@ <td><a href="#DebugServer.remoteThreadList">remoteThreadList</a></td> <td>Public method to request the list of threads from the client.</td> </tr><tr> +<td><a href="#DebugServer.remoteUTDiscover">remoteUTDiscover</a></td> +<td>Public method to perform a test case discovery.</td> +</tr><tr> <td><a href="#DebugServer.remoteUTPrepare">remoteUTPrepare</a></td> <td>Public method to prepare a new unittest run.</td> </tr><tr> @@ -881,6 +891,22 @@ <dd> end index of the rows to be changed (QModelIndex) </dd> +</dl><a NAME="DebugServer.clientUtDiscovered" ID="DebugServer.clientUtDiscovered"></a> +<h4>DebugServer.clientUtDiscovered</h4> +<b>clientUtDiscovered</b>(<i>testCases, exceptionType, exceptionValue</i>) +<p> + Public method to process the client unittest discover info. +</p><dl> +<dt><i>testCases</i> (str)</dt> +<dd> +list of detected test cases +</dd><dt><i>exceptionType</i> (str)</dt> +<dd> +exception type +</dd><dt><i>exceptionValue</i> (str)</dt> +<dd> +exception message +</dd> </dl><a NAME="DebugServer.clientUtFinished" ID="DebugServer.clientUtFinished"></a> <h4>DebugServer.clientUtFinished</h4> <b>clientUtFinished</b>(<i></i>) @@ -1540,9 +1566,35 @@ <b>remoteThreadList</b>(<i></i>) <p> Public method to request the list of threads from the client. -</p><a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a> +</p><a NAME="DebugServer.remoteUTDiscover" ID="DebugServer.remoteUTDiscover"></a> +<h4>DebugServer.remoteUTDiscover</h4> +<b>remoteUTDiscover</b>(<i>clientType, forProject, venvName, syspath, workdir, discoveryStart</i>) +<p> + Public method to perform a test case discovery. +</p><dl> +<dt><i>clientType</i> (str)</dt> +<dd> +client type to be used +</dd><dt><i>forProject</i> (bool)</dt> +<dd> +flag indicating a project related action +</dd><dt><i>venvName</i> (str)</dt> +<dd> +name of a virtual environment +</dd><dt><i>syspath</i> (list of str)</dt> +<dd> +list of directories to be added to sys.path on the + remote side +</dd><dt><i>workdir</i> (str)</dt> +<dd> +path name of the working directory +</dd><dt><i>discoveryStart</i> (str)</dt> +<dd> +directory to start auto-discovery at +</dd> +</dl><a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a> <h4>DebugServer.remoteUTPrepare</h4> -<b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase, clientType="", forProject=False, venvName=""</i>) +<b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase, clientType="", forProject=False, venvName="", syspath=None, workdir="", discover=False, discoveryStart="", testCases=None</i>) <p> Public method to prepare a new unittest run. </p><dl> @@ -1577,6 +1629,22 @@ </dd><dt><i>venvName</i> (str)</dt> <dd> name of a virtual environment +</dd><dt><i>syspath</i> (list of str)</dt> +<dd> +list of directories to be added to sys.path on the + remote side +</dd><dt><i>workdir</i> (str)</dt> +<dd> +path name of the working directory +</dd><dt><i>discover</i> (bool)</dt> +<dd> +flag indicating to discover the tests automatically +</dd><dt><i>discoveryStart</i> (str)</dt> +<dd> +directory to start auto-discovery at +</dd><dt><i>testCases</i> (list of str)</dt> +<dd> +list of test cases to be loaded </dd> </dl><a NAME="DebugServer.remoteUTRun" ID="DebugServer.remoteUTRun"></a> <h4>DebugServer.remoteUTRun</h4>