Skip to content

Releases: scalameta/munit

MUnit v0.7.17

18 Nov 06:07
76dd69a
Compare
Choose a tag to compare

Scala.js for Scala 3

Breaking change

Scala.js v0.6.x is no longer supported. If you are still using v0.6.x then you can continue to use MUnit v0.7.16 but you will need to upgrade to Scala.js v1.x in order to benefit from future MUnit releases.

Upgrades

Internal

  • Update test.release script to use full 3.0.0-M1 version (#242) @tgodzik

MUnit v0.7.16

04 Nov 13:28
a81bc6d
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.15

01 Nov 09:23
d0c18b6
Compare
Choose a tag to compare

This is the last release in the v0.7.x series. The next release will be v1.0.0-M1 and will include several binary and source breaking changes. Most users should not be affected by the upcoming breaking changes in v1, the core ideas and APIs will remain mostly unchanged. For more details see https://github.com/scalameta/munit/milestone/1

ScalaCheck integration for Scala 3

Previously, the munit-scalacheck module was not available for Scala 3. It was only possible to use the ScalaCheck integration from Scala 3 by using the withDottyCompat() helper. Now, munit-scalacheck is released for Scala 3 so that withDottyCompat() is no longer necessary.

Improved IntelliJ integration

  • MUnitRunner.filter should mutate state as in other standard JUnitRunners (#212) @unkarjedy
  • Introduce a new "failComparison()" helper (#222) @olafurpg
  • Make FailException extend AssertionError, fixes #215 (#220) @olafurpg

The upcoming release of the Scala IntelliJ plugin will include significantly improved support for MUnit, see https://youtrack.jetbrains.com/issue/SCL-17360
For example, assertEquals() errors can now be viewed in a diff explorer.
Screenshot 2020-10-18 at 09 51 45-fs8

Breaking changes

  • munit.FailException no longer extends Exception. Now, it extends java.lang.AssertionError in order to improve the IntelliJ integration.
  • assertEquals() errors no longer throw munit.FailException. Instead, they throw munit.ComparisonFailException.

To upgrade to the new version, replace usages of FailException with FailExceptionLike[T]

-- before
-- now

try { ... }
catch {
- case _: FailException =>
+ case _: FailExceptionLike[_] =>

Bug fixes

Scala Steward

MUnit v0.7.13

01 Oct 09:30
Compare
Choose a tag to compare

New features

Bug fixes

Documentation

  • doc: flesh out the conversion to ScalaTest docs a good deal (#166) @Kazark

Internal

Scala Steward

MUnit v0.7.12

28 Aug 16:40
0e232af
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.11

12 Aug 20:43
1330dda
Compare
Choose a tag to compare

Pull Requests

  • Support ScalaTest 3.1+ in PantsFramework (#176) @Duhemm

Documentation

  • Add suggestion on how to migrate Properties (#171) @gabro

Scala Steward

MUnit v0.7.10

25 Jul 07:47
80e0eb1
Compare
Choose a tag to compare

Pull Requests

  • Update test-release.sh to latest dotty (#170) @gabro
  • Update Scala 3 versions to 0.25.0 and 0.26.0-RC1 (#168) @tgodzik
  • doc: add a few tips on converting from match-style assertions (#164) @Kazark
  • doc: add advice on converting from WordSpec style (#163) @Kazark

MUnit v0.7.9

11 Jun 16:11
ad33e90
Compare
Choose a tag to compare

MUnit v0.7.8

11 Jun 16:10
bff6959
Compare
Choose a tag to compare

Fix #138 - duplicate names with bracket characters (#140) @olafurpg

MUnit v0.7.7

01 Jun 09:57
e8653ed
Compare
Choose a tag to compare
  • Preserve stack trace of unexpected exceptions in ScalaCheckSuite (#129) @olafurpg