Mocking framework Python with *exact* Scenarios
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.