Open cvogt opened 8 years ago
sbt's test framework https://www.javadoc.io/doc/org.scala-sbt/test-interface/1.0 looks fairly archaic. I am doubtful we can pull off something nice with this. It's all weirdly evens and side-effect based. I'd prefer something more declarative and FP-style. I am working on a different approach right now.
(Also see https://github.com/cvogt/cbt/issues/21 as a failed attempt to call scala test via it's command line runner.)
If you design something else, use the opportunity to make it asynchronous all the way down to the turtles. I.e., the API systematically returns Future
s of everything.
we might want to check out sbt's test framework api
@sjrd also points to https://github.com/gtache/scalajs-gradle/tree/master/scalajs-plugin/src/main/scala/com/github/gtache/testing