Test Driven Development in Java

Current Virtual Trainings offered on O'Reilly Safari

What it Entails

Day One

Introduction to TDD (30 minutes)

  • What is TDD
  • What are the benefits
  • What are the disadvantages

Efficient Programming (30 minutes)

  • The 3 Laws of TDD
  • Level of Testing
  • Test Pyramid

Discussion: If TDD failed why? (5 minutes)

Break (10 minutes)

Recommended IDE Setup (15 minutes)

  • Mastering your tools
  • Tools for Eclipse
  • Tools for IntelliJ IDEA

Group Project: Caesar Cipher (30 minutes)

Break (10 minutes)

Group Project: Caesar Cipher (40 minutes)

Homework: FizzBuzz

Day Two

Introduction to Mocking(40 minutes)

  • Unit Testing Isolation
  • Google's Guide to Testability
  • EasyMock
  • Mockito
  • Java 8 Functions

Group Project: Checkout Books (50 minutes)

Break (10 minutes)

Group Project: Checkout Books (50 minutes)

Break (10 minutes)

Q&A (5 minutes)

Conclusion (5 minutes)

Scheduled Trainings