Modify

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#8872 closed enhancement (fixed)

tracing of (requirement) tickets at test cases

Reported by: andreas.podskalsky@… Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

It would be fine to have a tracing of testcases to tickets like requirements or enhancements.

At the ticket we want to see if there is one or more a testcase which was created depending on it.

At the testcase we want to see if there is one ore more tickets depending on it.

Attachments (1)

CustomTicketField.JPG (102.2 KB) - added by seccanj 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by seccanj

Hi Andreas, the plugin already has linking tickets to test cases and vice versa.

Is this what you were looking for?

Ciao, Roberto

comment:2 Changed 4 years ago by andreas.podskalsky@…

Your "Linking a Ticket to a Test Case" is great for writing defect tickets when we find an error during testing.

But we have existing tickets which we want to link to the testcase during creation of that testcase.

Our usecase: 1) someone is writing a feature description to ticket #12345 (ticket type "feature" or "requirement") 2) the tester will write a testcase which depends on that ticket #12345 and maybe more tickets

comment:3 Changed 4 years ago by seccanj

Hi Andreas, I seem to remember this was just implemented, so I checked and yes I was right :D

As you can see from the attached screenshot, the TestManagerPlugin already adds a couple of custom ticket fields for recording the Terst Case and optionally the Test Plan associated to a Ticket.

These fields are automatically filled when opening a ticket from a test case, but in your case you can simply fill them manually.

You can then use the XML-RPC apis to query test cases related to tickets or vice-versa.

If you want to have a hyperlink in the ticket text itself (for example in a comment), just add it following the format used by the "Open a ticket on this test case" button, which is for example:

[wiki:TC_TT0_TC1]

where TC_TT0_TC1 is the test case wiki page name.

LEt me know if this is OK.

Ciao, Roberto

Changed 4 years ago by seccanj

comment:4 Changed 4 years ago by seccanj

Just to better clarify the answer, since your requirement is to be able to see the tickets related to a test case, of course you can do it by using the "Show related tickets" button on the test case page.

This only works if you actually add the test case wiki page name in the ticket description, as in:

[wiki:TC_TT0_TC1]

Hope this clarifies better.

Ciao, Roberto

comment:5 Changed 3 years ago by seccanj

  • Resolution set to fixed
  • Status changed from new to closed

I assume the answer satisfies your requirement. Ciao, Roberto

comment:6 Changed 3 years ago by andreas.podskalsky@…

Thanks for your great support !

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.