Skip to content

Commit

Permalink
Merge pull request #69 from armanbilge/pr/fix-test-output-interleaving
Browse files Browse the repository at this point in the history
Fix test output interleaving
  • Loading branch information
armanbilge authored Sep 20, 2022
2 parents 11acfad + 76f196c commit ce5b016
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ lazy val tests = crossProject(JVMPlatform, NativePlatform)
.enablePlugins(NoPublishPlugin)
.nativeConfigure(_.dependsOn(core))
.settings(
// https://github.com/scalameta/munit/blob/92710a507339d20368d251feadf66e4f9f4e1840/junit-interface/src/main/java/munit/internal/junitinterface/JUnitRunner.java#L75
// note that the equivalent `--logger=sbt` did not work for some reason
// using the sbt logger prevents tests from different suites being interleaved
Test / testOptions += Tests.Argument("+l"),
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect" % catsEffectVersion,
"org.typelevel" %%% "munit-cats-effect" % munitCEVersion % Test
Expand Down

0 comments on commit ce5b016

Please sign in to comment.