Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/persistent counter examples #18

Merged
merged 24 commits into from
Sep 19, 2017

Conversation

alfert
Copy link
Owner

@alfert alfert commented Aug 28, 2017

As discussed in #10 this is an implementation of persisting counter examples between test runs. The basic idea is to have a manager of counter examples called CounterStrike which stores all found counter examples as DETS on disk.

When running a property, it is checked whether counter examples exists and if yes, then only the counter examples are executed and no other properties. This helps to focus on solving the failing properties with the same counter example to ease debugging.

@evnu
Copy link
Collaborator

evnu commented Aug 29, 2017

I haven't read all of the source yet, so please forgive me if this question would be answered by the source: How does persistency cope with running single properties? E.g., if I run a single property with mix test test/some_file:123, will I lose all other stored counterexamples?

@alfert
Copy link
Owner Author

alfert commented Aug 29, 2017 via email

@alfert alfert merged commit 2553e78 into master Sep 19, 2017
alfert added a commit that referenced this pull request Sep 23, 2017
@alfert alfert deleted the feature/persistent_counterexamples branch May 31, 2018 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants