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

branch
eric7
changeset 10259
b51dfacef37f
parent 10229
e50bbf250343
child 10407
03b41b9bb392
equal deleted inserted replaced
10258:e7764f992a01 10259:b51dfacef37f
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> 173 <td><a href="#TestExecutorBase.getMarkers">getMarkers</a></td>
174 <td></td> 174 <td>Public method to get the list of defined markers.</td>
175 </tr> 175 </tr>
176 <tr> 176 <tr>
177 <td><a href="#TestExecutorBase.getVersions">getVersions</a></td> 177 <td><a href="#TestExecutorBase.getVersions">getVersions</a></td>
178 <td></td> 178 <td>Public method to get the test framework version and version information of its installed plugins.</td>
179 </tr> 179 </tr>
180 <tr> 180 <tr>
181 <td><a href="#TestExecutorBase.hasCoverage">hasCoverage</a></td> 181 <td><a href="#TestExecutorBase.hasCoverage">hasCoverage</a></td>
182 <td></td> 182 <td>Public method to get the test framework version and version information of its installed plugins.</td>
183 </tr> 183 </tr>
184 <tr> 184 <tr>
185 <td><a href="#TestExecutorBase.readAllOutput">readAllOutput</a></td> 185 <td><a href="#TestExecutorBase.readAllOutput">readAllOutput</a></td>
186 <td>Public method to read all output of the test process.</td> 186 <td>Public method to read all output of the test process.</td>
187 </tr> 187 </tr>
193 <td><a href="#TestExecutorBase.stopIfRunning">stopIfRunning</a></td> 193 <td><a href="#TestExecutorBase.stopIfRunning">stopIfRunning</a></td>
194 <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> 195 </tr>
196 <tr> 196 <tr>
197 <td><a href="#TestExecutorBase.supportsMarkers">supportsMarkers</a></td> 197 <td><a href="#TestExecutorBase.supportsMarkers">supportsMarkers</a></td>
198 <td></td> 198 <td>Public method to indicate the support for test filtering using markers and/or marker expressions.</td>
199 </tr> 199 </tr>
200 <tr> 200 <tr>
201 <td><a href="#TestExecutorBase.supportsPatterns">supportsPatterns</a></td> 201 <td><a href="#TestExecutorBase.supportsPatterns">supportsPatterns</a></td>
202 <td></td> 202 <td>Public method to indicate the support for test filtering using test name patterns or a test name pattern expression.</td>
203 </tr> 203 </tr>
204 </table> 204 </table>
205 <h3>Static Methods</h3> 205 <h3>Static Methods</h3>
206 206
207 <table> 207 <table>
336 </dl> 336 </dl>
337 <a NAME="TestExecutorBase.getMarkers" ID="TestExecutorBase.getMarkers"></a> 337 <a NAME="TestExecutorBase.getMarkers" ID="TestExecutorBase.getMarkers"></a>
338 <h4>TestExecutorBase.getMarkers</h4> 338 <h4>TestExecutorBase.getMarkers</h4>
339 <b>getMarkers</b>(<i>interpreter, workdir</i>) 339 <b>getMarkers</b>(<i>interpreter, workdir</i>)
340 340
341 <p>
342 Public method to get the list of defined markers.
343 </p>
344 <dl>
345
346 <dt><i>interpreter</i> (str)</dt>
347 <dd>
348 interpreter to be used for the test
349 </dd>
350 <dt><i>workdir</i> (str)</dt>
351 <dd>
352 name of the working directory
353 </dd>
354 </dl>
355 <dl>
356 <dt>Return:</dt>
357 <dd>
358 dictionary containing the marker as key and the associated description
359 as value
360 </dd>
361 </dl>
362 <dl>
363 <dt>Return Type:</dt>
364 <dd>
365 dict
366 </dd>
367 </dl>
341 <a NAME="TestExecutorBase.getVersions" ID="TestExecutorBase.getVersions"></a> 368 <a NAME="TestExecutorBase.getVersions" ID="TestExecutorBase.getVersions"></a>
342 <h4>TestExecutorBase.getVersions</h4> 369 <h4>TestExecutorBase.getVersions</h4>
343 <b>getVersions</b>(<i>interpreter</i>) 370 <b>getVersions</b>(<i>interpreter</i>)
344 371
372 <p>
373 Public method to get the test framework version and version information
374 of its installed plugins.
375 </p>
376 <dl>
377
378 <dt><i>interpreter</i> (str)</dt>
379 <dd>
380 interpreter to be used for the test
381 </dd>
382 </dl>
383 <dl>
384 <dt>Return:</dt>
385 <dd>
386 dictionary containing the framework name and version and the
387 list of available plugins with name and version each
388 </dd>
389 </dl>
390 <dl>
391 <dt>Return Type:</dt>
392 <dd>
393 dict
394 </dd>
395 </dl>
345 <a NAME="TestExecutorBase.hasCoverage" ID="TestExecutorBase.hasCoverage"></a> 396 <a NAME="TestExecutorBase.hasCoverage" ID="TestExecutorBase.hasCoverage"></a>
346 <h4>TestExecutorBase.hasCoverage</h4> 397 <h4>TestExecutorBase.hasCoverage</h4>
347 <b>hasCoverage</b>(<i>interpreter</i>) 398 <b>hasCoverage</b>(<i>interpreter</i>)
348 399
400 <p>
401 Public method to get the test framework version and version information
402 of its installed plugins.
403 </p>
404 <dl>
405
406 <dt><i>interpreter</i> (str)</dt>
407 <dd>
408 interpreter to be used for the test
409 </dd>
410 </dl>
411 <dl>
412 <dt>Return:</dt>
413 <dd>
414 flag indicating the availability of coverage functionality
415 </dd>
416 </dl>
417 <dl>
418 <dt>Return Type:</dt>
419 <dd>
420 bool
421 </dd>
422 </dl>
349 <a NAME="TestExecutorBase.readAllOutput" ID="TestExecutorBase.readAllOutput"></a> 423 <a NAME="TestExecutorBase.readAllOutput" ID="TestExecutorBase.readAllOutput"></a>
350 <h4>TestExecutorBase.readAllOutput</h4> 424 <h4>TestExecutorBase.readAllOutput</h4>
351 <b>readAllOutput</b>(<i>process=None</i>) 425 <b>readAllOutput</b>(<i>process=None</i>)
352 426
353 <p> 427 <p>
406 </p> 480 </p>
407 <a NAME="TestExecutorBase.supportsMarkers" ID="TestExecutorBase.supportsMarkers"></a> 481 <a NAME="TestExecutorBase.supportsMarkers" ID="TestExecutorBase.supportsMarkers"></a>
408 <h4>TestExecutorBase.supportsMarkers</h4> 482 <h4>TestExecutorBase.supportsMarkers</h4>
409 <b>supportsMarkers</b>(<i>interpreter</i>) 483 <b>supportsMarkers</b>(<i>interpreter</i>)
410 484
485 <p>
486 Public method to indicate the support for test filtering using markers and/or
487 marker expressions.
488 </p>
489 <dl>
490
491 <dt><i>interpreter</i> (str)</dt>
492 <dd>
493 interpreter to be used for the test
494 </dd>
495 </dl>
496 <dl>
497 <dt>Return:</dt>
498 <dd>
499 flag indicating support of markers
500 </dd>
501 </dl>
502 <dl>
503 <dt>Return Type:</dt>
504 <dd>
505 bool
506 </dd>
507 </dl>
411 <a NAME="TestExecutorBase.supportsPatterns" ID="TestExecutorBase.supportsPatterns"></a> 508 <a NAME="TestExecutorBase.supportsPatterns" ID="TestExecutorBase.supportsPatterns"></a>
412 <h4>TestExecutorBase.supportsPatterns</h4> 509 <h4>TestExecutorBase.supportsPatterns</h4>
413 <b>supportsPatterns</b>(<i>interpreter</i>) 510 <b>supportsPatterns</b>(<i>interpreter</i>)
414 511
512 <p>
513 Public method to indicate the support for test filtering using test name
514 patterns or a test name pattern expression.
515 </p>
516 <dl>
517
518 <dt><i>interpreter</i> (str)</dt>
519 <dd>
520 interpreter to be used for the test
521 </dd>
522 </dl>
523 <dl>
524 <dt>Return:</dt>
525 <dd>
526 flag indicating support of markers
527 </dd>
528 </dl>
529 <dl>
530 <dt>Return Type:</dt>
531 <dd>
532 bool
533 </dd>
534 </dl>
415 <div align="right"><a href="#top">Up</a></div> 535 <div align="right"><a href="#top">Up</a></div>
416 <hr /> 536 <hr />
417 <hr /> 537 <hr />
418 <a NAME="TestResult" ID="TestResult"></a> 538 <a NAME="TestResult" ID="TestResult"></a>
419 <h2>TestResult</h2> 539 <h2>TestResult</h2>

eric ide

mercurial