mocksafe

A mocking library developed to enable static and runtime type checking of your mocks to keep them in sync with production code.


Keywords
mock, mocking, typed, typing, typesafe, testing, tests, mocks, magicmock, unittest, stubbing, mocking-library, python, type-safety, unit-testing
License
Other
Install
pip install mocksafe==0.6.0a0

Documentation

Github Actions Status https://codecov.io/gh/dmayo3/mocksafe/branch/main/graph/badge.svg?token=S3JI6OOTGF Documentation Status PyPI Package Follows the Semantic Versioning 2.0.0 spec Supported versions Code style: black Type checked by mypy MIT License

MockSafe v0.6.0-alpha

A mocking library developed to enable static and runtime type checking of your mocks to help keep them up-to-date with your production code.

It has a simple, fluent API and is designed to be used with Python's assert statement.

Checkout the docs link below for more information.

Install and quickstart

pip install mocksafe

Library Usage

Links

Install: PyPi
Docs: Read The Docs
License: MIT
Source: GitHub
Issues: GitHub Issues
Discussion: Questions & Feedback