Documentation/Source/eric6.PyUnit.UnittestDialog.html

changeset 5606
da305d172769
parent 4602
48cc4820e2c2
child 6359
e78be0616e6e
equal deleted inserted replaced
5605:1950fe1a32c4 5606:da305d172769
484 <dd> 484 <dd>
485 file name of the test suite 485 file name of the test suite
486 </dd> 486 </dd>
487 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a> 487 </dl><a NAME="UnittestDialog.testErrored" ID="UnittestDialog.testErrored"></a>
488 <h4>UnittestDialog.testErrored</h4> 488 <h4>UnittestDialog.testErrored</h4>
489 <b>testErrored</b>(<i>test, exc, id</i>) 489 <b>testErrored</b>(<i>test, exc, testId</i>)
490 <p> 490 <p>
491 Public method called if a test errors. 491 Public method called if a test errors.
492 </p><dl> 492 </p><dl>
493 <dt><i>test</i></dt> 493 <dt><i>test</i></dt>
494 <dd> 494 <dd>
495 name of the test (string) 495 name of the test (string)
496 </dd><dt><i>exc</i></dt> 496 </dd><dt><i>exc</i></dt>
497 <dd> 497 <dd>
498 string representation of the exception (string) 498 string representation of the exception (string)
499 </dd><dt><i>id</i></dt> 499 </dd><dt><i>testId</i></dt>
500 <dd> 500 <dd>
501 id of the test (string) 501 id of the test (string)
502 </dd> 502 </dd>
503 </dl><a NAME="UnittestDialog.testFailed" ID="UnittestDialog.testFailed"></a> 503 </dl><a NAME="UnittestDialog.testFailed" ID="UnittestDialog.testFailed"></a>
504 <h4>UnittestDialog.testFailed</h4> 504 <h4>UnittestDialog.testFailed</h4>
505 <b>testFailed</b>(<i>test, exc, id</i>) 505 <b>testFailed</b>(<i>test, exc, testId</i>)
506 <p> 506 <p>
507 Public method called if a test fails. 507 Public method called if a test fails.
508 </p><dl> 508 </p><dl>
509 <dt><i>test</i></dt> 509 <dt><i>test</i></dt>
510 <dd> 510 <dd>
511 name of the test (string) 511 name of the test (string)
512 </dd><dt><i>exc</i></dt> 512 </dd><dt><i>exc</i></dt>
513 <dd> 513 <dd>
514 string representation of the exception (string) 514 string representation of the exception (string)
515 </dd><dt><i>id</i></dt> 515 </dd><dt><i>testId</i></dt>
516 <dd> 516 <dd>
517 id of the test (string) 517 id of the test (string)
518 </dd> 518 </dd>
519 </dl><a NAME="UnittestDialog.testFailedExpected" ID="UnittestDialog.testFailedExpected"></a> 519 </dl><a NAME="UnittestDialog.testFailedExpected" ID="UnittestDialog.testFailedExpected"></a>
520 <h4>UnittestDialog.testFailedExpected</h4> 520 <h4>UnittestDialog.testFailedExpected</h4>
521 <b>testFailedExpected</b>(<i>test, exc, id</i>) 521 <b>testFailedExpected</b>(<i>test, exc, testId</i>)
522 <p> 522 <p>
523 Public method called if a test fails expectedly. 523 Public method called if a test fails expectedly.
524 </p><dl> 524 </p><dl>
525 <dt><i>test</i></dt> 525 <dt><i>test</i></dt>
526 <dd> 526 <dd>
527 name of the test (string) 527 name of the test (string)
528 </dd><dt><i>exc</i></dt> 528 </dd><dt><i>exc</i></dt>
529 <dd> 529 <dd>
530 string representation of the exception (string) 530 string representation of the exception (string)
531 </dd><dt><i>id</i></dt> 531 </dd><dt><i>testId</i></dt>
532 <dd> 532 <dd>
533 id of the test (string) 533 id of the test (string)
534 </dd> 534 </dd>
535 </dl><a NAME="UnittestDialog.testFinished" ID="UnittestDialog.testFinished"></a> 535 </dl><a NAME="UnittestDialog.testFinished" ID="UnittestDialog.testFinished"></a>
536 <h4>UnittestDialog.testFinished</h4> 536 <h4>UnittestDialog.testFinished</h4>
539 Public method called if a test has finished. 539 Public method called if a test has finished.
540 </p><p> 540 </p><p>
541 <b>Note</b>: It is also called if it has already failed or errored. 541 <b>Note</b>: It is also called if it has already failed or errored.
542 </p><a NAME="UnittestDialog.testSkipped" ID="UnittestDialog.testSkipped"></a> 542 </p><a NAME="UnittestDialog.testSkipped" ID="UnittestDialog.testSkipped"></a>
543 <h4>UnittestDialog.testSkipped</h4> 543 <h4>UnittestDialog.testSkipped</h4>
544 <b>testSkipped</b>(<i>test, reason, id</i>) 544 <b>testSkipped</b>(<i>test, reason, testId</i>)
545 <p> 545 <p>
546 Public method called if a test was skipped. 546 Public method called if a test was skipped.
547 </p><dl> 547 </p><dl>
548 <dt><i>test</i></dt> 548 <dt><i>test</i></dt>
549 <dd> 549 <dd>
550 name of the test (string) 550 name of the test (string)
551 </dd><dt><i>reason</i></dt> 551 </dd><dt><i>reason</i></dt>
552 <dd> 552 <dd>
553 reason for skipping the test (string) 553 reason for skipping the test (string)
554 </dd><dt><i>id</i></dt> 554 </dd><dt><i>testId</i></dt>
555 <dd> 555 <dd>
556 id of the test (string) 556 id of the test (string)
557 </dd> 557 </dd>
558 </dl><a NAME="UnittestDialog.testStarted" ID="UnittestDialog.testStarted"></a> 558 </dl><a NAME="UnittestDialog.testStarted" ID="UnittestDialog.testStarted"></a>
559 <h4>UnittestDialog.testStarted</h4> 559 <h4>UnittestDialog.testStarted</h4>
568 <dd> 568 <dd>
569 documentation of the started test (string) 569 documentation of the started test (string)
570 </dd> 570 </dd>
571 </dl><a NAME="UnittestDialog.testSucceededUnexpected" ID="UnittestDialog.testSucceededUnexpected"></a> 571 </dl><a NAME="UnittestDialog.testSucceededUnexpected" ID="UnittestDialog.testSucceededUnexpected"></a>
572 <h4>UnittestDialog.testSucceededUnexpected</h4> 572 <h4>UnittestDialog.testSucceededUnexpected</h4>
573 <b>testSucceededUnexpected</b>(<i>test, id</i>) 573 <b>testSucceededUnexpected</b>(<i>test, testId</i>)
574 <p> 574 <p>
575 Public method called if a test succeeds unexpectedly. 575 Public method called if a test succeeds unexpectedly.
576 </p><dl> 576 </p><dl>
577 <dt><i>test</i></dt> 577 <dt><i>test</i></dt>
578 <dd> 578 <dd>
579 name of the test (string) 579 name of the test (string)
580 </dd><dt><i>id</i></dt> 580 </dd><dt><i>testId</i></dt>
581 <dd> 581 <dd>
582 id of the test (string) 582 id of the test (string)
583 </dd> 583 </dd>
584 </dl> 584 </dl>
585 <div align="right"><a href="#top">Up</a></div> 585 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial