Ticket #7486 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Customizable test case outcomes (aka verdicts)

Reported by: seccanj Assigned to: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: rjollos, 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

Change History

08/12/10 23:04:16 changed by rjollos

  • cc set to rjollos.

12/22/10 11:18:39 changed by manolowolder

  • cc changed from rjollos to rjollos, manolowolder.

12/27/10 02:18:34 changed by anonymous

  • status changed from new to closed.
  • resolution set to fixed.

Implemented in 1.4.1.

The default outcomes will now be configured in trac.ini at plugin installation (or upgrade) time as follows:

[test-outcomes]
green.successful = Successful
red.failed = Failed
yellow.to_be_tested = Untested
default = TO_BE_TESTED

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:

red.bigmess = Big Mess!!!

12/29/10 12:37:06 changed by manolowolder

I have tested the new version, the solution is pretty much what I was looking for.

Status = Successful

Thanks!

12/29/10 21:47:37 changed by seccanj

Developer status = happy :-)

Ciao


Add/Change #7486 (Customizable test case outcomes (aka verdicts))




Change Properties
Action