: Execute Integration/Unit Tests Separately
Hello,
unit tests we just put in src/test/java instead of src/main/java and
surefire runs them automatically in phase "test". You can do a "mvn
test" on the command-line to run only up to and including these tests.
Integration tests
Hello,
unit tests we just put in src/test/java instead of src/main/java and
surefire runs them automatically in phase "test". You can do a "mvn
test" on the command-line to run only up to and including these tests.
Integration tests - here's an example (that you can also adapt for unit
tests)