Skip to content

Commit

Permalink
Include full stack trace in test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdailis committed Mar 28, 2024
1 parent aba3ba8 commit 8695a2c
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 0 deletions.
3 changes: 3 additions & 0 deletions constraints/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions contrib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions db-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jacocoTestReport {

task e2eTest(type: Test) {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions e2e-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ task e2eTest(type: Test) {
// Run the tests in parallel to improve performance
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
useJUnitPlatform()

testLogging {
exceptionFormat = 'full'
}
}

dependencies {
Expand Down
3 changes: 3 additions & 0 deletions examples/banananation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions examples/config-with-defaults/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jar {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions examples/config-without-defaults/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jar {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions examples/foo-missionmodel/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jar {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions examples/minimal-mission-model/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jar {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions examples/streamline-demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jar {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions merlin-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ test {
useJUnitPlatform {
includeEngines 'jqwik', 'junit-jupiter'
}
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions merlin-framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions merlin-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
4 changes: 4 additions & 0 deletions merlin-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ test {

environment "CONSTRAINTS_DSL_COMPILER_ROOT", projectDir.toPath().resolve('constraints-dsl-compiler')
environment "CONSTRAINTS_DSL_COMPILER_COMMAND", './build/main.js'

testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions parsing-utilities/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down
3 changes: 3 additions & 0 deletions scheduler-driver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java {

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}

jacocoTestReport {
Expand Down

0 comments on commit 8695a2c

Please sign in to comment.