FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

assertj/assertj-generator: Custom assertions generator · GitHub

Repository files navigation

AssertJ - Assertions Generator

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.

Releases

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL