Test Runner
PronunciationTEST RUN-er
Definition
A test runner is a software tool that automatically executes your test code, monitors the results, and provides a report on which tests passed or failed. It simplifies the testing process by handling the discovery and execution of test files in your project.
Where you hear it
In CI/CD pipelines, during local development, or when setting up a new testing framework.
Examples
I need to configure the test runner to ignore the integration tests.
The test runner failed because of a syntax error in one of the test files.
The test runner finds every file that starts with test_ and runs it.
Common mistake
Confusing the test runner with the testing framework itself; the framework provides the structure for writing tests (like assertions), while the runner is the engine that actually executes them.
Don't confuse with
Test runner vs. test framework; the framework provides the syntax and assertions to write the tests, while the runner is the execution engine that discovers and runs them.
Say it at work
- In a meeting or chat
Which test runner are we using for this project to ensure our unit tests run in parallel?
- In an email or ticket
I have updated the configuration file so that the test runner correctly identifies the new test suite.
Keep exploring
More in Testing & Quality