mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
[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:
committed by
Richard Liaw
parent
528bb3afd9
commit
1480f309c3
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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`_.
|
||||
|
||||
|
||||
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user