Closed tmr232 closed 1 year ago
😅
Thanks for the quick reports! HypoFuzz is turning out to be ironically under-tested given recent changes to the Hypothesis internals, but I'm at least adding regression tests as I go... and will fix this one after dinner.
OK, give 23.05.3 a go - I think I've fixed it this time; if not please let me know again!
At any rate it's working better than it was before and has some more tests (again), so we're on the right track...
Looks good so far :)
I assume the following exception is the desired outcome:
Traceback (most recent call last):
File "C:\Users\tamir\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Users\tamir\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Code\crafting-interpreters-py\.venv\Lib\site-packages\hypofuzz\interface.py", line 91, in _fuzz_several
fuzz_several(*tests)
File "C:\Code\crafting-interpreters-py\.venv\Lib\site-packages\hypofuzz\hy.py", line 418, in fuzz_several
raise Exception("Found failures for all tests!")
Exception: Found failures for all tests!
Yep, that's the expected behaviour, although I'd like it to be smarter eventually ala #3 and #12.
There I go again... But this time, it did find a real crashing input for my program!
As for the issue -
Running with 23.5.2.
When running the following test:
I get the following error: