Improve your coding skills from beginner to expert with the largest online Java e-learning platform

Test Driven Development

with JUnit and Mockito
  • This course covers the fundamentals of test driven development... not just the theory, but how to use it in real world project examples. This includes mocking with Mockito.

Contents -

 

Having problems? check the errata for this course.

1

Introduction


5m 39s
General TDD principles

2

JUnit


12m 48s
An introduction if you haven't used it before

3

First Tests


28m 52s
Getting some basic tests running

4

Practicing the Basics


34m 20s
Some practical work

5

Refactoring


10m 13s
Refactoring is critical stage of TDD - you get the tests working and don't worry so much about the code quality - this is to get the quality of the tests right first. But then you refactor, constantly re-running the tests to ensure you're not breaking things.

6

Best Practices


11m 54s
Some guidelines on what to test

7

Stubs


18m 4s
An introduction to a simple Stub technique

8

Mocks and Mockito


25m 17s
What are Mocks, and the Mockito framework

9

Fakes and Tautologies


26m 15s
Some people refer to Fakes, and we see how to avoid Tautologies

10

Handling Legacy Code


48m 40s
A practical case study where we see how to work with existing code

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube LinkedIn