• 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

  • Arquillian: Testing legacy applications

    This post describes a technique that my previous colleagues and I successfully used for integration testing a large and complex legacy Java EE 7 application (EAR file). The tests were successfully implemented using Arquillian along with a few WildFly tricks. Just want to see the solution? Then skip the next section, Background, and go straight to the section, Solution: Privileged anemic test… Continue Reading