39/41
Part 7 of 7 · Follow-upsLearn
What tests would you write?
First, a twin that scans every change. Run it side by side with the real store on thousands of random operations full of ties and late writes, and compare every read.
Then the edges, by hand:
- a read before the first change, exactly at a change, and after the last one
- a tie
- a key that was never set
- a delete followed by a set
- a key first set after a snapshot