Moving on to Assertj assertions – beginner examples

Assertj examples This post describes the use of a relatively new but a fluent assertion library, Assertj. 1. Introduction Assertj provides simple yet effective way to assert your tests. It provides a powerful mechanism to make your assertions compact and readable. 2. Dependencies Add the following dependency to your project. Gradle: [code language=”plain”] testCompile ‘org.assertj:assertj-core:3.5.2’ […]

Continue reading