1 00:00:00,400 --> 00:00:01,900 The ultimate goal for 2 00:00:01,900 --> 00:00:05,920 testing is to introduce the concept of continuous deployment. 3 00:00:06,920 --> 00:00:11,950 Even though this could fill up an entire course, I'll give you a quick summary. 4 00:00:11,950 --> 00:00:16,990 Continuous deployment is the idea that every time a developer makes changes to 5 00:00:16,990 --> 00:00:23,100 the code, automated systems grab those changes, tests are run on the code, 6 00:00:23,100 --> 00:00:28,438 and if everything passes, the code is automatically deployed to production. 7 00:00:28,438 --> 00:00:31,300 If the tests fail, the code is rejected and 8 00:00:31,300 --> 00:00:35,740 your production environment is protected from those errors. 9 00:00:35,740 --> 00:00:39,910 Because PHPUnit is so heavily focused on the command line, 10 00:00:39,910 --> 00:00:43,480 running the test themselves can be easily automated. 11 00:00:43,480 --> 00:00:48,020 After all, computers are much better at doing the same thing over and 12 00:00:48,020 --> 00:00:51,750 over and over again than humans are. 13 00:00:51,750 --> 00:00:54,608 So why not get a computer to do it for you so 14 00:00:54,608 --> 00:00:58,327 that you can concentrate on more important things? 15 00:00:58,327 --> 00:01:02,870 PHPUnit is a powerful tool, and there's much more that we could cover. 16 00:01:02,870 --> 00:01:07,210 There are also other methods of testing and other tools used for those tests. 17 00:01:07,210 --> 00:01:10,111 When you're ready to explore more testing, 18 00:01:10,111 --> 00:01:14,700 check the notes associated with this video for additional resources. 19 00:01:14,700 --> 00:01:18,436 Until then, have fun making the world and your code a better place.