Ólafur Páll Geirsson
Ólafur Páll Geirsson
From https://contributors.scala-lang.org/t/announcing-munit-a-new-scala-testing-library/4007/11?u=olafurpg > It does not currently support JUnit 5, at least not with gradle – trying to run with org.junit.jupiter:junit-jupiter-engine doesn’t work, and instead the “vintage” engine has to...
Currently, the command-line flags for the MUnit sbt testing framework implementation are mostly undocumented (no overview of all available flags) and they're pretty cryptic (mostly single character flags). We should...
Currently, the only way to disable ANSI color output from MUnit is to use the cryptic combination of the testing framework flags `testOnly -- -n +l`. We should make it...
Currently, the following expression fails to compile `assertEquals(Some(1), Option(1))` while `assertEquals(Option(1), Some(1))` compiles. The compile error message is also cryptic. This issue is about relaxing the type constraints on the...
The documentation currently doesn't explain how to setup MUnit with Maven. Here is an example repo that sets up MUnit with Maven https://gitter.im/scalameta/munit?at=5e9b77505706b414e1daea88
Originally reported by @ches in https://github.com/scalameta/scalafmt/issues/1208 - **Version**: 1.6.0-RC1 - **Integration**: sbt-scalafmt ## Problem sbt-scalafmt can keep project source formatted with `scalafmtOnCompile`, but needs a separate step of `scalafmtSbt` to...
``` scala @ import io.circe.generic.auto._ @ import io.circe.parser._ @ case class Foo(col: Option[Int]) @ val result = parse("""{ "typo": 2 }""").map(_.as[Foo]) result: cats.data.Xor[io.circe.ParsingFailure, io.circe.Decoder.Result[Foo]] = Right(Right(Foo(None))) ``` I'm curious to...
Currently, the Ammonite interpreter module has a dependency the Scalameta module `trees` https://github.com/com-lihaoyi/Ammonite/blob/0f0d597f04e62e86cbf76d3bd16deb6965331470/build.sc#L296 This dependency is only used to access internal APIs to read/write protobuf files https://github.com/com-lihaoyi/Ammonite/blob/0f0d597f04e62e86cbf76d3bd16deb6965331470/amm/interp/src/main/scala/ammonite/interp/script/SemanticdbProcessor.scala#L8 Those APIs are...
twitter/scalding started failing in ProjectTests in PR #159 due to a recent commit https://github.com/twitter/scalding/commit/f4b77ce5a70c76568117b9b24f534bea8b124ac5 The culprit lines are https://github.com/twitter/scalding/blob/cc6e71d2e4ee26e7c0ac0a77735fd1455d867ee9/scalding-graph/src/test/scala/com/twitter/scalding/graph/LiteralTests.scala#L34-L38 ```scala def genUnary: Gen[Literal[Int, Box]] = for { fn (Int)] bfn...