Test Driven Development

Duration: 24 Hours
Pattern figure


Test Driven Development with Java Training course teaches the popular and productive Test Driven Development (TDD) techniques in the context of Java. This course helps participants to learn how to write reliable bug-free applications using Test Driven Development. This hands-on course brings together a variety of techniques strategies and patterns of Test Driven Development. The course will practically introduce refactoring that lead to better and reliable designs and code and also introduce a number of testing patterns and strategies.

What You'll Learn

At the end of Test Driven Development for Java\/JEE Applications training course, participants will be able to:
  • Apply Test Driven Development with Eclipse
  • Identify tests
  • Organize and execute tests leading to clear designs and reliable code
  • Extract “bad smells” and refactor code and tests
  • Extract maximum value out of the Eclipse for Test Driven Development
  • Suggested Audience
  • Java Developers
  • Designers
  • Architects
  • Consultants
Duration: 24 Hours


  • Philosophy of Developer Unit Testing
  • Anatomy of Unit Testing Framework
  • Automated Tests
  • Overview of xUnit
  • Levels of Testing

  • Common Code Smells
  • Dealing with Code Smells

  • Purpose of Refactoring
  • Refactoring Patterns
  • Using Automated Refactoring

  • Introduction to TDD
  • Test First Vs Test Last
  • TDD Rhythm: Red, Green, Refactor
  • Crucial Design Principles
  • Driving Design using TDD
  • Different Styles of TDD

  • Driving Implementation and Design from Scenarios
  • Application Development from scratch using Scenarios
  • Crafting acceptance criteria for user stories
  • Writing executable examples for each criteria
  • Documenting Scenarios with Gherkin
  • Demo of BDD frameworks (Cucumber, FitNesse, Spec Flow, Jasmine)
  • Automation Hazards
  • Safe Automation Practices

  • Test Doubles/Fakes – Stubs, Mocks, Spy, Simulators…
  • TDD in Legacy Code
  • Breaking Dependencies in Legacy Code
  • Patterns for writing effective tests
Ripple wave


Attendees must be proficient in Java.

Interested in this Course?

    Ready to recode your DNA for GenAI?
    Discover how Cognixia can help.

    Get in Touch
    Pattern figure
    Ripple wave