AI and TDD – Delivering Perfect Quality

Main Speaker

Learning Tracks

Course ID

42904

Date

21-06-2026

Time

Daily seminar
9:00-16:30

Location

Daniel Hotel, 60 Ramat Yam st. Herzliya

Overview

Test-Driven Development (TDD) and Unit Testing (UT) are proven techniques for building well-designed, maintainable software through test-first development, isolation and continuous refactoring.
Practices such as mocking, dependency injection and testing code are essential for real-world systems and for improving design safely.
AI assistants significantly accelerate test creation, mocking and refactoring. At the same time, TDD and Unit Tests act as the primary safety mechanism that allows AI-assisted code changes to be applied with confidence.
This seminar focuses on both directions:
  • How AI improves TDD
  • How TDD safeguards AI-driven development

Who Should Attend

Software developers, tech leads, architects and QA engineers with OO experience.  

Prerequisites

Experience with C#, Java, C++, Node (TypeScript) or Python.

Course Contents

Part 1 – TDD and UT Foundations
  • TDD Essentials
    • What TDD is (and is not)
    • The TDD cycle: Red → Green → Refactor
    • Live TDD demonstration
    • Benefits, costs, and realistic expectations
    • TDD as a foundation for Agile and CI/CD
 
  • Unit Testing Basics
    • Testing types and levels
    • What defines a “unit”
    • Black-box vs. white-box testing
    • Unit testing frameworks overview
 
  • Mocks, Dependency Injection, and Design
    • Why isolation is critical in unit testing
    • Mocks, stubs, fakes, and spies
    • Mocking frameworks (Mockito, GoogleMock, others)
    • Dependency Injection as an enabler for testability
    • How unit tests force better design
 
  • Unit Testing Legacy Code
    • Risks of changing untested systems
    • Creating regression tests
    • Using tests to enable refactoring legacy code
    • Improving design after tests exist
    Part 2 – Modern Unit Testing and AI
  • AI Improving TDD
    • Where AI fits naturally into TDD workflows
    • Using AI to:
      • Generate unit tests and speed up development
      • Write tests first from requirements
      • Create mocks and test doubles, helpers and fixtures
    • Increasing coverage and scenario depth with AI
 
  • TDD Safeguarding AI
    • The dangers of AI generated code
    • Using unit tests as guardrails for AI changes
    • Validating AI-generated tests and implementations
    • Keeping AI inside defined behavioral boundaries
 
  • AI and Legacy Code
    • Understanding legacy code with AI assistance
    • Generating characterization tests with AI
    • Improving legacy code testability using AI
    • Safely modifying legacy code:
      • AI proposes changes
      • Unit tests verify behavior
    • Using tests to control AI-driven refactoring
 
  • Specialized AI Techniques for Unit Testing
    • Using AI as a TDD scratch pad
    • Prompting for test-first behavior
    • Iterative Red → Green → Refactor with AI
    • Integrating UT runs into AI modification cycles
 

The conference starts in

Days
Hours
Minutes
Seconds