We use analytics to count visits and form use. It is on unless you reject it. We show no ads on this site.

Glossary

Test suite

Published . Last updated . Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Also called
test suites
Published
Updated
Related service
Regression testing
Definition

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.

Test suite: a smoke suite runs on every build and blocks promotion, a sanity suite runs after a small fix and blocks the retest of that area, a regression suite runs on merge and blocks the merge, a full release suite blocks the release, a nightly suite is triaged the next morning; each suite has one named owner

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:

  1. Duplicates. The same behavior checked at several levels of the stack is a candidate. Keep the cheapest check that would catch the fault.
  2. Tests nobody can explain. If no one can say what a test protects, it earns no place on the merge path.
  3. 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.
  4. Slow checks. Tag them and move them to the nightly run, using tags or projects.
  5. 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.

  • 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.

All terms in the glossary

Test with AI

Regression testing

Regression testing services: an automated regression suite in your repository that runs before every release, with every red run triaged. One-week audit.

See the service

Questions about test suite

What is a test suite?

A test suite is a group of tests that run together for one purpose. The ISTQB foundation syllabus says test cases can be organized into test procedures, "which are often assembled into test suites". Smoke, regression and release suites are examples. We sort them by when they run and what a failure stops.

What is the difference between a test suite and a test case?

A test case is one check, with its inputs, steps and expected result. A test suite is a collection of many such checks run as one job. A suite gives you one result for a purpose, such as whether a build is fit to promote, while a case tells you about one behavior.

What is the difference between a test suite and a test plan?

A test plan records the test objectives and the approach chosen to meet them. A test suite is the executable set of tests. The plan is where you decide which suites you need. The suites are what actually run.

How many tests should a regression suite have?

There is no number that fits every product. The ISTQB syllabus notes that regression suites tend to grow with each release. Our rule of thumb is to size it by criteria instead. It should run fast enough that people wait for it, cover the behavior that earns or loses you money, and contain no test that nobody can explain.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote