https://github.com/dmayo3/mocksafe
Type-safe mocking for Python.
https://github.com/dmayo3/mocksafe
mocking mocking-library mocks python testing type-safety typesafe unit-testing
Last synced: 5 months ago
JSON representation
Type-safe mocking for Python.
- Host: GitHub
- URL: https://github.com/dmayo3/mocksafe
- Owner: dmayo3
- License: mit
- Created: 2023-05-08T16:30:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-15T13:29:33.000Z (6 months ago)
- Last Synced: 2025-12-18T16:31:48.844Z (6 months ago)
- Topics: mocking, mocking-library, mocks, python, testing, type-safety, typesafe, unit-testing
- Language: Python
- Homepage: https://pypi.org/project/mocksafe
- Size: 1.51 MB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
.. image:: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml/badge.svg
:target: https://github.com/dmayo3/mocksafe/actions/workflows/mocksafe.yml?query=branch%3Amain
:alt: Github Actions Status
.. image:: https://codecov.io/gh/dmayo3/mocksafe/branch/main/graph/badge.svg?token=S3JI6OOTGF
:target: https://codecov.io/gh/dmayo3/mocksafe
.. image:: https://readthedocs.org/projects/mocksafe/badge/?version=latest
:target: https://mocksafe.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://badge.fury.io/py/mocksafe.svg
:target: https://badge.fury.io/py/mocksafe
:alt: PyPI Package
.. image:: https://img.shields.io/badge/semver-2.0.0-blue
:target: https://semver.org/
:alt: Follows the Semantic Versioning 2.0.0 spec
.. image:: https://img.shields.io/pypi/pyversions/mocksafe.svg
:target: https://pypi.org/project/mocksafe
:alt: Supported versions
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code style: black
.. image:: http://www.mypy-lang.org/static/mypy_badge.svg
:target: http://mypy-lang.org/
:alt: Type checked by mypy
.. image:: https://img.shields.io/badge/License-MIT-green.svg
:target: https://github.com/dmayo3/mocksafe/blob/main/LICENSE
:alt: MIT License
MockSafe v0.10.0-beta
---------------------
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 `_