Course
Skills Expanded
Test-Driven Development Practices in Java
This course covers Test-Driven Development (TDD) practices, and tools supporting TDD on the Java Platform.
What you'll learn
This course covers Test-Driven Development (TDD) practices and tools supporting TDD on the Java Platform. This includes information on JUnit, Mockito, PowerMock, and DBUnit.
Table of contents
Overview of Practices, Principles, and Tools
20mins
Required Setup
7mins
JUnit Overview and Demonstrating Red / Green / Refactor
29mins
Basic Features of Mockito
28mins
Mockito Feature Deep-Dive
37mins
- Module Overview 1m
- Argument Matching 5m
- Stubbing Consecutive Calls 1m
- Demo - Stubbing Consecutive Calls 3m
- Verification Order 1m
- Capturing Arguments 1m
- Demo - Capturing Arguments 3m
- Partial Mocks 5m
- When Mockito is not Enough - PowerMock 1m
- Mocking Static Method Invocations 5m
- Replacing Object Instantiation 5m
- Stubbing Final & Private Methods 3m
- Whitebox Test Utility Class 2m
- Summary 2m
Fixture Management & Data Component Testing
49mins