Skip to main content
Astronaut
Oct 2, 2024 8:49 AM UTC
Question

How do you order your tests for a good test session? / Test Management for Jira

Hi, 
we are evaluating Test Management for Jira for our Project Teams in a Software Development Agency. One project team misses the possibility to have a strict order for the execution of test cases during a testing session. They work in a long-time project with custom hardware involved.
Is there a feature we could use or a best practice we do not know yet? 
We would be changing from TestRail to Tricentis Test Management for Jira - but this Team thinks this missing feature could be a show stopper. Any helpful ideas?

6 replies

Ramanan
Ace Pilot
Nov 15, 2024 3:46 AM UTC

Hi, 
we are evaluating Test Management for Jira for our Project Teams in a Software Development Agency. One project team misses the possibility to have a strict order for the execution of test cases during a testing session. They work in a long-time project with custom hardware involved.
Is there a feature we could use or a best practice we do not know yet? 
We would be changing from TestRail to Tricentis Test Management for Jira - but this Team thinks this missing feature could be a show stopper. Any helpful ideas?

​@Riker  I totally understand your team's concern about test execution order - especially when dealing with hardware testing where sequence really matters! 🔧

Let me show you a couple of ways you can handle this in TTM for JIRA:

Test Management Execution Order Solutions

Here are a few approaches that I've seen work well (especially for hardware testing):

  1. Test Sets with Folders 📁
    • Create test sets that group related cases
    • Order them logically (like "1-Hardware Setup", "2-Basic Tests", etc.)
    • The execution will follow your folder structure
    • Pro: Easy to maintain
    • Con: Less rigid than TestRail's strict ordering
  2. Naming Convention 🔢
    • Prefix test cases with numbers (001_, 002_, etc.)
    • Add section prefixes (HW_, SW_, etc.)
    • Example: "001_HW_Initialize", "002_HW_Calibrate"
    • Pro: Very clear order
    • Con: Renumbering can be tedious
  3. Custom Field Solution ⚙️
    • Add a custom number field for execution order
    • Sort by this field during test runs
    • Can add dependency fields too
    • Pro: Most flexible approach
    • Con: Needs initial setup

