Spock Framework

Java Testing Weekly 3 / 2016

There are many software development blogs out there, but many of them don't publish testing articles on a regular basis. Also, I have noticed that some software developers don't read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided […] Read more

Java Testing Weekly 2 / 2016

There are many software development blogs out there, but many of them don't publish testing articles on a regular basis. Also, I have noticed that some software developers don't read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided […] Read more

When we are writing unit tests with Spock Framework, we have to create so called specifications that describe the features of our application. This blog post provides an introduction to Spock specifications, and will help us to create our first specification and understand its structure. Let's start by creating our first Spock specification. Additional Reading: […] Read more

Writing Unit Tests With Spock Framework: Creating a Gradle Project

The Spock Framework is a testing and specification framework for Java and Groovy applications. Its website make a somewhat bold claim: What makes it stand out from the crowd is its beautiful and highly expressive specification language. Before we can verify if this claim is true, we have to create an example project that we […] Read more

Writing Unit Tests With Spock Framework: Creating a Maven Project

The Spock Framework is a testing and specification framework for Java and Groovy applications. Its website make a somewhat bold claim: What makes it stand out from the crowd is its beautiful and highly expressive specification language. Before we can verify if this claim is true, we have to create an example project that we […] Read more