[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: aop-mc-int tests with maven
kabir.khan@jboss.com
do-not-reply at jboss.com
Mon Apr 23 16:37:00 EDT 2007
"kabir.khan at jboss.com" wrote : "kabir.khan at jboss.com" wrote :
| | In addition to the things I mentioned above, one thing that makes the console output impossible to read is that all the log messages/System.out.println()s from the tests appear in the console. With ant, the junit task would redirect these to to only appear in the log file. What maven-fu is needed to do that?
|
| Adding
|
| | <redirectTestOutputToFile>true</redirectTestOutputToFile>
| | </configuration>
| | </execution>
| |
| to the pom helps. It has the problem though of (over)writing all tests for all modes to the surefire-reports directory, similarly to what I mentioned for the test log files. "reportsDirectory" could maybe be used to split where the tests run with different weaving/security settings. Paul, how would that work with the report plugin?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040013#4040013
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040013
More information about the jboss-dev-forums
mailing list