Overview
| Artifact ID: | 4968c512d1ff4875371e8596ad7dfd46befaddd3 |
|---|---|
| Ticket: | 1017151fffffffffffffffffffffffffffffffff
Correct wrong/misleading errorInfo reporting |
| User & Date: | robert_seeger on 2004-08-26 20:02:10 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
Currently, the display of error information during a test run can be misleading. In particular, the errorInfo displayed for a test that was supposed to have a returnCode of error but did not is that of the last error. Also, if the body and cleanup sections of a test throw errors, only the error from the cleanup section is displayed. It would be helpful if both pieces of information were reported. Some sample code that shows the problem: test fake-1.1 { A fake test to set errorInfo } -body { catch { error "this is an error" } } -result 1 test fakeError-1.1 { Show an error condition when there isn't one } -body { set x 1 } -returnCodes error -result {1} test lostError-1.1 { Lose the body error information } -body { error "we never see this error" } -cleanup { error "we only see this error" } -result 1 - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "robert_seeger"
- subsystem changed to: "34. tcltest Package"
- title changed to: "Correct wrong/misleading errorInfo reporting"
- type changed to: "RFE"