Giter Site home page Giter Site logo

lukasa / hypothesis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypothesisworks/hypothesis

0.0 3.0 0.0 3.98 MB

Hypothesis is an advanced Quickcheck style testing library for Python

License: Other

Python 97.69% Shell 1.18% PowerShell 0.86% Batchfile 0.27%

hypothesis's Introduction

Hypothesis

Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It's based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.

Hypothesis is both extremely practical and also advances the state of the art of unit testing by some way. It's easy to use, stable, and extremely powerful. If you're not using Hypothesis to test your project then you're missing out.

Hypothesis works with most widely used versions of Python. Officially it supports 2.6, 2.7 and 3.3+, but 3.0 through 3.2 will probably also work in the unlikely event that you're using them. Both CPython and PyPy are fully supported.

Links of interest

To learn more about how to use Hypothesis, extensive documentation and examples of usage are available at readthedocs.

If you want to talk to people about using Hypothesis, we have both an IRC channel and a mailing list.

If you want to contribute to Hypothesis, instructions are here.

If you're looking for inspiration for writing your own QuickCheck clone, here's a list of ideas you might want to borrow.

If you want to hear from people who are already using Hypothesis, some of them have written about it.

hypothesis's People

Contributors

charleso avatar chris-martin avatar doismellburning avatar drmaciver avatar follower avatar jeff-meadows avatar jerith avatar jml avatar jonty avatar lpil avatar marekventur avatar mgedmin avatar mishail avatar mulkieran avatar nchammas avatar petedmarsh avatar pkqk avatar radix avatar rboulton avatar rob-smallshire avatar saulshanabrook avatar sethmmorton avatar singingwolfboy avatar skorokithakis avatar the-compiler avatar tkb avatar tomviner avatar trowt avatar wjt avatar wrhall avatar

Watchers

 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.