Skip to content

Releases: scalameta/munit

MUnit v0.7.25

19 Apr 18:35
0921577
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.23

29 Mar 16:38
a64b358
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.22

16 Feb 22:01
63b8286
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.21

22 Jan 15:54
ed2c414
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.20

17 Dec 14:34
ca98bda
Compare
Choose a tag to compare

Pull Requests

MUnit v0.7.19

25 Nov 10:37
576b50c
Compare
Choose a tag to compare

Pull Requests

  • Cross-build against Scala 3.0.0-M2 (#265) @gabro

MUnit v0.7.18

18 Nov 06:10
545570d
Compare
Choose a tag to compare

Bug fixes

  • Fix #258 - escape "non-visible" characters in test names. (#261) @olafurpg
  • Fix bug related to escaping single quotes inside strings. (#260) @olafurpg

Internal

  • Check with Scalafix in CI. (#259) @olafurpg
  • Move dependabot.yml in the right location and fix release CI (#257) @gabro
  • Fix the CI and configure dependabot to keep actions updated (#256) @gabro

Upgrades

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