AssertJ
-
Core Java
Modern Java Testing Frameworks: Exploring JUnit 5, Mockito, and AssertJ
Testing is a crucial aspect of software development that ensures code reliability and functionality. In Java, several powerful testing frameworks…
Read More » -
Core Java
AssertJ Ignore Fields Comparison Example
1. Introduction AssertJ is a fluent assertion library for Java. It’s open-source and supported by the AssertJ team under Apache…
Read More » -
Core Java
Unleash the Power of AssertJ: Make Your Unit Tests Crystal Clear
Unit tests are the superheroes of the coding world, ensuring your code works as intended. But writing clear and concise…
Read More » -
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 »
- 1
- 2