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

Implement replay checker #99

Merged
merged 9 commits into from
Jan 4, 2022
Merged

Implement replay checker #99

merged 9 commits into from
Jan 4, 2022

Conversation

sebastianburckhardt
Copy link
Member

Implements a replay checker which runs in all tests.

The replay checker maintains a serialized checkpoint of the current state, and validates the commutative diagram after each step: serialize(apply-effect(deserialize(old state))) = serialize(new state)

To implement this, some refactoring was also required:

  • Generalizes test hook structure to allow for various test checkers to be added easily and independently
  • Further develops the EffectTracker abstraction, using an abstract class instead of anonymous functions as done previously.

@sebastianburckhardt sebastianburckhardt merged commit 885f7b9 into dev Jan 4, 2022
@sebastianburckhardt sebastianburckhardt deleted the pr/replay-checker branch January 4, 2022 17:25
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.

1 participant