Java maven

From John Freier
Revision as of 10:30, 19 May 2020 by Jfreier (Talk | contribs) (Created page with "Using Maven to help compile Java projects. == Run Tests == To run a single test. mvn test -Dtest=ClassName#methodName == Run Test with full stackTrace messages == To show...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Using Maven to help compile Java projects.

Run Tests

To run a single test.

 mvn test -Dtest=ClassName#methodName


Run Test with full stackTrace messages

To show the full error message when something goes wrong in a test.

 mvn test -Dtest=ClassName#methodName -DtrimStackTrace=false