Discussion:
Where does test output go?
Howard Lewis Ship
2012-04-02 16:56:00 UTC
Permalink
When running tests, it appears the Test plugin captures or redirects
console output. Where does it go? I don't see anything in my build
folder. It would be useful for me to see that output, without having
to create an test-specific logging configuration that logs explicitly
to a file.
--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com
TheKaptain
2012-04-02 17:40:33 UTC
Permalink
If you're using JUnit, standard output is captured into the html test
reports. You need to navigate the report to the particular test, and if it
has captured anything from Standard Out there should be a tab that shows the
output.


--
View this message in context: http://gradle.1045684.n5.nabble.com/Where-does-test-output-go-tp5613043p5613161.html
Sent from the gradle-user mailing list archive at Nabble.com.
Peter Niederwieser
2012-04-02 21:01:56 UTC
Permalink
If you want to have the output shown in the console, you can do:

test.testLogging.showStandardStreams = true

--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw

--
View this message in context: http://gradle.1045684.n5.nabble.com/Where-does-test-output-go-tp5613043p5613685.html
Sent from the gradle-user mailing list archive at Nabble.com.

Loading...