#7486 closed enhancement (fixed)
Customizable test case outcomes (aka verdicts)
Reported by: | Roberto Longobardi | Owned by: | Roberto Longobardi |
---|---|---|---|
Priority: | normal | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | Ryan J Ollos, manolowolder | Trac Release: | 0.11 |
Description
It would be cool, if one could define a set of possible verdicts.
You have "Successful", "Untested", and "Failed",
which is OK for many purposes. But if you do tests according to one of the many standards, you might have different needs. E.g. ISO-9646 has five verdicts:
None = no result yet, untested Pass = good, successful Inconc = inconclusive, unclear Fail = bad, failed Error = there was an error in performing the test
If you test according to POSIX 1003.3 you have the verdicts:
PASS = good, successful FAIL = bad, failed UNRESOLVED = inconclusive, unclear UNTESTED = no result yet, untested
Some testing frameworks add XFAIL (= expected fail), UPASS (= unexpected pass) and UNSUPPORTED (= the implementation under test doesn't support a feature) to the POSIX verdicts.
Attachments (0)
Change History (5)
comment:1 Changed 14 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|
comment:2 Changed 14 years ago by
Cc: | manolowolder added |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 14 years ago by
I have tested the new version, the solution is pretty much what I was looking for.
Status = Successful
Thanks!
Implemented in 1.4.1.
The default outcomes will now be configured in trac.ini at plugin installation (or upgrade) time as follows:
You can customize the outcomes in any moment by adding new outcomes, or modify the descriptions of the current ones. Do not delete previous outcomes if you have already assigned them to any of your test cases.
For example, to add a new outcome named "Big Mess!!!" to the failures, add a line like the following: