From 74b5f61dbf86074d17dee3e237904bb6ac1fbdc1 Mon Sep 17 00:00:00 2001 From: Marshall Main Date: Mon, 6 Jan 2020 12:17:25 -0500 Subject: [PATCH] add single test run instructions to docs --- test_elasticsearch/README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_elasticsearch/README.rst b/test_elasticsearch/README.rst index 18ef3d1f..75071a05 100644 --- a/test_elasticsearch/README.rst +++ b/test_elasticsearch/README.rst @@ -39,6 +39,9 @@ Alternatively, if you wish to control what you are doing you have several additi * you can just run your favorite runner in the ``test_elasticsearch`` directory (verified to work with nose and py.test) and bypass the fetch logic entirely. + * to run a specific test, you can use ``python3 setup.py test -s ``, for example + ``python3 setup.py test -s test_elasticsearch.test_helpers.TestParallelBulk.test_all_chunks_sent`` + To install all test dependencies you can also run ``pip install -e .[develop]``. Run Elasticsearch in a Container