Skip to content
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

Scala.js JUnitSuite? #17

Open
er1c opened this issue Aug 20, 2020 · 1 comment
Open

Scala.js JUnitSuite? #17

er1c opened this issue Aug 20, 2020 · 1 comment

Comments

@er1c
Copy link

er1c commented Aug 20, 2020

Might be a dumb question, I was trying to include org.scalatestplus.junit.JUnitSuite but also use the ScalaJSJUnitPlugin one of the first things it complains about is org.scalatestplus.junit.JUnitSuite not existing, is/can a dummy JUnitSuite class able to be exported for scala.js?

@cheeseng
Copy link
Contributor

@er1c Unfortunately scalatest+junit does not support build for scala-js yet. When I saw this issue I first thought may be it is time to support scala-js build as scala-js already has junit support built-in with ScalaJSJUnitPlugin. I digged a little further and it seems like we'll have the blocker that org.junit.runner.notification.RunListener is not implemented in scala-js version of junit, and it is being used here.

Anyway, if possible I think you can just use ScalaTest's FunSuite without JUnit, it is supported for scala-js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants