src/eric7/Documentation/Source/eric7.Testing.Interfaces.TestExecutorBase.html

branch
eric7
changeset 9311
8e588f403fd9
parent 9209
b99e7fd55fd3
child 9313
6bac6775abb2
equal deleted inserted replaced
9310:8ab45a4a6d96 9311:8e588f403fd9
168 <tr> 168 <tr>
169 <td><a href="#TestExecutorBase.finished">finished</a></td> 169 <td><a href="#TestExecutorBase.finished">finished</a></td>
170 <td>Public method handling the unit test process been finished.</td> 170 <td>Public method handling the unit test process been finished.</td>
171 </tr> 171 </tr>
172 <tr> 172 <tr>
173 <td><a href="#TestExecutorBase.getMarkers">getMarkers</a></td>
174 <td>Public method to get the list of defined markers.</td>
175 </tr>
176 <tr>
173 <td><a href="#TestExecutorBase.getVersions">getVersions</a></td> 177 <td><a href="#TestExecutorBase.getVersions">getVersions</a></td>
174 <td>Public method to get the test framework version and version information of its installed plugins.</td> 178 <td>Public method to get the test framework version and version information of its installed plugins.</td>
175 </tr> 179 </tr>
176 <tr> 180 <tr>
177 <td><a href="#TestExecutorBase.hasCoverage">hasCoverage</a></td> 181 <td><a href="#TestExecutorBase.hasCoverage">hasCoverage</a></td>
186 <td>Public method to start the testing process.</td> 190 <td>Public method to start the testing process.</td>
187 </tr> 191 </tr>
188 <tr> 192 <tr>
189 <td><a href="#TestExecutorBase.stopIfRunning">stopIfRunning</a></td> 193 <td><a href="#TestExecutorBase.stopIfRunning">stopIfRunning</a></td>
190 <td>Public method to stop the testing process, if it is running.</td> 194 <td>Public method to stop the testing process, if it is running.</td>
195 </tr>
196 <tr>
197 <td><a href="#TestExecutorBase.supportsMarkers">supportsMarkers</a></td>
198 <td>Public method to indicate the support for test filtering using markers and/or marker expressions.</td>
191 </tr> 199 </tr>
192 </table> 200 </table>
193 <h3>Static Methods</h3> 201 <h3>Static Methods</h3>
194 202
195 <table> 203 <table>
320 <dd> 328 <dd>
321 this method needs to be implemented by 329 this method needs to be implemented by
322 derived classes 330 derived classes
323 </dd> 331 </dd>
324 </dl> 332 </dl>
333 <a NAME="TestExecutorBase.getMarkers" ID="TestExecutorBase.getMarkers"></a>
334 <h4>TestExecutorBase.getMarkers</h4>
335 <b>getMarkers</b>(<i>interpreter, workdir</i>)
336
337 <p>
338 Public method to get the list of defined markers.
339 </p>
340 <dl>
341
342 <dt><i>interpreter</i> (str)</dt>
343 <dd>
344 interpreter to be used for the test
345 </dd>
346 <dt><i>workdir</i> (str)</dt>
347 <dd>
348 name of the working directory
349 </dd>
350 </dl>
351 <dl>
352 <dt>Return:</dt>
353 <dd>
354 dictionary containing the marker as key and the associated description
355 as value
356 </dd>
357 </dl>
358 <dl>
359 <dt>Return Type:</dt>
360 <dd>
361 dict
362 </dd>
363 </dl>
325 <a NAME="TestExecutorBase.getVersions" ID="TestExecutorBase.getVersions"></a> 364 <a NAME="TestExecutorBase.getVersions" ID="TestExecutorBase.getVersions"></a>
326 <h4>TestExecutorBase.getVersions</h4> 365 <h4>TestExecutorBase.getVersions</h4>
327 <b>getVersions</b>(<i>interpreter</i>) 366 <b>getVersions</b>(<i>interpreter</i>)
328 367
329 <p> 368 <p>
348 <dt>Return Type:</dt> 387 <dt>Return Type:</dt>
349 <dd> 388 <dd>
350 dict 389 dict
351 </dd> 390 </dd>
352 </dl> 391 </dl>
353 <dl>
354
355 <dt>Raises <b>NotImplementedError</b>:</dt>
356 <dd>
357 this method needs to be implemented by
358 derived classes
359 </dd>
360 </dl>
361 <a NAME="TestExecutorBase.hasCoverage" ID="TestExecutorBase.hasCoverage"></a> 392 <a NAME="TestExecutorBase.hasCoverage" ID="TestExecutorBase.hasCoverage"></a>
362 <h4>TestExecutorBase.hasCoverage</h4> 393 <h4>TestExecutorBase.hasCoverage</h4>
363 <b>hasCoverage</b>(<i>interpreter</i>) 394 <b>hasCoverage</b>(<i>interpreter</i>)
364 395
365 <p> 396 <p>
383 <dt>Return Type:</dt> 414 <dt>Return Type:</dt>
384 <dd> 415 <dd>
385 bool 416 bool
386 </dd> 417 </dd>
387 </dl> 418 </dl>
388 <dl>
389
390 <dt>Raises <b>NotImplementedError</b>:</dt>
391 <dd>
392 this method needs to be implemented by
393 derived classes
394 </dd>
395 </dl>
396 <a NAME="TestExecutorBase.readAllOutput" ID="TestExecutorBase.readAllOutput"></a> 419 <a NAME="TestExecutorBase.readAllOutput" ID="TestExecutorBase.readAllOutput"></a>
397 <h4>TestExecutorBase.readAllOutput</h4> 420 <h4>TestExecutorBase.readAllOutput</h4>
398 <b>readAllOutput</b>(<i>process=None</i>) 421 <b>readAllOutput</b>(<i>process=None</i>)
399 422
400 <p> 423 <p>
449 <b>stopIfRunning</b>(<i></i>) 472 <b>stopIfRunning</b>(<i></i>)
450 473
451 <p> 474 <p>
452 Public method to stop the testing process, if it is running. 475 Public method to stop the testing process, if it is running.
453 </p> 476 </p>
477 <a NAME="TestExecutorBase.supportsMarkers" ID="TestExecutorBase.supportsMarkers"></a>
478 <h4>TestExecutorBase.supportsMarkers</h4>
479 <b>supportsMarkers</b>(<i>interpreter</i>)
480
481 <p>
482 Public method to indicate the support for test filtering using markers and/or
483 marker expressions.
484 </p>
485 <dl>
486
487 <dt><i>interpreter</i> (str)</dt>
488 <dd>
489 interpreter to be used for the test
490 </dd>
491 </dl>
492 <dl>
493 <dt>Return:</dt>
494 <dd>
495 flag indicating support of markers
496 </dd>
497 </dl>
498 <dl>
499 <dt>Return Type:</dt>
500 <dd>
501 bool
502 </dd>
503 </dl>
454 <div align="right"><a href="#top">Up</a></div> 504 <div align="right"><a href="#top">Up</a></div>
455 <hr /> 505 <hr />
456 <hr /> 506 <hr />
457 <a NAME="TestResult" ID="TestResult"></a> 507 <a NAME="TestResult" ID="TestResult"></a>
458 <h2>TestResult</h2> 508 <h2>TestResult</h2>

eric ide

mercurial