1 00:00:06,660 --> 00:00:09,120 - Hello again, and welcome to lesson seven. 2 00:00:09,120 --> 00:00:10,380 This lesson describes how 3 00:00:10,380 --> 00:00:13,620 to apply test-driven development techniques effectively 4 00:00:13,620 --> 00:00:16,110 when you're testing JavaScript code. 5 00:00:16,110 --> 00:00:18,690 We'll explain the core concepts of TDD first, 6 00:00:18,690 --> 00:00:20,280 and we'll walk through an example 7 00:00:20,280 --> 00:00:23,193 of how to do a TDD in practice in JavaScript. 8 00:00:24,120 --> 00:00:26,550 Then we'll see how to refactor JavaScript code 9 00:00:26,550 --> 00:00:30,273 as we go along, which is an important ingredient in TDD. 10 00:00:31,710 --> 00:00:33,000 We wrap up the lesson 11 00:00:33,000 --> 00:00:35,670 by discussing various additional techniques 12 00:00:35,670 --> 00:00:37,110 and best practices 13 00:00:37,110 --> 00:00:40,203 for writing high-quality tests in JavaScript.