Code Monkey home page Code Monkey logo

testtools's Introduction

testtools

testtools is a set of extensions to the Python standard library's unit testing framework.

These extensions have been derived from years of experience with unit testing in Python and come from many different sources.

Documentation

If you would like to learn more about testtools, consult our documentation in the 'doc/' directory. You might like to start at 'doc/overview.rst' or 'doc/for-test-authors.rst'.

Licensing

This project is distributed under the MIT license and copyright is owned by Jonathan M. Lange and the testtools authors. See LICENSE for details.

Some code in 'testtools/run.py' is taken from Python's unittest module, and is copyright Steve Purcell and the Python Software Foundation, it is distributed under the same license as Python, see LICENSE for details.

Supported platforms

  • Python 2.7+ or 3.3+ / pypy (2.x+)

If you would like to use testtools for earlier Pythons, please use testtools 1.9.0, or for really old Pythons, testtools 0.9.15.

testtools probably works on all OSes that Python works on, but is most heavily tested on Linux and OS X.

Optional Dependencies

If you would like to use our Twisted support, then you will need Twisted.

If you want to use fixtures then you can either install fixtures (e.g. from https://launchpad.net/python-fixtures or http://pypi.python.org/pypi/fixtures) or alternatively just make sure your fixture objects obey the same protocol.

Bug reports and patches

Please report bugs using Launchpad at <https://bugs.launchpad.net/testtools>. Patches should be submitted as Github pull requests, or mailed to the authors. See doc/hacking.rst for more details.

There's no mailing list for this project yet, however the testing-in-python mailing list may be a useful resource:

History

testtools used to be called 'pyunit3k'. The name was changed to avoid conflating the library with the Python 3.0 release (commonly referred to as 'py3k').

Thanks

  • Canonical Ltd
  • Bazaar
  • Twisted Matrix Labs
  • Robert Collins
  • Andrew Bennetts
  • Benjamin Peterson
  • Jamu Kakar
  • James Westby
  • Martin [gz]
  • Michael Hudson-Doyle
  • Aaron Bentley
  • Christian Kampka
  • Gavin Panella
  • Martin Pool
  • Julia Varlamova
  • ClusterHQ Ltd
  • Tristan Seligmann
  • Jonathan Jacobs

testtools's People

Contributors

rbtcollins avatar jml avatar bz2 avatar oddbloke avatar benjaminp avatar thomir avatar cjwatson avatar jelmer avatar allenap avatar freeekanayaka avatar statik avatar xiaohanyu avatar scop avatar come-maiz avatar robotfuel avatar abentley avatar wbond avatar tseaver avatar therve avatar toabctl avatar djipko avatar emonty avatar skuicloud avatar bigjools avatar jonathanj avatar jogo avatar jcollado avatar jkakar avatar cgoldberg avatar spamaps avatar

Watchers

Daira-Emma Hopwood avatar James Cloos avatar Liz Pruszko Steininger avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.