Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Mocking framework Python with *exact* Scenarios

Project description

Testix is a Mocking framework for Python, meant to be used with [pytest](

read the full docs at the [project’s homepage](

Testix is special because it allows you to specify what your mock objects do, and it then enforces your specifications automatically. It also reduces (albeit not entirely) mock setup. Other frameworks usually have a flow like this:

  • setup mock
  • let code do something with mock
  • assert mock used in correct way

Testix flow is a bit different

  • setup “top level” mock objects (sock in the following example)
  • specify exactly what should happen to them using a scenario

And that’s it.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for testix, version 4.11.0
Filename, size File type Python version Upload date Hashes
Filename, size testix-4.11.0-py3-none-any.whl (11.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page