test framework
A library and set of conventions for writing, organising and running automated tests in a language.
In more detail
Examples are pytest for Python, JUnit for Java, xUnit.net for C#, Jest and Vitest for JavaScript and Go's testing package. They differ in syntax but share the ideas this course teaches: assertions, fixtures, parametrized cases and doubles.
Related terms
- pytest — A popular Python testing framework that finds test functions automatically and reports failures with detailed comparisons.
- test runner — A tool that finds test files, runs the tests in them and reports which passed and which failed.
- JUnit — The standard testing framework for Java, which discovers methods marked @Test, runs them and reports each failure with the test's name.
- Jest — A popular JavaScript testing framework that bundles a test runner, assertions, mocking and code coverage in one package.
Taught in
- One Assertion Per Reason — Automated Testing, TDD & Quality Engineering
- Introducing pytest — Automated Testing, TDD & Quality Engineering