Skip to main content

hypothesis-crosshair

Downloads

Add the power of solver-based symbolic execution to your Hypothesis tests with CrossHair.

Just

pip install hypothesis-crosshair

and then add a backend="crosshair" setting, like so:

from hypothesis import given, settings, strategies as st

@settings(backend="crosshair")
@given(st.integers())
def test_needs_solver(x):
    assert x != 123456789

Docs hopefully comming soon. In the meantime, start a discussion or file an issue.

Download files

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

Source Distribution

hypothesis-crosshair-0.0.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hypothesis_crosshair-0.0.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file hypothesis-crosshair-0.0.2.tar.gz.

File metadata

  • Download URL: hypothesis-crosshair-0.0.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for hypothesis-crosshair-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0c6a06ff39568d91051625f52dd33fb52ec03326a3876be688edaaa76a5a9902
MD5 a6e716849a77001751f8a08baac00998
BLAKE2b-256 a44702dfeca80bdada816fff238ab968e568aa99e8b6aae760cc15235a80fe45

See more details on using hashes here.

File details

Details for the file hypothesis_crosshair-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hypothesis_crosshair-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 431c120a6bd1a2146987961f978fa4aefec6d80cbe551d3f7e0088b58dce8d02
MD5 f54cd457fedf1ad583622f74c4695cbd
BLAKE2b-256 8437a0490d5dfafbd20233de4132188c7e4ecc9aed6afa0a6afeddfbd8c36ed2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page