• Spring Boot and Gradle: Separating tests

    In this post I will present 4 different approaches to separating unit tests from integration tests, so that they can be run independently of each other. Here’s the 4 different approaches: Separation based on name patterns Separation based on JUnit categories Separation based on Spring’s @IfProfileValue Separation based on different source directories These approaches can easily be extended to apply… Continue Reading

  • Spring Boot 1.4: Gherkin tests

    In this post I show how you can implement Gherkin tests for Spring Boot 1.4.1. Here is an example of a Gherkin based test script: The Feature, Scenario, Scenario Outline, Given, When, Then and And constructs are part of the Gherkin test language [1]. Such tests are popular in Behavior-driven development (BDD) and is meant as a common tool between… Continue Reading