Skip to main content

Command line interface for Hypothesis property based tests

Project description


PyPI badge Documentation Status CI badge

Command line interface for Hypothesis property based tests

$ hypothit trial --given "a=integers()" --assume 'a!=0' "assert a==42"
from hypothesis import given, assume
from hypothesis.strategies import integers

def inner(a):
    assert a==42


Falsifying example: inner(a=1)
Traceback (most recent call last):
File ".../hypothit/", line 90, in trial
    exec(src, g)
File "<string>", line 10, in <module>
File "<string>", line 6, in inner
File ".../hypothesis/", line 1024, in wrapped_test
    raise the_error_hypothesis_found
File "<string>", line 8, in inner


This package was cut with Cookiecutter, & audreyr/cookiecutter-pypackage.


0.1.0 (2019-05-01)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypothit-0.1.0.tar.gz (14.8 kB view hashes)

Uploaded source

Built Distribution

hypothit-0.1.0-py2.py3-none-any.whl (9.9 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page