My personal recommendation? Start with naming conventions (#2) since it's the quickest to implement, then maybe look at custom fields (#3) for a more robust solution if needed.

Quick tip: If you're working with Agile boards, you can also use the Sprint order to help organize your test execution sequence!

Would any of these approaches work for your hardware testing team? Let me know if you need more specific details about implementing any of these solutions! 😊

Hunt the bugs, ensure the hugs. Quality is everything.
Ramanan
Ace Pilot
Nov 26, 2024 2:19 AM UTC

Hi, 
we are evaluating Test Management for Jira for our Project Teams in a Software Development Agency. One project team misses the possibility to have a strict order for the execution of test cases during a testing session. They work in a long-time project with custom hardware involved.
Is there a feature we could use or a best practice we do not know yet? 
We would be changing from TestRail to Tricentis Test Management for Jira - but this Team thinks this missing feature could be a show stopper. Any helpful ideas?

​@Riker  I totally understand your team's concern about test execution order - especially when dealing with hardware testing where sequence really matters! 🔧

Let me show you a couple of ways you can handle this in TTM for JIRA:

Test Management Execution Order Solutions

Here are a few approaches that I've seen work well (especially for hardware testing):

  1. Test Sets with Folders 📁
    • Create test sets that group related cases
    • Order them logically (like "1-Hardware Setup", "2-Basic Tests", etc.)
    • The execution will follow your folder structure
    • Pro: Easy to maintain
    • Con: Less rigid than TestRail's strict ordering
  2. Naming Convention 🔢
    • Prefix test cases with numbers (001_, 002_, etc.)
    • Add section prefixes (HW_, SW_, etc.)
    • Example: "001_HW_Initialize", "002_HW_Calibrate"
    • Pro: Very clear order
    • Con: Renumbering can be tedious
  3. Custom Field Solution ⚙️
    • Add a custom number field for execution order
    • Sort by this field during test runs
    • Can add dependency fields too
    • Pro: Most flexible approach
    • Con: Needs initial setup

My personal recommendation? Start with naming conventions (#2) since it's the quickest to implement, then maybe look at custom fields (#3) for a more robust solution if needed.

Quick tip: If you're working with Agile boards, you can also use the Sprint order to help organize your test execution sequence!

Would any of these approaches work for your hardware testing team? Let me know if you need more specific details about implementing any of these solutions! 😊

Hi ​@Riker ,

Could you check the above suggestion and let me know if you need any further clarification?

Thanks,

Ramanan

Hunt the bugs, ensure the hugs. Quality is everything.
RikerAuthor
Astronaut
Nov 26, 2024 9:26 AM UTC

Hi ​@Ramanan thank you very much for your helpful and thoughtful answer!
Sorry for being late in responding.

I am very much interested in solution 3. I am confident to configure it… (at least the custom field, not shure about how to get TTM for Jira to work with it...) but can you perhaps illustrate a bit more about how you see this solution work and how you integrate dependencies in this workflow? 

Thank you very much!

Ramanan
Ace Pilot
Nov 26, 2024 9:44 AM UTC

Hi ​@Ramanan thank you very much for your helpful and thoughtful answer!
Sorry for being late in responding.

I am very much interested in solution 3. I am confident to configure it… (at least the custom field, not shure about how to get TTM for Jira to work with it...) but can you perhaps illustrate a bit more about how you see this solution work and how you integrate dependencies in this workflow? 

Thank you very much!

​@Riker here is my response 

That's an excellent approach you're exploring! Let me break down how I envision implementing this custom field solution in TTM for Jira, focusing on practical workflow integration.

For execution order and dependencies, I recommend creating two custom fields:
1. "Execution Priority" (numeric field)
2. "Test Dependencies" (multi-select or text field)

Practical Implementation Workflow:
Use "Execution Priority" as your primary sorting mechanism
In the "Test Dependencies" field, you could reference other test case IDs that must complete first
Configure a pre-execution script in TTM that:
Reads dependency references
Validates dependency completion status
Allows or blocks test case execution dynamically

Example Scenario:
Imagine you have test cases:
- TC001: User Login
- TC002: Profile Creation
- TC003: Advanced User Settings

You might configure:
- TC001 Priority: 1
- TC002 Priority: 2, Dependencies: [TC001]
- TC003 Priority: 3, Dependencies: [TC001, TC002]

This ensures a logical, controlled test execution sequence.

Hope this helps.

 

Thanks,

Ramanan

Hunt the bugs, ensure the hugs. Quality is everything.
Ramanan
Ace Pilot
Nov 27, 2024 2:58 AM UTC

Hi ​@Ramanan thank you very much for your helpful and thoughtful answer!
Sorry for being late in responding.

I am very much interested in solution 3. I am confident to configure it… (at least the custom field, not shure about how to get TTM for Jira to work with it...) but can you perhaps illustrate a bit more about how you see this solution work and how you integrate dependencies in this workflow? 

Thank you very much!

​@Riker here is my response 

That's an excellent approach you're exploring! Let me break down how I envision implementing this custom field solution in TTM for Jira, focusing on practical workflow integration.

For execution order and dependencies, I recommend creating two custom fields:
1. "Execution Priority" (numeric field)
2. "Test Dependencies" (multi-select or text field)

Practical Implementation Workflow:
Use "Execution Priority" as your primary sorting mechanism
In the "Test Dependencies" field, you could reference other test case IDs that must complete first
Configure a pre-execution script in TTM that:
Reads dependency references
Validates dependency completion status
Allows or blocks test case execution dynamically

Example Scenario:
Imagine you have test cases:
- TC001: User Login
- TC002: Profile Creation
- TC003: Advanced User Settings

You might configure:
- TC001 Priority: 1
- TC002 Priority: 2, Dependencies: [TC001]
- TC003 Priority: 3, Dependencies: [TC001, TC002]

This ensures a logical, controlled test execution sequence.

Hope this helps.

 

Thanks,

Ramanan

​@Riker try above

Hunt the bugs, ensure the hugs. Quality is everything.
RikerAuthor
Astronaut
Dec 5, 2024 6:30 AM UTC

Hi Ramanan, 

I have tried to implement your suggestion. I added a numeric custum field to TC for sorting. But at the moment when the TC wants to merge to a test run, it is copied to a new xx-TR-xx, which then no longer contains this field and I cannot sort the order by it in the test run execution. Where do you deviate from my procedure? I'm irritated at the moment, it sounded so obvious and unfortunately I can't implement it.
Unfortunately, I also have no experience with scripts in Jira or TTM. I can't find a place where I can integrate a script.
Thank you for your help

Riker