Natchez Testkit

Natchez teskit is a small module that provides a TestEntryPoint backed by a Ref so you can write unit tests that check your application is sending the right information to Natchez.

Installation

val natchezExtrasVersion = "5.0.1"

libraryDependencies ++= Seq(
  "com.ovoenergy" %% "natchez-extras-testkit" % natchezExtrasVersion % Test
)

Usage

An example of how to use it can be found in the test for natchez-extras-fs2:

https://github.com/ovotech/effect-utils/blob/master/natchez-fs2/src/test/scala/com/ovoenergy/effect/natchez/AllocatedSpanTest.scala