Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

tazjin/vavr-matchers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vavr Hamcrest matchers

Build Status

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

Installation

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>

Usage

Consult the documentation for usage instructions. Most of it should be pretty self-explanatory.

File issues and feature requests if you have any!