Take your programming skills to the next level with our Java e-learning programme

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 -

 

1

Introduction


5 m 39 s
General TDD principles

2

JUnit


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

3

First Tests


28 m 52 s
Getting some basic tests running

4

Practicing the Basics


34 m 20 s
Some practical work

5

Refactoring


10 m 13 s
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


11 m 54 s
Some guidelines on what to test

7

Stubs


18 m 4 s
An introduction to a simple Stub technique

8

Mocks and Mockito


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

9

Fakes and Tautologies


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

10

Handling Legacy Code


48 m 40 s
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