Test-Driven Development Workshop with Java


Test-Driven Development Workshop with Java

Test-Driven Development (TDD) is a design engineering process that relies on a very short development cycle. A TDD approach to software development requires a thorough review of the requirements or design before any functional code is written. The development process is started by writing the test case, then the code to pass the test and then refactoring until completion. 

Benefits of a TDD approach to software engineering include: 

  • Faster feedback
  • Higher Acceptance
  • Avoids scope creep and over engineering
  • Customer centric and iterative
  • Leads to modular, flexible, maintainable code 

This three-day course is a deep dive in to TDD that incorporates the steps that are necessary for effective implementation. You will cover unit tests, user stories, design, refactoring, frameworks, and how to apply them to existing solutions. In addition, this course explores the implications of code dependencies, fluid requirements, and early detection of issues. This is an interactive class with hands-on labs. To get the most out of this course, you are encouraged to fully participate. This course demonstrates the skills developers and teams need for building quality applications sustainably, with quality, for the life of the code base. 

Note: A PC or Mac is required for this class to access remote labs.

  • Provide knowledge and understanding of unit testing principles and practices
  • The role of unit testing in software development and testing
  • Write effective unit testing
  • Properties of effective unit tests
  • How to use mock objects to isolate the "system under test"
  • Effective refactoring of the code base
  • Benefits of the test-first and test-driven development (TDD)
  • Techniques and practices to aid in the successful adoption of TDD
  • How to use acceptance testing and behavior-driven development to further advance TDD

  • Software developers and programmers
  • Agile practitioners
  • Quality assurance professionals
  • Software testers
  • Product owners
  • Project managers
  • IT managers
  • Software engineers


1. Agile Overview

  • What is Agile Software Development
  • Components of Agile
  • The Role of TDD in Agile Development
  • Benefits of Agile Development
  • Becoming Agile 

2. Principles of Agile Development

  • Design Principles Overview
  • Coding Principles 

3. Unit Testing

  • Unit Test Fundamentals
  • Advanced Unit Testing
  • Frameworks
  • Test Runners
  • Advanced Test Attributes 

4. Test Driven Development

  • TDD Rhythm
  • Sustainable TDD
  • Supporting Practices
  • Pair Programming
  • Pairing Techniques
  • Eight Wastes of Software Development
  • Test Automation 

5. Refactoring

  • Why Refactor?
  • Refactoring Methods
  • Refactoring Cycle 

6. Pair Programming

  • Pair Programming
  • Advantages of Pairing
  • Pairing Techniques 

7. Acceptance Testing and BDD

  • Acceptance Testing
  • Best Practices for Effective Testing
  • BDD vs. ATDD 

8. Principles and Benefits

  • Consequences of no Testing
  • TDD Solutions 

9. Unit Test Examples

  • Queues and Stacks
  • Unit Test Examples
  • Advanced Refactoring 

10. Testing for Non-Developers

  • FIT and Fitnesse
  • Additional TDD Considerations

Upcoming Classes

Dates Location GTR  
Nov 1-3 (8:30am-4:30pm) EDT


Whether you need assistance scheduling a class for yourself or for your group, GCA's Education Account Manager's will craft a customized training solution to meet the needs of your organization.