Skip to content

airframe-airspec: Support runner tool for using it on Gradle project. #1352

@joey-yoonsung

Description

@joey-yoonsung

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions