⚠️ Breaking changes ⚠️
- replace scalatest w/ munit
0.7.23
. Do not forget to add testFrameworks += new TestFramework("munit.Framework")
to your build, as per usage instructions
Deprecations
PureharmTestWithResource
. You can just use the munit
style within the PureharmTest
. Simply do:
final class AlternativeToTestWithResource extends busymachines.pureharm.testkit.PureharmTestkit {
private val myResource =
ResourceFixture((to: TestOptions) => Resource.eval(testLogger.info(s"Making: $to") >> Timer[IO].sleep(10.millis)))
myResource.test("with resource")((_: Unit) => testLogger.info("Executing test w/ resource"))
}
New Scala versions:
- 3.0.0-RC1 for JS platform
- 3.0.0-RC2, for JVM, and JS platform
Dependency upgrades: