A lightweight and simpler derivate of assertj.
AssertJ is great, one of the first dependencies I add to any new JVM project.
But assertj is not always allowed, please do not ask me why, but some companies have the wrong kind of paranoia when it comes to importing external dependencies.
So I developed a very lightweight subset of assertj, but with the expect idiom,
like jest. I feel that expecting something is more applicable to comparing expected results with the actual outcome of actions.
Check the *Tests. It should get you started and will include more elaborate examples of what can be done with grex.
Eventually real documentation will be added to this project, but at this time the status of the project makes documentation seem a bit premature.
<dependency>
<groupId>org.vorticoso</groupId>
<artifactId>grex</artifactId>
<version>LATEST_VERSION</version>
</dependency>Replace LATEST_VERSION with the version shown in the badge above, or check the GitHub Packages repository for available versions.
Unfortunately the GitHub API for packages is badly documents so that automatically retrieving the latest version is not possible. Sigh.