...

/

Adjusting the Model: Fixing the Issue

Adjusting the Model: Fixing the Issue

Take a look at what causes the tests to fail and how to resolve the issue.

Finding the issue

The first step of any stateful failure is to figure out which failing sequence caused the problem. Shrinking does most of the job, but we still have to extract meaning out of it. We have something similar to the following:

Test failure output
Test failure output

This creates a sequence of events and state transitions as follows:

...
Access this course and 1400+ top-rated courses and projects.