You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/test.rst
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,17 +26,46 @@ To execute the unit tests, please run the ``run`` script:
26
26
27
27
The ``run`` script will automatically install if it is not already present, and will then run all tests found under the ``test`` directory, including subdirectories.
28
28
29
-
To run only a subset of the tests, you can provide the name of the test subdirectory that you want to run, e.g. like this for the tests in the ``test/themes`` directory:
29
+
To run only a subset of the tests, you can provide a directory or a specific test file:
30
30
31
31
.. code-block:: bash
32
32
33
-
#If you are in the root `.bash_it` directory:
33
+
#Run all tests in a directory:
34
34
test/run test/themes
35
35
36
-
By default, the tests run in single-threaded mode.
37
-
If you want to speed up the test execution, you can install the `GNU ``parallel`` tool <https://www.gnu.org/software/parallel/>`_\ , which is supported by Bats.
38
-
When using ``parallel``\ , the ``test/run`` script will use a number of threads in parallel, depending on the available CPU cores of your system.
0 commit comments