mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #558 from jtpio/integration-tests-docs
Add bootstrap pip spec to the integration test docs
This commit is contained in:
@@ -39,12 +39,10 @@ You can then run the tests with:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
.circleci/integration-test run-test <name-of-run> <test-file-names>
|
||||
.circleci/integration-test.py run-test <name-of-run> <test-file-names>
|
||||
|
||||
|
||||
``<name-of-run>`` is an identifier for the tests - you can choose
|
||||
anything you want. ``<test-file-names>>`` is list of test files
|
||||
(under ``integration-tests``) that should be run in one go.
|
||||
- ``<name-of-run>`` is an identifier for the tests - you can choose anything you want
|
||||
- ``<test-file-names>>`` is list of test files (under ``integration-tests``) that should be run in one go.
|
||||
|
||||
For example, to run all the basic tests, you would write:
|
||||
|
||||
@@ -57,3 +55,11 @@ For example, to run all the basic tests, you would write:
|
||||
|
||||
This will run the tests in the three files against the same installation
|
||||
of TLJH and report errors.
|
||||
|
||||
If you would like to run the tests with a custom pip spec for the bootstrap script, you can use the ``--bootstrap_pip_spec``
|
||||
parameter:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
.circleci/integration-test.py run-test <name-of-run> <test-file-names> \
|
||||
--bootstrap_pip_spec="git+https://github.com/your-username/the-littlest-jupyterhub.git@branch-name"
|
||||
|
||||
Reference in New Issue
Block a user