× About Sports Technology
...

Run all the unit test classes.

$ mvn test

Run a single test class.

$ mvn -Dtest=TestApp1 test

Run multiple test classes.

$ mvn -Dtest=TestApp1,TestApp2 test

Run a single test method from a test class.

$ mvn -Dtest=TestApp1{hash tag}methodname test

Run all test methods that match pattern 'testHello*' from a test class.

$ mvn -Dtest=TestApp1{hash tag}testHello* test

Run all test methods match pattern 'testHello*' and 'testMagic*' from a test class.

$ mvn -Dtest=TestApp1{hash tag}testHello*+testMagic* test

...

Run all the unit test classes.

$ mvn test

Run a single test class.

$ mvn -Dtest=TestApp1 test

Run multiple test classes.

$ mvn -Dtest=TestApp1,TestApp2 test

Run a single test method from a test class.

$ mvn -Dtest=TestApp1{hash tag}methodname test

Run all test methods that match pattern 'testHello*' from a test class.

$ mvn -Dtest=TestApp1{hash tag}testHello* test

Run all test methods match pattern 'testHello*' and 'testMagic*' from a test class.

$ mvn -Dtest=TestApp1{hash tag}testHello*+testMagic* test