Pages

Thursday, March 13, 2014

How to do maven unit tests

to test the app simply issue the following command

mvn test

to run a single test issue

mvn -Dtest=<test class name> test

to skip unit testing while building  issue put the following directive to your maven goal

-Dmaven.test.skip=true


No comments:

Post a Comment