JUnit
-
Core Java
How to Replace Rules in JUnit 5
The recently published JUnit 5 (aka JUnit Lambda) alpha release caught my interest and while skimming through the documentation I…
Read More » -
Core Java
Improve Your JUnit Experience with this Annotation
JUnit is probably part of 90% of all Java projects. And the exciting thing is, we’ll soon have JUnit 5…
Read More » -
Core Java
JUnit 5 – Basics
Last week we’ve set up JUnit 5 to be able to write tests. So let’s do it! Overview This post…
Read More » -
Core Java
JUnit 5 – A First Look at the Next Generation of JUnit
In the beginning of February, the JUnit 5 (aka JUnit Lambda) team has published an alpha release. Since JUnit 4 is among…
Read More » -
Core Java
JUnit 5 – Setup
In November 2015 the JUnit Lambda team presented their prototype. Since then the project rebranded itself as JUnit 5 and…
Read More » -
Core Java
Use JUnit’s expected exceptions sparingly
Sometimes, when we get pull requests for jOOQ or our other libraries, people change the code in our unit tests…
Read More » -
Core Java
Introduction in Java TDD – part 1
Welcome to an introduction in Test Driven Development (TDD) series. We will talk about Java and JUnit in context of…
Read More » -
Core Java
Test Doubles: mocks, dummies and stubs
Most classes have collaborators. When unit testing, you usually want to avoid using real implementations of those collaborators to avoid test…
Read More » -
Enterprise Java
Clean Integration Testing with JUnit Rules
The benefits of JUnit Rules, especially when dealing with integration testing, can hardly be overrated. In this post, we’ll shine…
Read More »