An introduction to fuzz testing using a circular queue implementation as the example. The post explains the concept of throwing random inputs at code to uncover bugs, contrasts it with hand-crafted corner-case tests, and walks through a complete C implementation that runs 10 million random enqueue/dequeue operations while
Sort: