[doc] Replace runtest.py with mini_test.py in documentation. (#3750)

Rename `xray_test.py` to `mini_test.py` and use that in the documentation. Right now we suggest that people run `runtest.py`, but that often doesn't succeed and takes too long.
This commit is contained in:
Robert Nishihara
2019-01-12 14:05:28 -08:00
committed by Richard Liaw
parent 528bb3afd9
commit 1480f309c3
5 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ script:
- python -m pytest -v --durations=10 python/ray/test/test_global_state.py
- python -m pytest -v --durations=10 python/ray/test/test_queue.py
- python -m pytest -v --durations=10 python/ray/test/test_ray_init.py
- python -m pytest -v --durations=10 test/xray_test.py
- python -m pytest -v --durations=10 test/mini_test.py
- python -m pytest -v --durations=10 test/runtest.py
- python -m pytest -v --durations=10 test/array_test.py
+1 -1
View File
@@ -44,7 +44,7 @@ helpful.
.. code-block:: shell
cd ray
python test/runtest.py APITest.testKeywordArgs
python -m pytest -v test/runtest.py::test_keyword_args
When running tests, usually only the first test failure matters. A single
test failure often triggers the failure of subsequent tests in the same
+1 -1
View File
@@ -148,7 +148,7 @@ container shell enter the following commands:
.. code-block:: bash
python test/runtest.py # This tests basic functionality.
python -m pytest -v test/mini_test.py # This tests some basic functionality.
You are now ready to continue with the `tutorial`_.
+1 -2
View File
@@ -116,8 +116,7 @@ that you've cloned the git repository.
.. code-block:: bash
export PYTHONPATH="$PYTHONPATH:./test/"
python -m pytest test/runtest.py
python -m pytest -v test/mini_test.py
Cleaning the source tree
~~~~~~~~~~~~~~~~~~~~~~~~