We are using XRAY for manual testing.
QA planning is done at the execution level so all test cases are first added.
I want to automate adding test cases to a story/task test coverage by selecting all cases included in an execution.
Or what other way do we have to link a set of test cases (that are not part of a test set) to their corresponding story/task?
I hope to be of assistance.
If I understood correctly you want, in the context of a Story, to be able to add Tests to that story for coverage purposes.
Please note that what @Stefan Salzl mentioned is accurate as you want to specify which requirements you want testing and start from there, not the other way around.
However, should use the instance as a Test Repo and want to match the planned executions to Story Requirements at a later stage one way to do it is by using a JQL to add those tests. Example:
Test Execution "X" is a phase 1 login test scenario. Add a label to all those tests with "LoginPhase1". Then in the Story issue type, click the button "Test Coverage" followed by "Add Existing Tests" and use the JQL "issuetype = Test AND labels = LoginPhase1"
I hope it helps, best, Francisco.
How are test cases created at the moment? Could you describe your current process/standard operating procedure in a few sentences?
From my point of view it would make sense the other way round than you described - create test cases out of stories/tasks which links them automatically to that issue. Afterwards you could create the test execution with all the test cases from a specific story/task.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefan Salzl and @Francisco Fonseca _Xray_
Thanks for your answers; both are helpful.
I agree that the process is to create the test cases based on the requirements of each task and then link them to the stories and then the executions. At some point, our process started to miss some steps, and we started to create the test case, looking at the story and requirements but only linking them to the execution. So we will start doing that again.
And I'll use Franciscos's JQL to link test cases to some of our In QA stories that al ready have test cases completed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrea Pareja,
Good day!
If you're looking for a plugin to streamline test case management, check out our Test Case Assistant for Jira. Our app simplifies the process by automatically generating and linking test cases to user stories.
The Test Case Assistant for Jira app simplifies test case management by automatically generating and linking test cases to user stories using your templates. After opening a user story, just click "Test Case Assistant" to create and link test cases effortlessly. Customize the format with various prompts and easily manage the generated test cases. The app uses advanced OpenAI models to ensure quality and relevance. For continued access and higher limits, configure your own OpenAI API token within the app settings.
Please find the App link below:-
Thanks & Regards,
Armitha Reddy Toorpu Ceema,
Atlassian Engineer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.