🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

dobles

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dobles

Test dobles for Python.

4.0.2
100

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Maintainers
1

dobles

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

.. image:: https://badge.fury.io/py/dobles.svg :target: https://badge.fury.io/py/dobles

.. image:: https://readthedocs.org/projects/dobles/badge/?version=latest :target: https://dobles.readthedocs.io/en/latest/?badge=latest

.. image:: https://coveralls.io/repos/github/smartfastlabs/dobles/badge.svg?branch=master :target: https://coveralls.io/github/smartfastlabs/dobles?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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts