Applies to TM4J Server/Data Center 7.1, last modified on September 11, 2020

One effective way to boost reusability for large scale test-cases libraries is to adopt a modular test-case design approach. Instead of duplicating or copying and pasting test cases or steps, this approach emphasizes that you break them down them into small, reusable pieces and then recombine the tests to achieve larger end-to-end testing scenarios.

While modularisation is a bit more complex, when used appropriately, it can lead to even greater testing efficiencies and results.

The most valuable test cases are those which are broadly applicable and reusable across different cycles and releases. Test engineers should devote serious thought into how to design test cases to be as specific as they need to be but also generic enough to be reused in different situations with different data inputs.

Testers can break down test cases into logical, manageable functions or modules. These modules are isolated to create independent tests that can then be recombined or reused to make larger test cases to achieve complex end-to-end testing scenarios. Test Management for Jira gives you the ability to nest child modules under main test cases, even with multiple levels. Each set of steps will be unfolded during the test execution (with the parameter replaced).

To begin a modular strategy, follow these steps:

  1. Understand the workflow of the application before you start to identify which modules need to be created.

  2. Map out which steps are repeated on a page or across multiple pages.

  3. Break down the repeated steps into bite-sized reusable test cases.

  4. Create a main test case that calls these individual test cases.

Main test case

Click the image to enlarge it.

See Also

Reusing Data With Call to Test

Highlight search results