All Projects → assertj → assertj-assertions-generator

assertj / assertj-assertions-generator

Licence: other
Custom assertions generator

Programming Languages

java
68154 projects - #9 most used programming language

AssertJ - Assertions Generator

CI Maven Central

Overview

The Assertions Generator can create specific assertions for your classes. It comes with :

Let's say you have a Player class with name and team properties. The generator will create a PlayerAssert assertions class with hasName and hasTeam assertions. This allows you to write :

assertThat(mvp).hasName("Lebron James").hasTeam("Miami Heat");

Documentation

Please have a look at the complete documentation in the assertions generator section, including a quickstart guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].