Example to run a jUnit test with Maven

How to run a specific test:

cd ~/workspace/safenet-credit-card-encryption2/hal-parent/hal-ejb
mvn -Dtest=WebCryptographyITCase test

How to run all tests:

cd ~/workspace/safenet-credit-card-encryption2/hal-parent/hal-ejb
mvn test

Leave a Reply