A test suite is a set of tests grouped to run together for one purpose, such as a quick build check or a full run before release. We sort suites by when they run and what a failure blocks. Our rule of thumb: a suite helps while it is fast enough to wait for, trusted and owned by someone.
What kinds of test suite are there?
A suite is a group of tests that run as one job. The ISTQB foundation syllabus says test cases can be organized into test procedures, “which are often assembled into test suites”. Tools give you the grouping in different forms. In TestNG, “a suite is represented by one XML file”. JUnit has a Suite Engine “for running a custom test suite”. In pytest you can mark tests and select them with the -m option. Playwright lets you tag tests and “only run tests that have a certain tag”, and group tests into projects.
The names below are the labels we use. The runtimes and the blocking rules are our rule of thumb, not a standard.
| Suite | Runs when | How long it may take (our rule of thumb) | What a failure blocks |
|---|---|---|---|
| Smoke | On every build or deploy | Short enough to wait for, minutes | Promotion to the next stage. The ISTQB syllabus gives “all smoke tests have passed” as an example entry criterion |
| Sanity | After a small fix or change | Narrow and short | The retest of that area. This is our usage |
| Regression | On merge, or nightly on a large product | As long as the team will wait, then split | The merge or the release |
| Full release | Before a release | Can be long if it is spread over machines | The release |
| Nightly | Every night | The longest | Nothing at once, but someone triages the result the next morning |
Regression suites need special care. The ISTQB syllabus says they “are run many times and generally the number of regression test cases will increase with each iteration or release”. In our judgement, a suite that only grows ends up slowing the changes that wait for it. For a plain-language view of one narrow kind, see our post on automated sanity testing.
How big should a suite be before it slows delivery, and what do you cut?
We would not give a number. Our rule of thumb: a suite is too big when people merge without waiting for it. Measure how long the slowest suite on the merge path takes, and compare it with how long your team will actually wait.
We cut in this order:
- Duplicates. The same behavior checked at several levels of the stack is a candidate. Keep the cheapest check that would catch the fault.
- Tests nobody can explain. If no one can say what a test protects, it earns no place on the merge path.
- Flaky tests. Playwright’s report calls a test “flaky” when it “failed on the first run, but passed when retried”. Retries are for that case, but they also hide it. Fix the test or move it out of the blocking suite, with an owner and a date.
- Slow checks. Tag them and move them to the nightly run, using tags or projects.
- Serial execution. Playwright’s sharding runs tests “on multiple machines simultaneously”, which shortens the wall-clock time without removing a test.
If you would rather hand the regression run to an outside team, see our regression automation testing service.
Who owns a test suite, and what does an unowned suite cost?
One named person or team should own each suite. They decide what goes in and what comes out, and what a red run means. Without that, the same things happen. Flaky tests stay in because the retry passes. Runs go unread because nobody is asked to answer for them. Then people stop trusting the result, and someone switches the check off.
Treat this as our judgement from practice, not a measured rate. A suite that blocks a merge is part of your quality gate, so the owner of the gate and the owner of the suite should agree on what may block. The tooling that executes a suite is the test harness. For the upkeep side, our guide to a test automation maintenance strategy is the place to start. If you are choosing a runner, see unit testing tools compared.
What does Zapple.Tech do about it?
If you are not sure which of your suites earn their runtime, start with evidence. Zapple.Tech starts with a one-week QA audit of one product area. It looks at its tests, pipeline and release process, and ends in a written report on what is at risk and what to fix first, plus a pilot plan you can run with Zapple.Tech or without it. Read more on the QA audit and assessment page.
Tell us about your suites in the form below.
How does test suite relate to other terms?
- Regression testing
Regression testing confirms that a change, including a defect fix, has caused no adverse consequences. The same checks are run many times, which makes it a strong candidate for automation. Our regression testing services build an automated regression suite in your repository that runs in your CI before every release, with every red run triaged.
- Test harness
A test harness is everything around the code under test that lets you run it and judge the result: the driver that calls it, stand-ins for its dependencies, the test data, the runner and the reporting. You pay for one whenever tests need more than the product itself. An AI agent needs one that also contains its side effects.
- Parallel testing
Parallel testing is running automated tests at the same time instead of one after another, across several worker processes, machines or browsers, to shorten a test run. Tests that share state, such as one account or file, then interfere with each other, so each needs its own data.
- Test pyramid
The test pyramid is a model for spreading automated tests across levels: many fast unit tests at the base, fewer service tests in the middle, and few slow end-to-end tests through the user interface at the top. Mike Cohn described it as the test automation pyramid. It guides proportions, not exact ratios: tests higher up are slower and cost more.
Sources
- ISTQB Certified Tester Foundation Level syllabus v4.0.1 (newest edition listed by ISTQB, dated 2024-09-15) (read 5 December 2026)
- pytest documentation, How to mark test functions (current docs) (read 5 December 2026)
- JUnit User Guide, Overview (6.1.3) (read 6 December 2026)
- TestNG documentation (current) (read 5 December 2026)
- Playwright documentation, Annotations (tags) (current docs) (read 5 December 2026)
- Playwright documentation, Projects (current docs) (read 5 December 2026)
- Playwright documentation, Sharding (current docs) (read 5 December 2026)
- Playwright documentation, Retries (current docs) (read 5 December 2026)