Skip to content

Releases: scalameta/munit

v1.0.2

13 Sep 10:46
a4f195e
Compare
Choose a tag to compare

This release changes the Location to not include full path (instead a relative one independent of the machine), which while not a binary breaking change, it might still be relevant to a number of users.

Pull Requests

v1.0.1

12 Aug 16:08
ab14836
Compare
Choose a tag to compare

Pull Requests

v1.0.0

22 May 10:31
202706f
Compare
Choose a tag to compare

v1.0.0-RC1

25 Apr 09:04
202706f
Compare
Choose a tag to compare

This is hopefully the last version before the real 1.0.0. That release will be accompanied by actual release notes that encompass all the changes done since 0.x series.

What's Changed

New Contributors

Full Changelog: v1.0.0-M12...v1.0.0-RC1

v1.0.0-M12

18 Apr 10:47
Compare
Choose a tag to compare

Pull Requests

v1.0.0-M11

02 Feb 14:18
d687fc7
Compare
Choose a tag to compare

⚠️ Breaking Changes ⚠️

This release restores the fixture ordering to match that of the v0.7.x release line.
The ordering was originally changed in v1.0.0-M1, and has been a source of confusion.

Going forward the order will be:

  MySuite.beforeAll()
  myFixture.beforeAll()
  MySuite.beforeEach(test-1)
  myFixture.beforeEach(test-1)
  myFixture.afterEach(test-1)
  MySuite.afterEach(test-1)
  myFixture.afterAll()
  MySuite.afterAll()
Click to see this vizualized as a diff
-- v1.0.0-M1 - v1.0.0-M10 order
++ v0.7.x / +v1.0.0-M11 order
  MySuite.beforeAll()
  myFixture.beforeAll()
  MySuite.beforeEach(test-1)
  myFixture.beforeEach(test-1)
- MySuite.afterEach(test-1)
  myFixture.afterEach(test-1)
+ MySuite.afterEach(test-1)
- MySuite.afterAll()
  myFixture.afterAll()
+ MySuite.afterAll()

Customizing the ordering of beforeAll / afterAll methods

If you require the previous (v1.0.0-M1 - v1.0.0-M10) ordering, you can restore it by separating your fixture into two fixtures, a "before fixture" and "after fixture" and then specify them in an override of munitFixtures. If fact, this is exactly how the v0.7.x style ordering was restored in #724.

A documented example should be available in the near future (#739)

Notable Changes

What's Changed

New Contributors

Full Changelog: v1.0.0-M10...v1.0.0-M11

v1.0.0-M10

15 Sep 17:25
bc67c6c
Compare
Choose a tag to compare

This release fixes async tests on Scala Native when overriding the munitExecutionContext.
See issue #695 for more details.

What's Changed

Full Changelog: v1.0.0-M9...v1.0.0-M10

v1.0.0-M9

14 Sep 14:31
Compare
Choose a tag to compare

Notable Changes

  • Fix Async tests on Scala Native #693
  • Fail test suites on fatal exceptions #669

All Changes

New Contributors

Full Changelog: v1.0.0-M8...v1.0.0-M9

v1.0.0-M8

09 Jun 12:50
854b849
Compare
Choose a tag to compare

Notable Changes

  • Handle a StackOverflowError in addition to NonFatal errors in #648
  • Use js-native folder by sbt-crossproject in #646
  • Make Printer more easily configurable in #640
  • Fix assume(false) handling in #629

All Changes

New Contributors

Full Changelog: v1.0.0-M7...v1.0.0-M8

v1.0.0-M7

18 Nov 02:10
33ab4e8
Compare
Choose a tag to compare

Notable Changes

  • Better messaging for reproducing failures in scalacheck #564
  • Improved handling ignored tests in Gradle #601
  • Fixed non-termination in scala-cli #606

All Changes

New Contributors

Full Changelog: v1.0.0-M6...v1.0.0-M7