java -cp "lib/*" org.scalatest.tools.Runner -w "com.company" -eDF -R lib/my_tests.jar
it works as expected, but ./scalatest-native -w "com.company" -eDF -R lib/my_tests.jar
returns No tests were executed.
. Am I missing something obvious? Adding -s com.company.MySuite
fails with a ClassNotFoundException
so it looks like the native version isn't even looking into my_tests.jar? At this point I am not sure yet if I did something wrong with the native image generation or if I don't use scalatest's runner properly, possibly both :)
[error] |bad parameter reference Function.this.R at inlining
[error] |the parameter is type R in trait Function but the prefix (Function.this : Function[V, R])
[error] |does not define any corresponding arguments.
[error] |idx = 1, args = List()
https://github.com/objektwerks/scala3
List(1, 2, 2, 3, 3, 3) should be (List(3, 2, 3, 1, 2, 3, 5))
<Click to see difference>
in Intellij which is nice.<Click to see difference>
List(1, 2, 2, 3, 3, 3) should contain theSameElementsAs List(3, 2, 3, 1, 2, 3, 5)