Skip to content

Commit

Permalink
print stack trace on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
LEDfan committed Feb 21, 2024
1 parent 4203095 commit 823d814
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class TestExecutionListener : SummaryGeneratingListener() {

println()
println("\t\t--> Finished test \"${testIdentifier.displayName}\": $testExecutionResult")
if (testExecutionResult.throwable.isPresent) {
testExecutionResult.throwable.get().printStackTrace()
}
println()
}

Expand Down

0 comments on commit 823d814

Please sign in to comment.