
Enables seamless integration with Arrow, providing specialized matchers, property-based testing support, and combinators for functional programming constructs, enhancing test capabilities and reducing dependency conflicts.
Kotest extension for Arrow.
See docs.
Please create issues on the main kotest board.
depedencies {
implementation("io.kotest.extensions:kotest-assertions-arrow:<version>")
implementation("io.kotest.extensions:kotest-assertions-arrow-fx-coroutines:<version>")
}for property-based testing:
dependencies {
implementation("io.kotest.extensions:kotest-property-arrow:<version>")
// optional: the following includes optics related Laws
implementation("io.kotest.extensions:kotest-property-arrow-optics:<version>")
}to depend on snapshot releases add the snapshot repository url:
repositories {
//...
maven {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}Note:
Please add io.arrow-kt:arrow-core:arrow-version, io.arrow-kt:arrow-fx-coroutines:arrow-version or io.arrow-kt:arrow-optics:arrow-version, if they're missing in your classpath.
Otherwise, it will lead to unresolved Reference errors.
In the form of: "Cannot access class arrow.core.Either Check your module classpath for missing or conflicting dependencies."
The project is not shipping the arrow jars because this leads to dependency conflicts and further adjusting the dependency graph.
Ior matchers.Resource and ExitCase
Either.rethrow
1.2.1 and 1.2.0
kotest-assertions-arrow, kotest-property-arrow and kotest-property-arrow-optics
#2670 Replace explicit usage of eq with should be from kotest assertion coretestLaws has RootScope as a receiver instead of RootContext
kotest-assertions-arrow
Note that from this release, the minimium requirements are Kotest 5.0+ and Kotlin 1.6
kotest-property-arrow and kotest-property-arrow-optics for property-based testing with Arrowkotest-assertions-arrow
io.kotest.assertions.arrow.core
io.kotest.assertions.arrow.core
Kotest extension for Arrow.
See docs.
Please create issues on the main kotest board.
depedencies {
implementation("io.kotest.extensions:kotest-assertions-arrow:<version>")
implementation("io.kotest.extensions:kotest-assertions-arrow-fx-coroutines:<version>")
}for property-based testing:
dependencies {
implementation("io.kotest.extensions:kotest-property-arrow:<version>")
// optional: the following includes optics related Laws
implementation("io.kotest.extensions:kotest-property-arrow-optics:<version>")
}to depend on snapshot releases add the snapshot repository url:
repositories {
//...
maven {
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}Note:
Please add io.arrow-kt:arrow-core:arrow-version, io.arrow-kt:arrow-fx-coroutines:arrow-version or io.arrow-kt:arrow-optics:arrow-version, if they're missing in your classpath.
Otherwise, it will lead to unresolved Reference errors.
In the form of: "Cannot access class arrow.core.Either Check your module classpath for missing or conflicting dependencies."
The project is not shipping the arrow jars because this leads to dependency conflicts and further adjusting the dependency graph.
Ior matchers.Resource and ExitCase
Either.rethrow
1.2.1 and 1.2.0
kotest-assertions-arrow, kotest-property-arrow and kotest-property-arrow-optics
#2670 Replace explicit usage of eq with should be from kotest assertion coretestLaws has RootScope as a receiver instead of RootContext
kotest-assertions-arrow
Note that from this release, the minimium requirements are Kotest 5.0+ and Kotlin 1.6
kotest-property-arrow and kotest-property-arrow-optics for property-based testing with Arrowkotest-assertions-arrow
io.kotest.assertions.arrow.core
io.kotest.assertions.arrow.core