Find an Online Tutor Now

Asked • 04/13/19

Run a single test method with maven?

I know you can run all the tests in a certain class using: mvn test -Dtest=classnameBut I want to run an individual method and -Dtest=classname.methodname doesn't seem to work.

1 Expert Answer


Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.