Software Testing / Learning brief

Tom compares three test runners

What this means in plain language

Tom writes the same small Daily List check for JUnit, TestNG and pytest. He sees what each runner does the same.

Understand the full idea, step by step

Analogy: a referee. A referee starts the match, tracks each play and writes the score. The players do the playing.

A referee also blows the whistle for the start and the end.

A test runner is the referee for tests. Tom, the tester at Daily List, a to-do list app, writes the checks, and the runner runs them and writes the score.

Evidence & review

REVIEWED 2026-10-31

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

A comparison of three test runners. The people and the app are invented.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.

Sources for this brief — 4 sources
  1. Market practice

    JUnit 5 user guide (JUnit documentation) ↗ — JUnit team · JUnit 5 user guide: tests are methods marked with annotations and run by the JUnit platform (search excerpt, page not opened)

    Official guide. Per the search excerpt, JUnit Jupiter is the model for writing tests in JUnit 5, the @Test annotation marks a test method, and the Assertions class holds checks. The result list showed many guide versions; the 5.14.0 page was the newest seen. Tool documentation, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page for the 5.14.0 guide as listed in a search; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    TestNG documentation (Welcome to TestNG) ↗ — TestNG project · TestNG documentation: TestNG is a testing framework with annotations, grouping, parameters and reports (search excerpt, page not opened)

    Official documentation. Per the search excerpt, a suite is described by one XML file, each test in it lists classes, a method annotated @Test is a test method, and before and after annotations run around tests, tests in a group or the suite. Tool documentation, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number; read as a search excerpt only. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Get started (pytest documentation) ↗ — pytest development team · pytest documentation: pytest finds functions whose names start with test and reports failed assertions with detail (search excerpt, page not opened)

    Says pytest finds test functions whose names start with test_ in files named test_.py or _test.py, and that a plain assert statement is enough because pytest reports the values behind a failed assert. Official language or tool documentation. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HERETest runners: JUnit, TestNG and pytestA runner finds your tests, runs them, and reports results. Learn what JUnit, TestNG and pytest do the same and where they differ.Opens at L0 Explain simply · about 16 min

Related briefs