Mocking library for Python inspired by Google Mock C++ mocking toolkit
Mocking library for Python inspired by Google Mock C++ mocking toolkit.
The purpose of using Mockify is the same as for Python’s unittest.mock module - to mimic behaviour of things during testing. But Mockify uses a different approach to do that.
Mockify does not have multiple assert_called_* methods that are executed to check if a method was called. Instead, it uses expect_call method to record expectations on mocks before they are called, and after unit under test is executed, mocks are checked if all recorded expectations are satisfied using one assert_satisfied assertion method.
Newest documentation can be found at https://mockify.readthedocs.org/.
Source code is available at https://gitlab.com/zef1r/mockify/.
This software is released under the terms of the MIT license.
See LICENSE.txt for details.
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 mockify-0.5.0-py3-none-any.whl (23.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size mockify-0.5.0.tar.gz (15.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|