Unit Testing

Unit Testing

Learn and practice to unit test software in bite-sized lessons, with lots of practice.

1

Get Inspired

See what is possible.

2

The Basics

Get started unit testing.

3

Good Tests

So we can create unit tests now, but what makes good unit tests.

4

Assertions

Let’s get better at asserting the expected behavior our unit tests impose on our application code.

5

Test Doubles

But wait, how do we deal with external dependencies our application code has that we don’t have in our development environment, like we do in production?

6

Mocks

Let’s get better at one particular type of test double called a mock that is very useful.

7

Test-Driven Development (TDD)

How do we ensure we build this safety net around our application code and ensure we write just enough application code to meet our needs, no more, no less.

8

Mutation Testing

How do I systematically make sure our unit tests are sufficient and of quality?

9

More Practice

I’ve learn all this stuff, but I need more practice.