Socket
Socket
Sign inDemoInstall

doubles

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

doubles

Test doubles for Python.

    1.5.3

Maintainers
1

Readme

doubles
=======

.. image:: https://badge.fury.io/py/doubles.svg
    :target: http://badge.fury.io/py/doubles

.. image:: https://travis-ci.org/uber/doubles.svg?branch=master
    :target: https://travis-ci.org/uber/doubles

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

.. image:: https://coveralls.io/repos/github/uber/doubles/badge.svg?branch=master
    :target: https://coveralls.io/github/uber/doubles?branch=master


**Doubles** 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 doubles. It comes with drop-in support for test suites run by Pytest,
Nose, or standard unittest.

Documentation
-------------

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

Development
-----------

Source code is available at https://github.com/uber/doubles.

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

Keywords

FAQs


Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc