Modular Test Design
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 master test cases to achieve complex end-to-end testing scenarios. Test Management for Jira gives you the ability to nest child modules under master 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:
Understand the workflow of the application before you start to identify which modules need to be created.
Map out which steps are repeated on a page or across multiple pages.
Break down the repeated steps into bite-sized reusable test cases.
Use a skeleton master test case to call out the test cases.