Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #128 from dsyer/feature/testoutput

Add stdout from bash processes to test reports
  • Loading branch information...
commit 52d307d063c0f3195d5d0e286456253ecee24c8e 2 parents 9b53466 + 04c775c
@marcoVermeulen marcoVermeulen authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/test/resources/gvm/env.groovy
View
6 src/test/resources/gvm/env.groovy
@@ -48,7 +48,11 @@ Before(){
}
}
-After(){
+After(){ scenario ->
+ def output = bash?.output
+ if (output) {
+ scenario.write("\nOutput: \n${output}")
+ }
bash?.stop()
cleanUp()
}
Please sign in to comment.
Something went wrong with that request. Please try again.