I want to create a hypothesis.stateful.RuleBasedStateMachine
to run stateful testing in Python. When the test is running, I want it to be deterministic and either update some snapshots or compare with existing, so that I can manually review whether the changes in the snapshot makes sense.
Normally I can use syrupy's snapshot
assertion fixture to compare and update snapshot files.
Unfortunately, hypothesis
's stateful testing does not support fixtures, therefore I cannot directly use the snapshot
fixture.
What should I do to use syrupy
with hypothesis
in stateful testing?