Modify

Opened 3 years ago

Closed 2 years ago

#9914 closed enhancement (fixed)

Test plan report that lists failed Test Cases along with their defect Tickets

Reported by: anonymous Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Is it possible to have a Tes Plan Report that lists all the failed Test Cases along with their defect Tickets?

This woulld be a really useful Project report.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by seccanj

Hi,
this is an interesting enhancement to nake.

In the meantime, you could also try a simple report as follows, which is not elegant but should provide you with the desired info.

Go to "View Tickets", then "Create new Report", and paste the following into the "Query for Report" field.

select 
tcip.planid as "Test plan ID",
tp.name as "Test Plan Name",
tcip.page_name as "Test Case",
rtrim(substr(w.text,3,50), '=' || X'0A' || X'0D') as "Test Case Title",
tcip.status as "Test Case Status",
t.id as ticket,
t.summary as "Ticket Summary",
t.status as "Ticket Status",
t.owner as "Ticket Owner",
t.time
from testcaseinplan as tcip
left outer join ticket_custom as tcus, ticket as t
on tcus.name = 'planid' and tcus.value = tcip.planid 
and tcus.ticket = t.id 
and t.description like '%' || tcip.page_name || '%'
left outer join wiki as w
on w.name = tcip.page_name
left outer join testplan as tp
on tcip.planid = tp.id

Let me know how it goes.

Ciao,
Roberto

comment:2 Changed 2 years ago by seccanj

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

Add Comment

Modify Ticket

Action
as closed .
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.