5 awesome tools for writing Python tests:
- pytest - go-to testing framework for testing Python code
- unittest.mock - built-in mocking library
- coverage.py - measuring code coverage (use pytest-cov plugin when using pytest)
- mutmut - improve the quality of your test suite with mutation testing
- hypothesis - property-based testing library
You can learn about all of these tools here.