Stackness
All moves

Use exhaustive simulation testing to find bugs unit tests miss

by Stackness

DevOps & Infrastructure

Instead of writing a fixed set of test cases, teams point a simulation or property based testing engine at a system and let it autonomously explore huge state spaces looking for invariant violations. This has been used to play a game like Tetris to level 999999 to shake out edge cases and to hammer real Raft implementations until they reveal protocol bugs that years of unit tests never caught. The practice treats bugs as findable through exhaustive search rather than as things you individually anticipate and write assertions for.

Sources: