diff --git a/src/docbkx/developer.xml b/src/docbkx/developer.xml index 47fd751f6e8..440e97348b7 100644 --- a/src/docbkx/developer.xml +++ b/src/docbkx/developer.xml @@ -222,7 +222,7 @@ unit test characterizations.
Default: small and medium category tests -Running mvn run will execute all small tests in a single JVM and medium tests in a separate JVM for +Running mvn test will execute all small tests in a single JVM and medium tests in a separate JVM for each test instance. Medium tests are NOT executed if there is an error in a small test. Large tests are NOT executed. There is one report for small tests, and one report for medium tests if they are executed. @@ -241,12 +241,12 @@ There is one report for small tests, and one report for medium and large tests i
Running a single test or all tests in a package -To run an individual test, MyTest, do +To run an individual test, e.g. MyTest, do mvn test -P localTests -Dtest=MyTest You can also -pass multiple individual tests comma-delimited: e.g. +pass multiple, individual tests as a comma-delimited list: mvn test -P localTests -Dtest=MyTest1,MyTest2,MyTest3 -You can also pass a package and all tests under the package will be run by doing as follows: -mvn test -P localTests -Dtest=org.apache.hadoop.hbase.client.*. +You can also pass a package, which will run all tests under the package: +mvn test -P localTests -Dtest=org.apache.hadoop.hbase.client.* @@ -358,7 +358,7 @@ run all the phases up to and including the verify phase via the maven failsafe plugin, running all the above mentioned HBase unit tests as well as tests that are in the HBase integration test group. If you just want to run the integration tests, you need to run two commands. First: - mvn failsafe:integration-test. + mvn failsafe:integration-test This actually runs ALL the integration tests. This command will always output BUILD SUCCESS even if there are test failures.