Git Product home page Git Product logo

juanpransisko / hypothesis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypothesisworks/hypothesis

0.0 0.0 0.0 16.83 MB

Hypothesis is a powerful, flexible, and easy to use library for property-based testing.

Home Page: https://hypothesis.works

License: Other

Makefile 0.02% Shell 0.51% Rust 2.83% Python 84.94% Ruby 2.65% Jupyter Notebook 8.63% PowerShell 0.32% Batchfile 0.10%

hypothesis's Introduction

Hypothesis

Hypothesis is family of testing libraries which let you write tests parametrized by a source of examples. A Hypothesis implementation then generates simple and comprehensible examples that make your tests fail. This simplifies writing your tests and makes them more powerful at the same time, by letting software automate the boring bits and do them to a higher standard than a human would, freeing you to focus on the higher level test logic.

This sort of testing is often called "property-based testing", and the most widely known implementation of the concept is the Haskell library QuickCheck, but Hypothesis differs significantly from QuickCheck and is designed to fit idiomatically and easily into existing styles of testing that you are used to, with absolutely no familiarity with Haskell or functional programming needed.

The currently available implementations of Hypothesis are:

  • Hypothesis for Python is the original implementation, and the only one that is currently fully production ready.
  • Hypothesis for Ruby is an ongoing project that we intend to eventually reach parity with Hypothesis for Python.
  • Hypothesis for Java is a prototype written some time ago. It's far from feature complete and is not under active development, but was intended to prove the viability of the concept.

This repository will eventually house all implementations of Hypothesis, but we are currently in the process of consolidating the existing repositories into a single one.

hypothesis's People

Contributors

00willo avatar alexwlchan avatar bachmann1234 avatar dchudz avatar drmaciver avatar dwest-netflix avatar grigoriosgiann avatar jerith avatar jomuel avatar jwg4 avatar kreeve avatar kxepal avatar lukasa avatar math2001 avatar moreati avatar mulkieran avatar nmbrgts avatar patchedwork avatar pyup-bot avatar radix avatar rboulton avatar rdturnermtl avatar rsokl avatar spon-ww avatar superstormer avatar thismatters avatar tomprince avatar touilleman avatar zac-hd avatar zalathar 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.