Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2659

Support Scala Testing frameworks

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: None

      Description

      Rather than having to use an Ant task, Gradle should support configuration of the Test task with different (Scala) testing frameworks.

      task scalaTest(dependsOn: testClasses) << { 
         ant.taskdef(name: 'scalatest', 
                     classname: 'org.scalatest.tools.ScalaTestAntTask', 
                     classpath: sourceSets.test.runtimeClasspath.asPath 
         ) 
         ant.scalatest(runpath: sourceSets.test.compileClasspath, 
                     fork: 'false', 
                     haltonfailure: 'true', 
                     suite: 'TranslatorTest') 
                     { reporter(type: 'stdout') }
      } 
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              etienne Etienne Studer
            • Votes:
              10 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: