Hi everyone,
I'm looking for some best practices from teams with solid experience using Xray.
I understand that Test Cases are reusable, but I'm still new to managing them across multiple projects. I'd love to learn what has worked well for your teams.
A few questions:
I'm trying to establish a structure that will scale well and remain easy to maintain over time, so I'd really appreciate hearing about your experience, conventions, and any lessons learned.
Thanks in advance!
Hi @Lena Wong ,
Since Xray is a Marketplace app, you may get more specialised input in the App Central group. Xray also has a useful collection of official guides and best-practice resources here: https://www.getxray.app/resources 📚
From my experience, the most important thing is to keep the structure simple and consistent:
Name Tests by feature + scenario + expected outcome, rather than by sprint or release, so they remain reusable.
Name Test Executions by release/sprint + environment + execution type, for example: "Release 2.4 - UAT - Regression".
Keep Test Cases sprint-independent. Associate the related requirement or Story with the Test, and use Test Executions or Test Plans for sprint/release-specific tracking.
Use Components for stable application areas and controlled fields for environment, test type, priority or team. I would avoid relying too heavily on Labels, as they can quickly become inconsistent.
Link Tests to the lowest meaningful requirement, usually a Story, while Epics are better used for broader coverage and reporting.
I would need to ask our Test Manager to actually give you some explicit examples, as he's mainly working on this part - either with Zephyr or Xray. 👀
Hopefully someone else will also chime in to potentially provide some real-life examples here.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.