Skip to content

0.2.0 - a.k.a out with scalatest, in with munit

Compare
Choose a tag to compare
@lorandszakacs lorandszakacs released this 02 Apr 07:59
· 11 commits to main since this release
450223a

⚠️ 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: