It looks soooo basic that the Spring documentation thought it deserves one single row of text – which I quote here:Continue reading
Let’s say you had this web application with nice unit tests covering the backend calculations, where people keep calling wrong calculations from the frontend. Microservices or not, it happens, so you’ll need proper integration testing. Let’s say the integration testing is a well documented but tedious two days job of clicking around. Understandably, everybody does their best to avoid it…
My answer was: how about we rewrite the integration test scenarios in the Gherkin almost-human-readable language, so we can use Cucumber to run them automated, simulating with Selenium the user browser actions! The supporting stack will be Java and Spring, actually Spring Boot, because you know all I have is a hammer….
(this is the first half of a two-part exercise, the second can be read here)
1 Before starting
1.1 Why all this?
I was never a great fan of Spring. Not a hater either, it just happened it came more often than not into my ways. On the other hand, I got to really appreciate Spring Roo for its scaffolding feature and thus the possibility to jumpstart a demo application in minutes. Continue reading