Skip to main content

dobles

Fork of https://www.github.com/uber/doubles with support for python 3.8+

https://badge.fury.io/py/dobles.svg https://readthedocs.org/projects/dobles/badge/?version=latest https://coveralls.io/repos/github/smartfastlabs/dobles/badge.svg?branch=master

dobles is a Python package that provides test doubles for use in automated tests.

It provides functionality for stubbing, mocking, and verification of test doubles against the real objects they double. In contrast to the Mock package, it provides a clear, expressive syntax and better safety guarantees to prevent API drift and to improve confidence in tests using dobles. It comes with drop-in support for test suites run by Pytest or standard unittest.

Documentation

Documentation is available at http://dobles.readthedocs.org/en/latest/.

Development

Source code is available at https://github.com/smartfastlabs/dobles.

To install the dependencies on a fresh clone of the repository, run make bootstrap.

To run the test suite, run make test.

To build the documentation locally, run make docs.

License

MIT: http://opensource.org/licenses/MIT

Metadata

Release files for dobles 4.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dobles 4.0.2
File Size Uploaded
dobles-4.0.2.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dobles 4.0.2
File Interpreter ABI Platform
dobles-4.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 44.1 kB

Release files / dobles-4.0.2.tar.gz

Download URL dobles-4.0.2.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
74edd601c4ea1feabdf3274740b6d1246f97159f0db94b04b25db9db0310992c
BLAKE2b-256 checksum
How to use checksums
8b9c29e1d61ba5584f6c005fc88e2d1492634b82227d9216529308cf61215386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.3.0

Release files / dobles-4.0.2-py3-none-any.whl

Download URL dobles-4.0.2-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55557b377980b72d78726e48b99fdf237a8c75d373ef4afe91cc45bbdd8cf5eb
BLAKE2b-256 checksum
How to use checksums
6189865ccf374fe52ed5dcac721ecf6860a97045cd6e1e5125107952b382f9b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.3.0

Release history Release notifications | RSS feed

This release

4.0.2 This release

2 release files

4.0.1

2 release files

4.0.0

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page