“How to TDD in Legacy Code” From JCon 2022

I was honored to come back to JCON, and present “How to TDD in Legacy Code”. In Java of course. Ok, it was in English, the examples were in Java. TDD (Test driven development) is not just new code, you… Continue Reading…

How to TDD A REST API in Python – Python Web Conference 2022

How to TDD a REST API in Python, presented online at Python Web Conference 2022. In this session I show the steps to build an API test-first.

“How to TDD in Legacy Code” Recording from Conf42 Python 2022

Well that’s a new thing! Sort of new. Well, the session is not new. Everybody now does TDD in legacy code. But in Python? Gil, are you saying that you can do these things in Python? Shocked, I tell you.… Continue Reading…

Gil Zilberfeld explains the differences between the APIs for the TDD spring example.

Real Life TDD With Spring – The Road to the First Test III

We’ve come up with a few alternatives for the APIs (their draft version, anyway). I’m going to weigh them here, and remind ourselves – this is the internal API forma, but also has a REST counterpart. Let’s talk about each… Continue Reading…

Gil Zilberfeld describes options for API design for TDD Spring applications

Real Life TDD With Spring – The Road to the First Test II

Last time, we started thinking about considerations for picking the right test to start with. We decided to start with integration tests. So, which cases do we want to cover? Obviously, they should capture the main functionality of the system.… Continue Reading…

Gil Zilberfeld describes the thinking about selecting tests for TDD with Spring

Real Life TDD With Spring – The Road to the First Test I

When we set up the project, we ran a couple of tests (integration and unit) to see if the environment we have runs them. There was no actual logic involved, but we got initial feedback that the platform is ready… Continue Reading…

Gil Zilberfeld describes the initial Spring project, tests and TDD setup

Real Life TDD With Spring – Initial Project Setup

Finally! Actual TDD and code and Spring! Well, we’ll start with Spring first. But first a reminder. We’ve already constrained ourselves with the architecture. This is going to be a web based, REST services based Spring application. In the general… Continue Reading…

Gil Zilberfeld talks about more tdd examples for the Spring microservice project with integration testing

Real Life TDD – Test Case Analysis, Part IV

PM: You know, you could have something built by now. You do call this series “integration testing with Spring TDD” or something. Me: Yeah, and I would probably build something you did not want. Just a few more cases. Remember,… Continue Reading…

Gil Zilberfeld continues exploring test cases for the Spring based calculator application

Real Life TDD – Test Case Analysis, Part III

Product Manager: Man, you still haven’t touched your keyboard? I haven’t seen you doing any Spring or TDD or anything technical yet. Are we going anywhere with this? Me: Of course! It’s calculation time! That’s what you wanted, right? Let’s… Continue Reading…

Gil Zilberfeld continues to discuss TDD test cases for Spring's API testing

Real Life TDD – Test Case Analysis, Part II

So many TDD cases, so many posts. And no Spring in sight yet. I promise, we’ll get there. For now, let’s continue to explore the requirements. Where did we last stop? Pressing any digit key, the display adds that digit… Continue Reading…

Copyright Gil Zilberfeld, 2025