Test execution history

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

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

Does it have any update?

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

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

61 views 2 6
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you