-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignored tests doesn't produce output on Scala.js #549
Comments
Thanks for reporting, I was able to reproduce with scala-cli. //> using scala "3.1.3"
//> using lib "org.scalameta::munit::1.0.0-M6"
import munit._
class MySuite extends FunSuite {
test("this_is_a_ignored_test".ignore) {}
}
|
I was also able to replicate on Scala Native.
So it's probably a bug in here: Which I understand is a re-implementation of the sources here: IIRC Olafur had de-duped these sources in the JUnit 5 branch. Actually, I don't think that's specific to JUnit 5. @valencik maybe something to consider before 1.0.0, to reduce the maintenance burden of two separate impls? |
I was sent here by @valencik for similar reasons: import munit.*
class Tst extends FunSuite {
test("hello") {
assume(false, "oh noes")
fail("")
}
}
Outptu differs between major versions.
|
That would probably be the best output yeah. Would you say it's blocking for 1.0.0? I intend (or try to find someone) to help when possible. |
I don't see it as blocking - semantically it does what you'd expect - ignores the tests. Just a matter of rendering. Can always be adjusted later. |
On a
crossProject(JSPlatform, JVMPlatform)
myignored
tests doesn't produce output on Scala.jsscalaVersion := "3.1.3",
munit = "1.0.0-M4" (same on 1.0.0-M4)
Output when running the tests on JVM:
Output when running the tests on JS:
Can someone try to reproduce to double check? Or should I create a minimized project?
The text was updated successfully, but these errors were encountered: