May 23, 2018
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…
May 23, 2018
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…
April 8, 2022
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…
April 11, 2018
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…
March 28, 2018
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…
March 21, 2018
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…
March 14, 2018
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…
March 7, 2018
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…
February 28, 2018
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…
December 16, 2018
April 9, 2020
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…