Replies: 1 comment 1 reply
-
Continuing on from #98 (it feels like going backwards):
Also in regards to testing stmbolic behaviour is equivalent, this exists: https://github.com/python/cpython/tree/master/Lib/test ;) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A collection of notes about testing CrossHair:
max_iterations
config option, and I'm hoping we can turn up the timeouts and rely onmax_iterations
to get improved determinism. One challenge here: sometimes we need one path to timeout so that we can move on to another, more fruitful path.builtinslib_ch_test.py
- it starts with native values, and compares the same code applied to symbolics that have been constrained to be equal to the native values. Right now it mostly just finds errors where the arguments are of the wrong types; such bugs are lower priority - most people will also use a type checker which will usually prevent TypeErrors more effectively. It also doesn't use pytest's parametrize, and so it's annoying to go digging through the log when there's a failure. This is ripe for a rewrite.Beta Was this translation helpful? Give feedback.
All reactions