The Scala.js JUnit plugin replaces reflection based test lookup.
The Scala.js JUnit plugin replaces reflection based test lookup.
For each JUnit test my.pkg.X, it generates a bootstrapper module/object
my.pkg.X$scalajs$junit$bootstrapper implementing
org.scalajs.junit.Bootstrapper.
The test runner uses these objects to obtain test metadata and dispatch to
relevant methods.
The Scala.js JUnit plugin replaces reflection based test lookup.
For each JUnit test
my.pkg.X
, it generates a bootstrapper module/objectmy.pkg.X$scalajs$junit$bootstrapper
implementingorg.scalajs.junit.Bootstrapper
.The test runner uses these objects to obtain test metadata and dispatch to relevant methods.