test reporter
The part of a test runner that formats results, for people (such as a spec list) or for tools (such as TAP or JUnit XML).
In more detail
Continuous integration systems read the machine formats to show which tests failed. Most runners let you pick a reporter on the command line.
Related terms
- Test Anything Protocol — A simple text format for test results, one line per test starting with ok or not ok, readable by people and tools.
- JUnit — The standard testing framework for Java, which discovers methods marked @Test, runs them and reports each failure with the test's name.
- test runner — A tool that finds test files, runs the tests in them and reports which passed and which failed.
Taught in
- Native Test Runner: node:test & node:assert/strict — Node.js Internals & Backend Services