Skip to main content

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

Project description

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.7.1-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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mocksafe-0.7.1a0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

mocksafe-0.7.1a0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file mocksafe-0.7.1a0.tar.gz.

File metadata

  • Download URL: mocksafe-0.7.1a0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for mocksafe-0.7.1a0.tar.gz
Algorithm Hash digest
SHA256 6719410eee0b889ddfeb09219c2b9da9b74a5763fce20f8595dc3318082c48c4
MD5 66d065922697a20638c1e4cbe72190c9
BLAKE2b-256 e5254bb7ca968172f3a19e2fe7137f80b32be9eb464376485baf077431703652

See more details on using hashes here.

File details

Details for the file mocksafe-0.7.1a0-py3-none-any.whl.

File metadata

  • Download URL: mocksafe-0.7.1a0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for mocksafe-0.7.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5ff4e266d22c886e3b116d006c45bf8c6924e929a1a427925ec1c85ee42bd6
MD5 838c8e509530969bafbee3e642a67ab9
BLAKE2b-256 70452e5ef96bc8d51022c09efc083a14f6ad3222d24f4a5c37712c91f011aad7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page