Test execution history

Daniel Shooter-Smith June 27, 2013

Hi,

We have been trialling Zephyr to see if it fits our needs but one thing we are struggling with is how to view the execution history of a test within a cycle to see how many times it failed and on which step it failed before it eventually passed. Does anyone know how we can get this information?

Cheers

Dan

2 answers

0 votes
Emily Schneider
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2014

Hi Zhao,

Yes. As of now we have ZAPI. With ZAPI you can pull raw data to generate your own custom reports. ZAPI is our Zephyr for JIRA API's. Not only can you grab raw data to generate your own custom reports but ZAPI also brings automation into Zephyr for JIRA. To help you get started with ZAPI:

A video to help get you started:
https://www.youtube.com/watch?v=oqk7vvsc8l8

Docs:
http://developer.yourzephyr.com/zapi/index.php

ZAPI download:
https://marketplace.atlassian.com/plugins/com.thed.zephyr.zapi

Our ZAPI REST API library:
http://docs.getzephyr.apiary.io/

Kind Regards,

Emily

Tania Dineva September 9, 2016

Hi, Emily, 

I see you are the master of Zephyr.

I think what's important and most us of can not find in JIRA+Zephyr is Quick Execution Status of test, grouped by Story, not by execution cycle.

That means all tests, linked to a story, to be listed with their last-execution-date and last-execution-state

I tried to build such query but can't add Links as clause and also couldn't find anything on tests' executions:
project = XYZ  and issuetype in (Test) and Links=XYZ-20160909 ORDER BY createdDate DESC 

 

Such a query will give information on Story's state at one glance...

Best will be if this data can be displayed in JIRA's story - all linked tests with those two columns added - last-exec-state and last-exec-date

br,

Tania

0 votes
Emily Schneider
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2013

Hi Daniel,

Currently we do not have this kind of data available to record. However, we do have a recommendataion/workaround on how to handle this.

What you can do is when you have a test cycle with failed/passed test cases inside of it and you want to re test only the failed tests, create a new cycle and move only the failed test cases to the new cycle. You can actually move ONLY the failed test cases from one cycle to another. To do this, once you have created the new cycle, on the right hover over the gear and select the drop down. From the drop down select "Add Tests". A new screen will appear with three options on the left. Select the bottom option "From another Cycle". Now you can move all the failed test cases from the old cycle to the new cycle.

By creating a new cycle for only the failed test cases to be retested you are able to leave new comments on these test cases. Also you can see based on your comments why they failed the first time or second time etc or which steps failed.

Kind Regards,

Emily

ZhaoL April 14, 2014

Does it have any update?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events