You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Craig McDaniel <cp...@gmail.com> on 2006/05/11 23:36:22 UTC

[m2] Supressing stderr for unit tests

How can I suppress output of stderr to the console for unit tests?

I have some unit tests which are checking some error conditions within
a third-party api. That api is throwing an exception (which we are
expecting) but also writes to stderr and makes the mvn console output
quite noisy. I seem to recall that in maven 1, stderr went into the
test report file by default?

-- 
Craig McDaniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org