Hi, If you want to exclude some specific tests you need to configure the surefire plugin in your pom. Have a look at this http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html There's an example showing how to exclude tests.
On Thu, Jun 19, 2008 at 4:31 AM, youhaodeyi <[EMAIL PROTECTED]> wrote: > > I put test case in the src/test/java directory also some demo code there. > Is > there a way to skip the demo code when doing test? > > thanks. > -- > View this message in context: > http://www.nabble.com/How-to-filter-Test-case--tp17996149p17996149.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >