Optivem Journal

Optivem Journal

Test Driven Development

TDD in Legacy Code - Component Tests - Backend

How can Backend & Frontend teams get isolated feedback whether their part works, without waiting for the slow Acceptance Tests?

Valentina Jemuović's avatar
Valentina Jemuović
Oct 23, 2025
∙ Paid
3
1
2
Share

🚀 Join the ATDD Accelerator waitlist


🔒 Hello, this is Valentina with a premium issue of the Optivem Journal. I help Engineering Leaders & Senior Software Developers apply TDD in Legacy Code.


Testing the Frontend in isolation

Previously, in Frontend Component Tests in Legacy Code, we saw that the Frontend team can get feedback whether the Frontend works in isolation, by stubbing out the Backend. This means they don’t have to wait for the Backend team.

Testing the Backend in isolation

Similarly, the Backend team can get feedback whether the Backend works in isolation, by stubbing out External Systems. Backend Component Tests are independent of Frontend Component Tests, hence can be written in parallel.

Here are the steps to introduce Backend Component Tests in Legacy Code. You’ll get tasks to implement in your GitHub Sandbox Project. ⬇️⬇️⬇️

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Valentina Jemuović, Optivem
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture