Modify

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#8872 closed enhancement (fixed)

tracing of (requirement) tickets at test cases

Reported by: podskalsky Owned by: Roberto Longobardi
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 Roberto Longobardi 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by Roberto Longobardi

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 14 years ago by 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 14 years ago by Roberto Longobardi

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 14 years ago by Roberto Longobardi

Attachment: CustomTicketField.JPG added

comment:4 Changed 14 years ago by Roberto Longobardi

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 13 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

I assume the answer satisfies your requirement. Ciao, Roberto

comment:6 Changed 13 years ago by podskalsky

Thanks for your great support !

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.