January 2019
Intermediate to advanced
376 pages
8h 49m
English
The previously failing property is interesting. If you look at the initial counterexample, it looks like a regular failure where our model or the system might have been wrong, but the shrinking totally imploded, and the source of failure isn’t obvious. In this section, we’ll revisit the shrinking mechanism of stateful properties to understand what goes on exactly and how to get PropEr to solve our problems for us.
Let’s first compare the initial failing command set and then compare it to the shrunken one. The initial failure was caused by the following sequence of events: