On Thu, Jul 15, 2010 at 9:46 AM, Karan Malhi <[email protected]> wrote: > I did try the naming pattern, something like > mvn test -Dtest=Check* > However, I have inner classes in my test cases and some of them start with > the word Check. Surefire starts thinking that the inner class is also a test > case and errors out because it cannot find a test method to run
If you want to dig into the source, it probably wouldn't be too hard to add another parameter like -DtestPkg=..., or to modify the -Dtest=... one to understand a different pattern that means match on a package. -Dtest=pkg:org.example.stuff . See if there's already something in JIRA, if not you can add it and then post to the dev list to discuss it with the developers to see if they'd be receptive to such a patch. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
