Hi. I'm developing a multi-language project.
Our project uses Gradle as a build tool.
I want to use airspec as the testing framework for scala language but I couldn't find this framework works with the build tool in Gradle.
I can use this framework if there is a runner class which has the main function such as org.scalatest.tools.Runner in scala-test project.
- I can run scala-test in gradle like below
task scalaTest(dependsOn: ['testClasses'], type: JavaExec) {
main = 'org.scalatest.tools.Runner'
args = ['-R', 'build/classes/scala/test', '-o']
classpath = sourceSets.test.runtimeClasspath
}
test.dependsOn scalaTest
Hi. I'm developing a multi-language project.
Our project uses Gradle as a build tool.
I want to use airspec as the testing framework for scala language but I couldn't find this framework works with the build tool in Gradle.
I can use this framework if there is a runner class which has the main function such as org.scalatest.tools.Runner in scala-test project.