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…

Join the State of Testing Survey 2018

PractiTest is running the annual State of Testing Survey until the end of January. Go there and give your input!

Gil Zilberfeld talks about using an anti-pattern in Spring integration tests where flags are used in the tests for mocking and controlling simulators

Integration Testing with Spring: Configuration Logic in Integration Tests

Now that we’ve covered some of Spring capabilities, we can explore possibilities beyond simple mocking. Instead of “regular” mocks (that we can set up in the integration tests), we can inject actual simulators. For our purpose, let’s define a simulator… Continue Reading…

Copyright Gil Zilberfeld, 2025