Nick Panienski wrote: > > Denis wrote: > >> If you're using maven 2, the correct syntax is (should be), >> in the build/plugins part: >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-surefire-plugin</artifactId> >> <configuration> >> <excludes> >> <exclude>ui/**</exclude> >> </excludes> >> </configuration> >> </plugin> > > Thanks for the fast reply! > > Sorry, I meant Maven 2 :) This is indeed working, although the pattern > "ui/**" is not. > I am a little bit confused about these pattern, is there a page describing > the syntax? > I tried a "**/*.*" - which worked fine - no more tests at all :) > > I configured > <testSourceDirectory>src/test</testSourceDirectory> > > and my ui tests sites are located in > src/test/de/company/project/ui/tests/a/b/ > > If somewhere in the path "ui" is present I want to skip tests. > > Any ideas for the correct pattern? > > Cheers > Nick > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
Don't know exactly where these patterns come from, but to me, they are ant-like: http://ant.apache.org/manual/dirtasks.html#patterns I thought ui was the base directory for your HttpUnit tests. So, with this directory structure, exclusion pattern should be something like: **/ui/** (Hope it helps) Denis. -- View this message in context: http://www.nabble.com/Exclude-certain-files-during-tests-tf1998613.html#a5487420 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
