1 00:00:00,000 --> 00:00:02,049 [No Audio] 2 00:00:02,049 --> 00:00:03,766 Let's take a quick look now and see what's 3 00:00:03,766 --> 00:00:05,878 covered in the course and how it's structured. 4 00:00:05,878 --> 00:00:07,304 So the first section is really 5 00:00:07,304 --> 00:00:09,670 all about covering some foundational theory. 6 00:00:09,670 --> 00:00:11,554 In this section we're going to learn about the core 7 00:00:11,554 --> 00:00:14,036 best practices which we apply to unit tests and get 8 00:00:14,036 --> 00:00:16,352 a foundation of some fundamental concepts we need to 9 00:00:16,352 --> 00:00:18,982 have in mind to be able to write them effectively. 10 00:00:18,982 --> 00:00:21,056 Once we've got that under our belts, we're going to get 11 00:00:21,056 --> 00:00:23,698 up and running so that we can actually use JUnit. 12 00:00:23,698 --> 00:00:25,546 So here we'll see how to create a Java 13 00:00:25,546 --> 00:00:27,838 project which uses JUnit with Maven Gradle. 14 00:00:27,838 --> 00:00:29,096 Then we're going to have a walkthrough of 15 00:00:29,096 --> 00:00:31,196 the project structure so we understand what's in 16 00:00:31,196 --> 00:00:33,214 there and know where to put our tests. 17 00:00:33,214 --> 00:00:34,594 And then we'll just cover some coding 18 00:00:34,594 --> 00:00:36,766 conventions we need to use going forwards. 19 00:00:36,766 --> 00:00:39,512 The next section is all about LEARNING JUNIT itself. 20 00:00:39,512 --> 00:00:42,345 We'll cover the main JUnit concepts and show how they 21 00:00:42,345 --> 00:00:44,876 are used in context as we write some simple test code. 22 00:00:44,876 --> 00:00:47,276 Don't worry, it's going to be super easy to understand 23 00:00:47,276 --> 00:00:49,482 as we show things in context and you'll be able 24 00:00:49,496 --> 00:00:51,870 to retain the concepts in your head that way. 25 00:00:51,870 --> 00:00:54,082 Finally, we'll look at some ADVANCED CONCEPTS. 26 00:00:54,082 --> 00:00:55,976 This includes a look at Hamcrest, which is a 27 00:00:55,976 --> 00:00:58,126 powerful assertions library which comes shipped with 28 00:00:58,126 --> 00:01:00,476 chain in it. We'll also have an introduction to the 29 00:01:00,476 --> 00:01:02,909 concepts of mock objects and mocking in Unit Tests 30 00:01:02,909 --> 00:01:06,046 using Mockito, the number one library for this in Java. 31 00:01:06,046 --> 00:01:08,086 And then we'll wrap up with a look at code coverage. 32 00:01:08,086 --> 00:01:10,319 Since this is used as a popular metric in development 33 00:01:10,319 --> 00:01:12,669 projects, this shows us where we have gaps in our 34 00:01:12,669 --> 00:01:15,177 testing and guides us where we need to add more Unit 35 00:01:15,177 --> 00:01:17,710 Tests. The course is geared to absolute beginners 36 00:01:17,710 --> 00:01:20,036 in JUnit and Unit Testing, although if you've had 37 00:01:20,036 --> 00:01:22,069 some experience of JUnit before, but are still not 38 00:01:22,069 --> 00:01:24,169 sure of things like how to write and structure unit 39 00:01:24,169 --> 00:01:26,585 tests, how assertions work and how to write them, 40 00:01:26,585 --> 00:01:29,069 mocking and mock objects and how that works, 41 00:01:29,069 --> 00:01:31,712 etc.Then this is also a great course for you. 42 00:01:31,712 --> 00:01:33,380 Anyway, that's the other view of the course. 43 00:01:33,380 --> 00:01:34,614 So let's get started.