Programming / Testing

Writing Unit Tests With Spock Framework: Introduction to Specifications, Part Two

The previous part of this tutorial described the structure of a Spock specification and helped us to write our first specification. Although it is important to understand the basics, our specifications are not very useful because we don't know how we can describe the expected behavior of the system under specification. This blog post fixes […] Read More

Writing Unit Tests With Spock Framework: Introduction to Specifications, Part One

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

What Prevents You From Writing Automated Tests?

If you read my blog on a regular basis, you have probably noticed that I have written many tutorials about automated testing. The problem is that some of these tutorials are quite old and outdated, and that is why I am going to update them. Here's where you come in. Before I can help you […] 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

Get practical tips and tutorials on test automation, Spring, and software development in your inbox. You’ll also never miss a new blog post. You can unsubscribe at any time.

My privacy policy identifies the information which I collect if you subscribe my email newsletter and describes how I use the collected information.