I typically just run the test case in my IDE... as much as I love Maven, it doesn't seem like the kind of thing you'd want Maven to be doing for you.
-j --------------------------------------------------- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 "Christian Cabanero" <[EMAIL PROTECTED]> 05/02/2006 06:11 PM Please respond to "Maven Users List" To: users@maven.apache.org cc: Subject: How do you run a particular TestCase? Our Ref: Your Ref: In Maven2, is there a way to run a particular TestCase rather than all of them when you run "mvn test"? Like for example, I'd like to run something like: "mvn test -testcase= org.somepackage.MyTestCase". I'm wondering because it would be nice while I'm doing development I could run a particular TestCase which I'm working on that I haven't even checked in yet. I want to avoid running all the tests every single time as I tweak MyTestCase and the class it unit tests. Thanks, Christian *************************************************************** This email may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it. Internet email is not private, secure, or reliable. No member of the HSBC Group is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of the HSBC Group. *************************************************************** Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel par toute personne autre que le destinataire désigné est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci. La transmission de courriel par Internet ne constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions relatives au contenu ou à la transmission de ce courriel. L'auteur de ce courriel est seul responsable des opinions émises dans ce courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas endossées par aucun membre du Groupe HSBC. ***************************************************************