Hi,
 I have configured an integrationTest task that starts a jetty before
 execution of the tests:

task integrationTest(type: Test, dependsOn: ':frontend-web:jettyRun') << {
  ant.taskdef(name: 'scalatest',
    classname: 'org.scalatest.tools.ScalaTestAntTask',
    classpath: sourceSets.test.runtimeClasspath.asPath
  )
  ant.scalatest(runpath: sourceSets.test.classesDir,
    haltonfailure: 'true',
    fork: 'false') {
      reporter(type: 'stdout')
    }
}

 Is there a possibility to start the jetty before every single test?

Cheers,
  Christian
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Run-jetty-before-every-test-tp3422915p3422915.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to