diff --git a/hbase-spark/README.txt b/hbase-spark/README.txt index fe2c09d..e0ecffe 100644 --- a/hbase-spark/README.txt +++ b/hbase-spark/README.txt @@ -17,3 +17,16 @@ or After you've done the above, check it and then check in changes (or post a patch on a JIRA with your definition file changes and the generated files). Be careful to notice new files and files removed and do appropriate git rm/adds. + +Running Tests under hbase-spark module +Tests are run via ScalaTest Maven Plugin and Surefire Maven Plugin +The following is examples to run the tests: + +Run tests under root dir or hbase-spark dir + $ mvn test //run all small and medium java tests, and all scala tests + $ mvn test -PskipSparkTests //skip all scale and java test in hbase-spark + $ mvn test -P runAllTests //run all tests, including scala and all java test including the large test + +run specified test case + $ mvn test -Dtest=TestJavaHBaseContext -DwildcardSuites=None //java unit test + $ mvn test -Dtest=None -DwildcardSuites=org.apache.hadoop.hbase.spark.BulkLoadSuite //scala unit test \ No newline at end of file diff --git a/hbase-spark/pom.xml b/hbase-spark/pom.xml index 8417d2f..a7997f1 100644 --- a/hbase-spark/pom.xml +++ b/hbase-spark/pom.xml @@ -40,7 +40,6 @@ 1.6.0 2.10.4 2.10 - true ${project.basedir}/.. 1.7.6 @@ -611,17 +610,6 @@ test - true - - - - integration-test - integration-test - - test - - - Integration-Test -Xmx1536m -XX:ReservedCodeCacheSize=512m @@ -696,6 +684,7 @@ true true + true