I would like to be able to achieve the following using two command
line invocations:
- build and install jar files using "mvn install"
- run tests again, but against the installed jar files

The rationale is that the first mvn run will only run "unit" tests
(using test groups in TestNG), whereas the second mvn run would run
all tests, including "slow" and "database" tests. In reality, both
would be run from a CI server rather than a developer desktop.

Clearly, the first mvn run is easy (I have that working). But I cannot
see a way to run a mvn command that executes the tests against the
installed jar files.

The project is a multi-module project. Moving tests into a separate
"testing only" project is not an acceptable approach. Running the
slow/database tests as part of a single mvn run is not an acceptable
approach.

thanks for any thoughts or hyperlinks.
Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to