Have you tried configuring this?

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile
<http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile>

2010/8/31 Bogdan Calmac <bcal...@gmail.com>

>
> In the old ant world, the testng plugin would print the test results to
> stdout (in addition to the HTML report). This was very convenient when
> running the build from eclipse; I could see the failures right in the
> console window and click on the links for stacktraces.
>
> In contrast, the surefire plugin does not print any test results to stdout,
> so I have to go through this tedious workflow:
>  - run "maven test" from eclipse
>  - browse to the target\surefire-reports directory and open index.html
>  - browse through the HTML pages down to the failing test
>  - copy the stacktrace from the browser and paste it in the eclipse "Java
> StackTrace Console"
>  - finally get to the failing code
>
> Is there any way to configure the surefire plugin to print the test results
> (including stacktraces) to stdout?
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Surefire-can-you-print-TestNG-results-to-stdout-tp2798556p2798556.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to