The previous part of this tutorial taught us to pass method parameters to our query methods and described what kind of values we can return from them. This blog post describes how we can create query methods by using the query generation from the method name strategy. We will also implement a simple search function […] Read More
Programming
12 Tools That I Use for Writing Unit and Integration Tests
I think that software development is more than just a job. I see myself as an artisan who is trying to get better every day. The "easiest way" to do this is to find a few good tools and find the answers to these questions: When should I use the tool X? How should I […] Read More
Spring Data JPA Tutorial: Introduction to Query Methods
Earlier we created our first Spring Data JPA repository that provides CRUD operations for todo entries. Although that is a good start, that doesn't help us to write real life applications because we have no idea how we can query information from the database by using custom search criteria. One way to find information from […] Read More
Getting Started With Gradle: Integration Testing With the TestSets Plugin
My previous blog post described how we can add integration tests to our Gradle build. A few days after I had published that blog post, I learned that we don’t have to do everything from the scratch ( thanks David) because we can simplify our build script by using the Gradle TestSets plugin. This blog […] Read More
Getting Started With Gradle: Integration Testing
Because the standard project layout of a Java project defines only one test directory ( src/test), we have no standard way to add integration tests to our Gradle build. If we want to use the standard project layout, we can add integration tests to our Gradle build by using one of the following options: We […] Read More
Spring From the Trenches: Returning Git Commit Information as JSON
There are situations when we must know the exact version of our web application that is deployed to a remote server. For example, a customer might want to know if we have already deployed a bug fix to the server X. We can, of course, try to find an answer to that question by using […] Read More