TDD in Legacy Code Outline

Legend

  • ✅ Practical hands-on work (mandatory) - this includes Sandbox Project Tasks

  • 📖 Supplementary reading (optional) - theory, concepts - you can read later

Foundations

Test Pyramid
TDD
Pipeline

Setup Instructions

Phase 1. Pipeline in Legacy Code

Phase 2. Acceptance Test Driven Development (ATDD) in Legacy Code

Smoke Tests
E2E Tests
Acceptance Tests & External System Contract Tests
Acceptance Test Driven Development (ATDD)
Further work on Legacy Code
  • ✅ Comprehensive Acceptance Tests

  • ✅ Comprehensive External System Contract Tests

Phase 3. Component Test Driven Development (CTDD) in Legacy Code

Component Tests & Contract Tests
Component Test Driven Development (CTDD)
  • ✅ Component Test Driven Development (CTDD)

Phase 4. Test Driven Development (TDD) in Legacy Code

  • ✅ Hexagonal Architecture

  • ✅ Unit Testing

  • ✅ Narrow Integration Testing

  • ✅ Test Driven Development (TDD)

  • ✅ Code Coverage & Mutation Testing

  • ✅ Static Code Analysis

Disclaimer: The series outline above is a rough draft. As I write the articles, I may update the outline (and may take into account reader feedback and questions).

Learn in practice

As a Premium Member, I will support you every step of the way.

This Series will provide you with rough guidance. However, as you try to apply it to your project, you may face additional challenges due to real-life complexities.

As a Premium Subscriber, I’ll be your mentor. As you read the series and try some steps, as you face roadblocks or challenges, you can ask me any questions by commenting on the article. Comments are only available to Premium Subscribers.

TDD in Legacy Code - Get Access

You tried TDD in your real-life project, but it didn’t work. You don’t want to waste years with trial-and-error. You don’t want to read hundreds of pages of books. That’s why I made the TDD in Legacy Code series:

✔ Step-by-step guide in introducing TDD to Legacy Code

✔ Applying the TDD transformation to Legacy Microservice Architecture

✔ Ask me questions about the challenges you face applying TDD in Legacy Code

Access now

  1. 🔒Upgrade to premium (annual/monthly) plan to read the TDD in Legacy Code Series, comment and ask questions

  2. If you want to take it to the next level, get my support as you’re implementing, then you can join the Optivem Circle (Annual Membership) to get access to the sandbox review.

Upgraded version: AI-assisted ATDD

Given the rise of AI, I’m also offering an AI-upgraded version. This is currently available only to limited people. Send me a DM for more info.