Generating test cases so you don’t have to
Jun 1, 2015shadewind
Summary
This post details the application of property-based testing using the RapidCheck framework to the Spotify player's track sequencing module. It demonstrates how to write property-based tests for pure functions and for stateful systems using model-based testing. The author successfully identified three bugs in the player's logic, including a significant one related to state transitions and command execution.