Python's standard-library xUnit framework. Always there, never exciting.
unittest ships with Python and follows the classic xUnit shape: test classes, setUp/tearDown, and explicit assertion methods. It includes unittest.mock, which is the standard mocking library used even by pytest suites. Its virtue is that it needs no dependency.
Best for
Free and open source
Open sourceFree tier: Everything, self-hosted
What drives the bill: Free and open source. You pay in engineering time and CI minutes.
Check current pricing on Python Software Foundation’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
No reviews of unittest yet. If you have used it in anger, yours would be the first.
If unittest is not the right fit, these solve the same problem differently.