Skip to content

Commit

Permalink
Attempt to improve amount of output on test failure as seems no easy …
Browse files Browse the repository at this point in the history
…way to get test output in travis ci
  • Loading branch information
cartwrightian committed Jun 2, 2017
1 parent 8c0f8a0 commit d0c3203
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,41 @@ test {
filter {
includeTestsMatching "tw.com.unit.*"
}
testLogging {
events "failed"
exceptionFormat "full"
}
}

task unit(type: Test) {
environment 'testEnvVar', 'testValue'
filter {
includeTestsMatching "tw.com.unit.*"
}
testLogging {
events "failed"
exceptionFormat "full"
}
}

task integration(type: Test) {
filter {
includeTestsMatching "tw.com.integration.*"
}
testLogging {
events "failed"
exceptionFormat "full"
}
}

task acceptance(type: Test) {
filter {
includeTestsMatching "tw.com.acceptance.*"
}
testLogging {
events "failed"
exceptionFormat "full"
}
}

jar {
Expand Down

0 comments on commit d0c3203

Please sign in to comment.