Craftsmanship training

Logo Test Driven Development

Training Test Driven Development

Test Driven Development with Java

Duration 2 days Get a quote
On-site icon On-site
Certifying icon Program

Different types of tests

  • Unit tests
  • Integration tests
  • Functional tests
  • Performance tests

Test doubles

  • Dummy
  • Stub
  • Spy
  • Mock
  • Fake
  • Summary

Test Coverage

  • Metric
  • Mutation Testing

TDD principles

  • Origin and Extreme Programming
  • TDD cycle
  • Emerging design
    • YAGNI Principle
    • Design Patterns

Building Maintainable tests

  • Configuration
  • Test fixtures
  • Naming classes & methods

SOLID principles in the context of TDD

  • Single Responsibility Principle (SRP)
  • Open/Close Principle (OCP)
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Legacy Code & Refactoring

  • What is a legacy code ?
  • Why do I need to refactor ?
  • When is refactoring needed ?
  • How to apply TDD in legacy code ?

What's Next?

  • Behaviour Driven Development
  • Acceptance Test Driven Development
  • Kata & Coding Dojo
  • Continuous integration