Help the world stop coronavirus! Stay home!

Prev Next

Maven / Maven Interview questions

How to run a single test method using maven.

junit 4.x provides support for running specific test methods. You must use the following syntax by specifying the test class and method name. This also accepts patterns for method names.

mvn -Dtest=TestClass#mytest test

you may also select multiple methods using the below syntax.

mvn -Dtest=TestClass#testMOne+testMTwo test

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Maven Interview questions II

Comments & Discussions