You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Hypothesis when you rerun a test, it will automatically retry it from the last failure it showed you.
This is a really nice feature and working on property-based tests without it is sad and infuriating. I would like the initial alpha release to not be sad and infuriating for reasons that are not related to its alphaness, so the example database should be part of it.
There are two parts to this:
Figure out a stable identifier for each test. This is made slightly complicated by the fact that we're not hooking into the test runner. We can special case a bunch of ways of figuring this out and then fall back to inspecting the current traceback at point of calls or something. This will have some annoyingly fragile failure modes but hopefully will mostly not be too bad.
Actually implement the example database keyed off that identifier. This should be relatively straightforward. It's just a directory of files.
The text was updated successfully, but these errors were encountered:
I'm actually going to remove this from the initial alpha release. Given the seed printing support in rspec it's not an essential feature, just a really nice one, so I think I'd rather spend the time on getting the provider library nice and useful for the alpha than on this.
Still absolutely an essential feature mind you! Just not an initial alpha release feature.
In Hypothesis when you rerun a test, it will automatically retry it from the last failure it showed you.
This is a really nice feature and working on property-based tests without it is sad and infuriating. I would like the initial alpha release to not be sad and infuriating for reasons that are not related to its alphaness, so the example database should be part of it.
There are two parts to this:
The text was updated successfully, but these errors were encountered: