WEBVTT

1
00:00:00.350 --> 00:00:02.830
Choose the right kind of test.

2
00:00:02.970 --> 00:00:11.464
A unit test checks a small piece, an integration test checks cooperating pieces, and a browser test checks a user journey.

3
00:00:11.604 --> 00:00:15.504
Manual review catches visual and language issues too.

4
00:00:16.494 --> 00:00:18.843
See a concrete example.

5
00:00:18.983 --> 00:00:28.938
For a search feature, define a text-matching unit case, a data-loading integration case, and a browser case that types a term and opens a result.

6
00:00:29.928 --> 00:00:33.112
Pause the video and complete the exercise.

7
00:00:38.928 --> 00:00:40.907
Avoid this mistake.

8
00:00:41.047 --> 00:00:44.127
Measuring quality only by test count.

9
00:00:44.267 --> 00:00:47.741
Prefer important behavior and failure coverage.

10
00:00:48.731 --> 00:00:50.566
Check your result.

11
00:00:50.706 --> 00:00:56.035
Each test protects a different meaningful failure instead of repeating the implementation.

12
00:00:56.175 --> 00:01:02.695
Open the lesson below, try the exercise, and mark it complete only after checking the result.
