Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Rerun same section several times in same test plan


I know how to setup a test plan to run several times with different browsers or some such configuration. But I have a much more granular repetition problem.

I’m running tests on a many-level hierarchy of different nodes, which have a set of similar attributes and which I expect to behave the same for them. But the code isn’t that well structured :-). So I really need to run those tests on every kind of node. There are enough of these that it adds significant needless size and complexity to my test plan.

Is there a way for me to include several copies of the same section in the test plan without manually copying that section into the test suite over and over again? Something like a section-as-subroutine?