Artifacts Associated With Ticket b2b14f0bb5f40997
Ticket change [00985367fa] (rid 175763) by anonymous on 2019-10-08 12:54:48:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The tcltest man page documents an option -errorCode to tcltest::test that is not implemented, at least not in the code reported by info body tcltest::test. I think supporting -errorCode would be useful. Also, references to outputChannel and errorChannel would be clearer if prefixed with ::tcltest::. The second paragraph of the description section states that commands in the ::tcltest namespace are not prefixed, but is silent on the topic of variables.
- foundin initialized to: "8.6.8"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9ab7cae6a79106af802b939550556c6a60bbac54"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
tcltest::test documents an -errorCode option, but this is not implemented
- type initialized to: "Bug"
Ticket change [a1787acdee] (rid 175764) by dgp on 2019-10-09 15:01:26:
- icomment:
Here's an interactive session: % package require tcltest 2.5.0 % namespace import tcltest::* % test foo bar -body {error x y z} -result x -errorCode z % test foo bar -body {error x y z} -result x -errorCode WRONG ==== foo bar FAILED ==== Contents of test case: error x y z ---- Error code was: 'z' ---- Error code should have been: 'WRONG' ==== foo FAILED Seems to be implemented. Do you have a more specific bug report where the option is failing to behave as documented? - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [e96fc92011] (rid 176497) by jan.nijtmans on 2019-11-01 08:46:38:
- closedate changed to: "2458788.86572802"
- closer changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"