https://github.com/uber/doubles
Test doubles for Python.
https://github.com/uber/doubles
Last synced: 9 months ago
JSON representation
Test doubles for Python.
- Host: GitHub
- URL: https://github.com/uber/doubles
- Owner: uber
- License: mit
- Created: 2014-06-03T01:04:05.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T00:21:05.000Z (over 2 years ago)
- Last Synced: 2024-10-08T00:50:52.029Z (over 1 year ago)
- Language: Python
- Size: 316 KB
- Stars: 165
- Watchers: 2,670
- Forks: 17
- Open Issues: 18
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
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