• Doctest: searches for pieces of text that look like interactive Python sessions in docstrings.
  • py.test: is a no-boilerplate alternative to Python’s standard unittest module.
  • tox: for automating test environment management and testing against multiple interpreter configurations.
  • mock:allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.