Skip to content

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GReat EXpectations (grex)

A lightweight and simpler derivate of assertj.

Status

CI

Why?

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.

Getting started

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.

Maven

<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.

About

GReat Expectations (grex) is a lightweight subset of assertj but with jest-like idiom

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages