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…

Gil Zilberfeld explains TDD test case analysis and planning

Real Life TDD – Test Case Analysis, Part I

It is customary to think that in TDD we run ahead and just write tests. Not today, Spring will have to wait. Let’s break down the requirement into test cases, so we can understand them better. Buckle your seat belts,… Continue Reading…

Gil Zilberfeld talks about the calculator requirements for the Spring TDD project

Real World TDD with Spring – The Requirements

Most TDD examples start out with a calculator. Ours will start here as well. But we’re not going to write a test for “2+2”. No sir, we’re going to test drive the calculator display. But what does it actually do?… Continue Reading…

Gil Zilberfeld talks about real world TDD (test driven development) on the Spring framework on microservices

Real World TDD With Spring – Introduction

I’ve been working with teams who use Spring as the basis of their programming for some time now. Spring, many times as a microservices development and runtime framework. Luckily (or not) they want to incorporate TDD (Test driven development) into… Continue Reading…

Copyright Gil Zilberfeld, 2025