WEBVTT

1
00:00:00.350 --> 00:00:03.335
Fix the cause and check for regressions.

2
00:00:03.475 --> 00:00:06.904
A root cause explains why the failure occurs.

3
00:00:07.044 --> 00:00:10.854
A regression is a new failure introduced by a change.

4
00:00:10.994 --> 00:00:14.963
Fixing the visible symptom alone may leave the cause untouched.

5
00:00:15.953 --> 00:00:18.303
See a concrete example.

6
00:00:18.443 --> 00:00:22.717
Ask for a failing case first, then the smallest fix.

7
00:00:22.857 --> 00:00:26.122
Re-run that case and one neighboring user flow.

8
00:00:26.262 --> 00:00:29.081
Record the before-and-after behavior.

9
00:00:30.071 --> 00:00:33.256
Pause the video and complete the exercise.

10
00:00:39.071 --> 00:00:41.051
Avoid this mistake.

11
00:00:41.191 --> 00:00:44.600
Deleting a failing assertion to make tests pass.

12
00:00:44.740 --> 00:00:47.610
Keep the intended behavior explicit.

13
00:00:48.600 --> 00:00:50.434
Check your result.

14
00:00:50.574 --> 00:00:54.959
The original issue is gone and the neighboring behavior remains correct.

15
00:00:55.099 --> 00:01:01.618
Open the lesson below, try the exercise, and mark it complete only after checking the result.
