Skip to content

assertj/assertj-arrow-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Version GitHub Workflow Status (with branch) Maven Central GitHub release (latest by date) javadoc ktlint

assertj-arrow-core

This project provides a set of AssertJ assertions for the Arrow library. In detail, the project provides assertions for the following Arrow types:

  • Either<E, A>
  • Option<A>
  • Raise<E>.() -> A

Maybe you're asking yourself: "Why do we need AssertJ assertions for Arrow types?". The answer is simple: We often use Kotlin and Arrow Kt inside a Java project using Spring Boot. In this case, we already have AssertJ in the classpath as an assertion library. So, why not use it to assert Arrow types?

Usage

The library is available on Maven Central. To use it, add the following dependency to your pom.xml file:

<dependency>
  <groupId>in.rcard</groupId>
  <artifactId>assertj-arrow-core</artifactId>
  <version>1.0.0</version>
  <scope>test</scope>
</dependency>

About

Assertions for Types Defined in Arrow Kt Core LIbrary

Topics

Resources

License

Stars

Watchers

Forks

Contributors 6

Languages