Skip to lesson
Exit
Test-driven development with agent1 / 3

2 min lesson

When the test moves with the fix

Restore one test whose assertion moved with the implementation, then rerun it before and after the fix.

Step 1 of 3

The suite is green only because the assertion changed with the implementation.

Same test or moved target

Interactive diagram. Tab through its regions; each focused region shows its detail in the panel below.

diagram: compare

Pick a row to see what to look for.