diff --git a/tests/shared/src/main/scala/munit/Issue478FrameworkSuite.scala b/tests/shared/src/main/scala/munit/Issue478FrameworkSuite.scala new file mode 100644 index 00000000..8379a60e --- /dev/null +++ b/tests/shared/src/main/scala/munit/Issue478FrameworkSuite.scala @@ -0,0 +1,14 @@ +package munit + +class Issue478FrameworkSuite extends FunSuite { + override def munitFlakyOK: Boolean = true + test("boom".flaky.fail) { + } +} + +object Issue478FrameworkSuite + extends FrameworkTest( + classOf[Issue478FrameworkSuite], + """|==> skipped munit.Issue478FrameworkSuite.boom - ignoring flaky test failure + |""".stripMargin + ) diff --git a/tests/shared/src/test/scala/munit/FrameworkSuite.scala b/tests/shared/src/test/scala/munit/FrameworkSuite.scala index 0f9a35ab..83bc2acb 100644 --- a/tests/shared/src/test/scala/munit/FrameworkSuite.scala +++ b/tests/shared/src/test/scala/munit/FrameworkSuite.scala @@ -29,6 +29,7 @@ class FrameworkSuite extends BaseFrameworkSuite { AssertionsFrameworkSuite, Issue179FrameworkSuite, Issue285FrameworkSuite, + Issue478FrameworkSuite, ScalaCheckExceptionFrameworkSuite, BoxedFrameworkSuite )