JUnit 5

JUnit 5 Tutorial: Running Unit Tests With Maven

This blog post describes how we can create a Maven project that can compile and run unit tests which use JUnit 5. After we have finished this blog post, we: Can get the required dependencies with Maven. Understand how we can configure the Maven Surefire Plugin. Know how we can run our unit tests with […] Read more

Writing Tests for Spring MVC Controllers: Test Case 101

The previous part of my new Spring MVC Test tutorial taught us how we can configure the system under test when we are writing unit tests for "normal" Spring MVC controllers. We also learned that if we don't want to add duplicate code to our test classes, we should send HTTP requests to the system […] Read more

Writing Unit Tests for "Normal" Spring MVC Controllers: Configuration

The previous part of my new Spring MVC Test tutorial taught us that we should configure the system under test by using the standalone configuration when we are writing unit tests for Spring MVC controllers. In this blog post, we will put theory into practice. This blog post describes how we can use the standalone […] Read more

Java Testing Weekly 31 / 2019

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