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 coming 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.4.tar.gz (6.7 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.4-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file hypothesis_crosshair-0.0.4.tar.gz.

File metadata

  • Download URL: hypothesis_crosshair-0.0.4.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for hypothesis_crosshair-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d6d60664485d41971af1320a0815dc0a2f2db3c739dcc41f7e7f7777daf09bb0
MD5 daf38215b7efd34161369d0c7278a0ea
BLAKE2b-256 8abd13876bd235ee01e5c06b62cca3f554cab5eec9663f72cf091711e36b365d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hypothesis_crosshair-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 91bfc4d58ff01eb8dc68e4dfb63d5c767b35d95f6a95ddfee5ff8f2808699afc
MD5 1c26f338629cbad524ad9bc08e1d1bdc
BLAKE2b-256 81356bb07471942ad6bd90fba30bfc10de7f07584663b5a7d7bdf012c6228510

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