-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)type: feature request
Description
Any existing workaround to use java_test for executing scala tests (similar to #443), or is there a different approach to substitute the lack of scala_test for now? Scala test classes usually use org.junit.runner.RunWith and a custom JUnitRunner to execute (like this one for specs2).
Simple example:
package com.example
import org.junit.runner.RunWith
import org.specs2.mutable.Specification
import org.specs2.runner.JUnitRunner
@RunWith(classOf[JUnitRunner])
class HelloWorldTest extends Specification {
"HelloWorld" should {
"have the correct message" in {
HelloWorld.message must_== "Hello world!"
}
}
}Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)type: feature request