[No Audio]
Let's take a quick look now and see what's
covered in the course and how it's structured.
So the first section is really
all about covering some foundational theory.
In this section we're going to learn about the core
best practices which we apply to unit tests and get
a foundation of some fundamental concepts we need to
have in mind to be able to write them effectively.
Once we've got that under our belts, we're going to get
up and running so that we can actually use JUnit.
So here we'll see how to create a Java
project which uses JUnit with Maven Gradle.
Then we're going to have a walkthrough of
the project structure so we understand what's in
there and know where to put our tests.
And then we'll just cover some coding
conventions we need to use going forwards.
The next section is all about LEARNING JUNIT itself.
We'll cover the main JUnit concepts and show how they
are used in context as we write some simple test code.
Don't worry, it's going to be super easy to understand
as we show things in context and you'll be able
to retain the concepts in your head that way.
Finally, we'll look at some ADVANCED CONCEPTS.
This includes a look at Hamcrest, which is a
powerful assertions library which comes shipped with
chain in it. We'll also have an introduction to the
concepts of mock objects and mocking in Unit Tests
using Mockito, the number one library for this in Java.
And then we'll wrap up with a look at code coverage.
Since this is used as a popular metric in development
projects, this shows us where we have gaps in our
testing and guides us where we need to add more Unit
Tests. The course is geared to absolute beginners
in JUnit and Unit Testing, although if you've had
some experience of JUnit before, but are still not
sure of things like how to write and structure unit
tests, how assertions work and how to write them,
mocking and mock objects and how that works,
etc.Then this is also a great course for you.
Anyway, that's the other view of the course.
So let's get started.