Hi, I'm just trying to create my projects and test cases in Zephyr for Jira. Is there any way how to change order of test cases in test cycle? Order is by Jira ID. What if I want to add some new test case? Is there any way how to do it? Thanks
Currently there is not a way to re order the test cases in the cycle. However, you can add and remove test cases from a test cycle at any time. To add test cases to a test cycle click on the gear to the right of the test cycle and selec "Add Tests". You can also remove a test case from a cycle by clicking the little trash can to the right of the test case. This only removes the test case from the cycle and does not delete the test case itself.
I see that this is still not a feature for the cloud version. I'm in the process of converting my test cases over from test lodge. which is a basic tool, that has the ability to reorder test cases within a test run.
The proposed work around does't work, meaning it negates the advantage of putting test cases into test runs and still doesn't allow me to set the correct order still.
Please add this ASAP!
When will this be available? It is very important to be able to reorder the test cases within a test cycle. I can click on ID or Status and re-order them but I either need to be able to click on Summary and re-order them or manually move them into the order I need.
We have added further features since the date of these posts. You are able to order test cases from the Search Test Executions Nagigator (https://zephyrdocs.atlassian.net/wiki/display/ZTD/Search+Test+Executions) What you will want to do is go to the Search Test Executions navigator. It can be accessed from the Tests drop down. Once here, perofrm a ZQL to search for specific executions (here is a link to our ZQL reference page: https://zephyrdocs.atlassian.net/wiki/display/ZTD/ZQL+Reference). Once you pull up the executions you want, you can click on the columns "Cycle Name", "Issue Key", "Project Name" and so on. By clicking on these columns you can order or test cycles by that column.
Test Execution Navigator is not at all useful for ordering. Columns on which sorting can be done are not configurable. It does not even show 'Summary' of test case there.
It should have been helpful if we could show a custom field there in which we could put order like 1,2,3... and then sort this on interface to get ordering. But it is still a workaround which does not exist.
You have the ability to sort tests within a cycle. You just need to do it from the Search Test Executions screen.
What you will do is craft a ZQL to pull all the executions from a specific cycle. Once you do this you will see all the executions in that cycle. Now you can sort by the column headers and you can execute from here.
Information on the Search Test Executions Screen:
ZQL reference page:
Regarding sorting of the test cycles within a version, Zephyr for JIRA does not have the ability to sort the cycles available with native functionality.
Okay folks, I've figured this all out. After many headaches.
This is how to order tests correctly using the Zephyr plug in for JIRA.
STEP 1: You will need to add numbers in the beginning of the Test Summary on each test. So let's say you have 100 tests. You will use the following number convention:
001, 002, 003, ....021, 022, .....100
If you have 1,000 plus tests, you will have to add an additional zero to the front of the test summary.
STEP 2: Tests > Search Test Executions >
cycleName = "YOUR PROJECT NAME" ORDER BY summary ASC
Save as: "YOUR PROJECT NAME" Regression Suite (for example) you can name it whatever you want.
STEP 3: Tests > Manage Execution Filters >
Click on "YOUR PROJECT NAME" that you just saved.
This will display all your tests now.
OMG..............THEY ARE NOT IN ORDER STILL. I know, I know........
STEP 4: You have to have ADMIN rights for this part or you'll have to contact your administrator for this piece.
Admin > Add-ons > Under Zepher for JIRA > General Configuration > Click the Re-Index button
STEP 5: Your tests are NOW IN ORDER.
NOW send me a shot out and tell me thank you and that you love me.
This was always known as not that good workaround. Just upgraded to new version 2.2 to check improvements on test execution. But to my disapprointment, still the 'columns' cannot have sortable 'Labels' in 'search executions'. This could have helped big way in easing out execution and ordering.
If you search for the cycle you want to execute in Search Test Executions navigator, you can then order the tests in the cycle. Then you can go through and execute that cycle right from the Search Test Executioons navigator. What specific order are you looking to have your tests in within the cycle?
Hi Emily, it's the specific order in which the tests have to be executed. It is really an order and not a sorting! You cannot first make a step forward and then stand up. It must be the other way around. Doing something on a computer program changes its state and each test needs a certain state when execution starts. It would be totaly rediculus to start every test with "1) Switch on the light. 2) Sit down on the computer. 3) Switch the computer on. 4) Do something. 5) ... 132) Switch off the compter. 133) Switch off the light." and then start over with the next test from scatch. I design the test in an order that make it easy for an tester to execute them. Sometimes one test sets up a certain state---e.g. loads a specific file or starts a certain mode---the next two tests utilize this specific state and the next test resets the state back to normal. Putting all this steps in one big test case makes in hard to manage it and impossible to link tests in a meaningful way to requiriments. Even if I'm not dependent on a specific state for a test I order them in a way that the tester tests functionality in an order that reflects the accessability on the GUI application, e.g. I test the funcionality reachable by one menu or by one toolbar in order. That's the order in which the test ARE and it would be great to have that reflected in the software. As others already told, test case order is a very basic an crucial reqirement on a test management software.
Hi @Emily Schneider,
I can't see the option to do any kind of ordering from the "Search Test Executions" navigator. It is merely a list of test executions.
Instead I was making use of the "Reorder Executions" function that was introduced in the latest plugin update, version 2.5.1. We have a BIG problem with this function, as it is only giving us the option to order max 200 test executions. We have cases with more than 200, and I see no option to increase this number.
How can we order more than 200 executions?
Dagfinn Rosnes, Tieto
I'd like to also 'vote' for a solution to execution order.
The main reason for this, is my wish to add a kind of Setup(), Teardown() functionality for each test cycle - just like all major unit testing frameworks; when a test class is instantiated, the setup() method is invoked before any test method of the class, and finally, the teardown() method is invoked.
But, like some of the above, I'd like to stress the fact, that cloning a test cycle for a new version to test, should of course keep the ordering of the test cases.
Agree, a basic functionality where you want to execute the test in a sequence. This would be a "in my view" a fairly quick turnaround...
Это п...ц, ребята.. Просто п...ц. За 4 года они не могут внедрить простую фичу...
Жаль, что много заказчиков пользуется Зефиром. Есть хорошие бесплатные аналоги для тест дизайна с привязкой к джире. Вопрос, как их переманить? Если уже купили зефир... Удалять тесты и добавлять заново чтобы всунуть тест - это курам на смех (с) Миссия Серенити
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot