Software Testing / Learning brief

Mei adds a smoke group and a data provider

What this means in plain language

Mei groups quick checks as smoke and runs one title test with four rows of data.

Understand the full idea, step by step

Analogy: a playlist. A playlist lets you play a few songs for a short drive and all of them for a long one. You do not change the songs, only the list.

A song can sit on more than one playlist.

A group is a playlist of tests. Tom, the tester at Daily List, a to-do list app, plays the smoke list before every push.

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.

Using TestNG groups and data providers. The people and 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 — 3 sources
  1. Market practice

    Annotations (TestNG documentation) ↗ — TestNG · TestNG documentation: groups are set on a test and the run can include or exclude groups by name, and setup and cleanup methods can run before or after a group (search excerpt, page not opened)

    The official page listing the TestNG annotations, including the test, group, setup and data provider annotations. Official project documentation. · Checked 2026-11-06

    Primary publisher body opened and relevant sections read on 6 November 2026; selected-section reading, not a claim every page or external link was read. See docs/research/v16-testing-automation-literacy-audit-20261106.md for exact sections, version and limitations.

  2. Market practice

    Parameters (TestNG documentation) ↗ — TestNG · TestNG documentation: a data provider is a method that returns rows of values and a test names it, so the test runs once for each row (search excerpt, page not opened)

    The official page on passing values from the suite file and from data provider methods into tests. Official project documentation. · Checked 2026-10-31

    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.

  3. 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 HERETestNG: groups, parameters and data providersRun the same Java test with many inputs, pick which tests run, and share setup. Learn the TestNG features that go past a single JUnit-style test.Opens at L0 Explain simply · about 16 min

Related briefs

Mei and the smoke alarm

A green night run makes the Daily List team feel safe. Mei uses a smoke alarm and a fire inspector to show Tom why checking and testing are different, and why a team needs both of them.

READ BRIEF