Releases: pureharm/pureharm-testkit
Releases · pureharm/pureharm-testkit
0.4.0
This is the first release for a stable Scala 3 version, and with cats-effect 3 support!
⚠️ breaking
pureharm-testkitnow depends on cats-effect3.2.1, and the corresponding dependencies for it.pureharm-testkit-ce2is binary, and source compatible withpureharm-testkitfrom version0.3.0, so if you haven't migrated to CE3 yet, use the former module.
Dependency upgrades
- pureharm-core
0.3.0 - pureharm-effects-cats
0.5.0 - log4cats-core
1.3.1,2.1.1
New Scala versions:
2.13.63.0.1for JVM + JS platforms- drop
3.0.0-RC2,3.0.0-RC3
internals
- bump scalafmt to
3.0.0-RC6— from2.7.5 - bump sbt to
1.5.5 - bump sbt-spiewak to
0.21.0 - bump sbt-scalafmt to
2.4.3 - bump sbt-scalajs-crossproject to
1.1.0 - bump sbt-scalajs to
1.6.0
0.3.0
Dependency upgrades
- pureharm-effects-cats
0.4.0
0.2.0 - a.k.a out with scalatest, in with munit
⚠️ Breaking changes ⚠️
- replace scalatest w/ munit
0.7.23. Do not forget to addtestFrameworks += new TestFramework("munit.Framework")to your build, as per usage instructions
Deprecations
PureharmTestWithResource. You can just use themunitstyle within thePureharmTest. 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:
- pureharm-core
0.2.0 - pureharm-effects-cats
0.2.0 - log4cats-core
1.2.2