Skip to main content
Version: 2.0.x

Installing ZIO Test

In order to use ZIO Test, we need to add the required configuration in our SBT settings:

libraryDependencies ++= Seq(
"dev.zio" %% "zio-test" % "2.1-RC1" % Test,
"dev.zio" %% "zio-test-sbt" % "2.1-RC1" % Test,
"dev.zio" %% "zio-test-magnolia" % "2.1-RC1" % Test

If our SBT version is older than 1.8.0, we also need to add the test framework manually:

testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")