Mocking framework Python with *exact* Scenarios
Testix is a Mocking framework for Python, meant to be used with [pytest](https://docs.pytest.org/en/latest/).
read the full docs at the [project’s homepage](https://github.com/haarcuba/testix).
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.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|