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 Supported versions Code style: black Type checked by mypy MIT License

MockSafe v0.5.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

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.5.0a0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

mocksafe-0.5.0a0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mocksafe-0.5.0a0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for mocksafe-0.5.0a0.tar.gz
Algorithm Hash digest
SHA256 4077679b050277036ad4f7b2862277267a398cbc5e8b8eaffa82ae8038d5c796
MD5 9db57d4e78b5597adcbcb587fc074c1a
BLAKE2b-256 13debf47f6999d84ecbbffec722b84860fadab9d7177a677ffba2fab523f17a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mocksafe-0.5.0a0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for mocksafe-0.5.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 5365b60deb4e6ae10e1c6de2da6458d3f06d64df0a6c7ef0cc82f6a30ba60a5c
MD5 c27fb3ef94ed668a2aa1cea093c072fa
BLAKE2b-256 dbf1b8b6d69ce33c7e3d6ef0327ba25e21cabfc6106d38cf27662de9982c860a

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