Provides a set of useful Hamcrest matchers for operating on Vavr values.
This makes it possible to easily define Hamcrest-style assertions on types such as
Option<T>
or Try<T>
.
This project is published on Jitpack.
Add this to your pom.xml
:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>in.tazj</groupId>
<artifactId>vavr-matchers</artifactId>
<version>1.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Consult the documentation for usage instructions. Most of it should be pretty self-explanatory.
File issues and feature requests if you have any!