Python Testing

Back

1. hypothesis

Hypothesis is an advanced Quickcheck style property based testing library.

2. nose2

The successor to `nose`, based on `unittest2.

3. pytest

A mature full-featured Python testing tool.

4. Robot Framework

A generic test automation framework.

5. unittest

(Python standard library) Unit testing framework.

6. green

A clean, colorful test runner.

7. mamba

The definitive testing tool for Python. Born under the banner of BDD.

8. tox

Auto builds and tests distributions in multiple Python versions

9. locust

Scalable user load testing tool written in Python.

10. PyAutoGUI

PyAutoGUI is a cross-platform GUI automation Python module for human beings.

11. Schemathesis

A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.

12. Selenium

Python bindings for [Selenium](http://www.seleniumhq.org/) WebDriver.

13. sixpack

A language-agnostic A/B Testing framework.

14. splinter

Open source tool for testing web applications.

15. doublex

Powerful test doubles framework for Python.

16. freezegun

Travel through time by mocking the datetime module.

17. httmock

A mocking library for requests for Python 2.6+ and 3.2+.

18. httpretty

HTTP request mock tool for Python.

19. mock

(Python standard library) A mocking and patching library.

20. mocket

A socket mock framework with gevent/asyncio/SSL support.

21. responses

A utility library for mocking out the requests Python library.

22. VCR.py

Record and replay HTTP interactions on your tests.

23. factory_boy

A test fixtures replacement for Python.

24. mixer

Another fixtures replacement. Supports Django, Flask, SQLAlchemy, Peewee and etc.

25. model_mommy

Creating random fixtures for testing in Django.

26. coverage

Code coverage measurement.

27. fake2db

Fake database generator.

28. faker

A Python package that generates fake data.

29. mimesis

is a Python library that help you generate fake data.

30. radar

Generate random datetime / time.