Hi Shannon, Perhaps it has something to do with your working directory? If my test was in the examples project, I would not be able to run mvn test -Dtest=MySpecificTest from the root directory, rather I would have to cd to the examples directory in order to run that test.
- Drew On Tue, Aug 10, 2010 at 2:08 PM, Shannon Quinn <[email protected]> wrote: > Hi all, > > I apologize for what I'm sure is a question with a very easy answer, but how > does one selectively run JUnit tests? I've tried: > > mvn test -Dtest=MySpecificTestCase > > but it errors out from an inability to find any tests to run. I also tried > the full path (both in terms of java packages, and on the literal > filesystem) to no avail. I'd rather not keep running the entire test suite > to determine whether or not my tests are passing. Help would be greatly > appreciated. > > Thank you! > > Regards, > Shannon >
