Skip to content

Commit

Permalink
gradle: updated integration-tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
LeanderK committed Feb 6, 2016
1 parent 3f5ffe8 commit 4bf81a9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,19 @@ dependencies {

test {
testLogging {
events "failed"
exceptionFormat "short"
events 'started', 'passed'
}
}

sourceSets {
unitTest {
java {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
srcDir file('src/test/java')
}

resources.srcDir file('src/test/resources')
}
}

Expand Down Expand Up @@ -84,8 +95,6 @@ tasks.withType(Test) {
reports.html.destination = file("${reporting.baseDir}/${name}")
}

test.dependsOn integrationTest

jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
Expand Down

0 comments on commit 4bf81a9

Please sign in to comment.