AssertJ
-
Enterprise Java
All Your Tests Belong to You: Maintaining Mixed JUnit 4/JUnit 5 and Testng/JUnit 5 Test Suites
If you are seasoned Java developer who practices test-driven development (hopefully, everyone does it), it is very likely JUnit 4…
Read More » -
Enterprise Java
Clean Code from the Trenches – Writing Executable Specifications with JUnit 5, Mockito, and AssertJ
Executable Specifications are tests that can also serve as design specifications. They enable technical and business teams to get on…
Read More » -
Core Java
JUnit 5 meets AssertJ
JUnit 5 brings a lot of improvements in the assertions library, mainly thanks to Java 8 and Lambda Expression support…
Read More » -
Core Java
Modern TDD-oriented Java 8 JUnit test template for Idea (with Mockito and AssertJ)
Tune up your JUnit test class template for Idea with the BDD-like syntax, Java 8 and the Mockito-AssertJ duo. Topics…
Read More » -
Core Java
AssertJ’s SoftAssertions – do we need them?
One of the rules of writing good unit test is that it should fail for one reason, so unit test…
Read More » -
Core Java
JUnit: Testing Exceptions with Java 8 and AssertJ 3.0.0
AssertJ 3.0.0 release for Java 8 makes testing exceptions much easier than before. In one of my previous blog post…
Read More » -
Core Java
Java 8 Friday: Most Internal DSLs are Outdated
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Core Java
Spice up your test code with custom assertions
Inspired by the @tkaczanowski talk during GeeCON conference I decided to have a closer look at custom assertions with AssertJ…
Read More » -
Core Java
Using AssertJ and Awaitility together thanks to Java 8 and lambdas
AssertJ and Awaitility are two of my favorites tools using in automatic code testing. Unfortunately until recently it was not…
Read More »