Overview
| Artifact ID: | ff11748b3be2d17a92e1472412589970ebd8d9fc |
|---|---|
| Ticket: | 556837ffffffffffffffffffffffffffffffffff
nested tests are not counted correctly |
| User & Date: | vincentdarley on 2002-05-16 16:02:54 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
If one test executes a number of others, the 'inside' tests are not reported in the statistics at the end of the test run. A complex example of this is available in the tclvfs test suite (vfsArchive.test) But a simple example is as follows: % package require tcltest % tcltest::test name {blah} { tcltest::test in in {expr 1} {0} } {1} ==== in in FAILED ==== Contents of test case: expr 1 ---- Result was: 1 ---- Result should have been (exact matching): 0 ==== in FAILED ==== name blah FAILED ==== Contents of test case: tcltest::test in in {expr 1} {0} ---- Result was: 0 ---- Result should have been (exact matching): 1 ==== name FAILED 0 % tcltest::cleanupTests 1 :Total1Passed0Skipped0 Failed1 Sourced 0 Test Files. But of course this should say 'total 2', 'failed 2'. - foundin changed to: "obsolete: 8.4a5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "vincentdarley"
- subsystem changed to: "34. tcltest Package"
- title changed to: "nested tests are not counted correctly"
- type changed to: "Bug"