hypothesis-crosshair
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c6a06ff39568d91051625f52dd33fb52ec03326a3876be688edaaa76a5a9902
|
|
| MD5 |
a6e716849a77001751f8a08baac00998
|
|
| BLAKE2b-256 |
a44702dfeca80bdada816fff238ab968e568aa99e8b6aae760cc15235a80fe45
|
File details
Details for the file hypothesis_crosshair-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hypothesis_crosshair-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
431c120a6bd1a2146987961f978fa4aefec6d80cbe551d3f7e0088b58dce8d02
|
|
| MD5 |
f54cd457fedf1ad583622f74c4695cbd
|
|
| BLAKE2b-256 |
8437a0490d5dfafbd20233de4132188c7e4ecc9aed6afa0a6afeddfbd8c36ed2
|