>From the tutorial: http://appfuse.org/display/APF/Using+Struts+2
I quote: "After adding this, you should be able to run mvn integration-test -Dtest=PersonTests and have these tests execute." That's not the case. Instead, the build fails, complaining that there are no tests to run. However, for me, simply typing 'mvn integration-test' (or 'mvn -Pintegration-test') will run the default target, 'run-all-tests'. That's pretty close. I see these lines, from the 'integration-test' profile in pom.xml. <!-- This is so the default will be used if no test case is specified --> <property name="test" value="run-all-tests"/> <echo level="info">Testing '${project.build.finalName}' with locale '${user.language}'</echo> <ant antfile="src/test/resources/web-tests.xml" target="${test}"> I'm thinking that something is hinky right there..If I change that last line to: <ant antfile="src/test/resources/web-tests.xml" target="${grabble}"> then I can run mvn integration-test -Dgrabble="PersonTests" and everything works properly! Also, if I change 'that last line' to: <ant antfile="src/test/resources/web-tests.xml" target="${Test}"> then I can run mvn integration-test -DTest="PersonTests" & it works. Comments? -- View this message in context: http://www.nabble.com/Tutorial-bugs-tp23238758s2369p23238758.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net