Skip to main content

hypothit

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


@given(a=integers())
def inner(a):
    assume(a!=0)
    assert a==42

inner()

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

Credits

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

History

0.1.0 (2019-05-01)

  • First release on PyPI.

Metadata

Release files for hypothit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hypothit 0.1.0
File Size Uploaded Provenance Actions
hypothit-0.1.0.tar.gz 14.8 kB Without provenance Details for hypothit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hypothit 0.1.0
File Interpreter ABI Platform Actions
hypothit-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for hypothit-0.1.0-py2.py3-none-any.whl

Total release size: 24.7 kB

Release files / hypothit-0.1.0.tar.gz

Download URL hypothit-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8b2a2db92c19faee2a8f4c62fb9df728097baa501f22e90c19ac6e0b9646cee
BLAKE2b-256 checksum
How to use checksums
0ecc95506355c9e08dad4a18e60ca8cd3fb89340d5e929b2db0573dd23054383
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release files / hypothit-0.1.0-py2.py3-none-any.whl

Download URL hypothit-0.1.0-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e456a04e0dc15f188bada52821dcc7787acc9ec1d2d3ef5980497617bf21104c
BLAKE2b-256 checksum
How to use checksums
521619a7744ad40793b7a1c6afed80520f80dac4776da5b4ddc48a3f9a2ddeff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for hypothit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page