Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Basic Python/R build info belongs in, is already in the project documentation

...

Code Block
build/sbt "test-only org.apache.spark.rdd.SortingSuite"
Python Tests

There are some dependencies to run Python tests locally:

The unittests will run try to with Python 2.6 (which the oldest support version) if it's available, Python 2.6 needs unittest2 to run the tests, which could be installed by pip2.6 .

NumPy 1.4+ is needed for run MLlib Python tests, which should be also installed for Python 2.6.

After that, you can run all the Python unittests by

Code Block
python/run-tests
R Tests

To run the SparkR tests you will need to install the R package 'testthat' (Run `install.packages(testthat)` from R shell).  You can run just the SparkR tests using the command

Code Block
R/run-tests.sh
Running Different Test Permutations on Jenkins

...