Skip to content

Releases: scalameta/munit

MUnit v0.7.2

06 Apr 20:31
111171b
Compare
Choose a tag to compare

Async FunFixture

Previously, FunFixture only supported synchronous setup/teardown methods.
Now, the setup/teardown methods can also return Future[T] values like this

val number = FunFixture.async[Int](
  setup = _ => Future(...),
  teardown = _ => Future(...)
)

The non-async new FunFixture[T] constructor has now been deprecated in favor of an apply constructor. To migrate existing usage

-- 0.7.1 (old version)
++ 0.7.2 (new version)
- new FunFixture[T](...)
+ FunFixture[T](...)

Thank you @2m for contributing this feature!

Pull requests

  • Scalacheck blogpost (#77) @gabro
  • Print property seeds and add docs about reproducing test failures (#90) @gabro

Library updates

MUnit v0.7.1

24 Mar 12:44
Compare
Choose a tag to compare

The v0.7.0 release failed.

Pull Requests

  • Allow using MUnit assertions in ScalaCheck props (#76) @gabro
  • Move ScalaCheck integration into the toplevel package and add documentation (#72) @gabro
  • Fix munit-scalacheck module name (#74) @gabro
  • Use SCALAJS_VERSION=0.6.32 for 2.12.11 support (#73) @gabro

MUnit v0.7.0

24 Mar 11:26
Compare
Choose a tag to compare

Pull Requests

  • Allow using MUnit assertions in ScalaCheck props (#76) @gabro
  • Move ScalaCheck integration into the toplevel package and add documentation (#72) @gabro
  • Fix munit-scalacheck module name (#74) @gabro
  • Use SCALAJS_VERSION=0.6.32 for 2.12.11 support (#73) @gabro

MUnit v0.6.0

20 Mar 14:01
b219d82
Compare
Choose a tag to compare

Pull Requests

MUnit v0.5.2

16 Feb 23:39
Compare
Choose a tag to compare
  • #58 Add compileErrors() helper to assert against compile-time errors
  • #57 Add def test(name: String) overload for easier readability.
  • #55 Fix bug where test cases got reported as duplicates in IntelliJ.
  • #54 Indent successful test case reports by two spaces.

Refactorings

  • #53 Move junit-interface into the MUnit codebase.

NOTE: it may take a while for the artifacts to appear on Maven Central. Please ignore v0.5.1 since that release failed.

MUnit v0.5.0

16 Feb 13:14
bf6805b
Compare
Choose a tag to compare

MUnit v0.4.5

06 Feb 07:41
b7f466e
Compare
Choose a tag to compare

It may take a couple hours for the artifacts to sync to Maven Central.

FunSuite v0.1.4

08 Jan 00:30
Compare
Choose a tag to compare
  • Remove unused BeforeAll and AfterAll

FunSuite v0.1.3

07 Jan 11:58
Compare
Choose a tag to compare
  • Add base class funsuite.Suite