DEV Community

Discussion on: TDD success/horror stories? #discuss 🙀

Collapse
 
jamesmcmahon profile image
James McMahon

That sounds very validating. How did you test the integrations to other machines?

Collapse
 
stealthmusic profile image
Jan Wedel • Edited

Good question. This project was almost 10 years ago, I have to say can’t recall all the details. But we’ve already had a well defined model for the communication.

However, now I remember one thing that actually didn’t work - because I couldn’t test it. It was the database queries. There had been bugs in the queries itself.
Nowadays, I would simply write integration tests with SpringBoot and test containers to validate the queries.