skip to navigation
skip to content

Not Logged In

doubles 0.0.1.beta1

Test doubles for Python.

Latest Version: 1.0.8

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.

 
File Type Py Version Uploaded on Size
doubles-0.0.1.beta1.tar.gz (md5) Source 2014-07-26 11KB
  • Downloads (All Versions):
  • 89 downloads in the last day
  • 271 downloads in the last week
  • 1200 downloads in the last month