Skip to content

Commit

Permalink
Fix formatting code block in TESTING.rst (apache#8985)
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m authored May 23, 2020
1 parent bdb8369 commit f3456b1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions TESTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -951,30 +951,30 @@ Running BATS Tests on the Host

To run all tests:

```
bats -r tests/bats/
```
.. code-block:: bash
bats -r tests/bats/
To run a single test:

```
bats tests/bats/your_test_file.bats
```
.. code-block:: bash
bats tests/bats/your_test_file.bats
Running BATS Tests via Docker
-----------------------------

To run all tests:

```
docker run -it --workdir /airflow -v $(pwd):/airflow bats/bats:latest -r /airflow/tests/bats
```
.. code-block:: bash
docker run -it --workdir /airflow -v $(pwd):/airflow bats/bats:latest -r /airflow/tests/bats
To run a single test:

```
docker run -it --workdir /airflow -v $(pwd):/airflow bats/bats:latest /airflow/tests/bats/your_test_file.bats
```
.. code-block:: bash
docker run -it --workdir /airflow -v $(pwd):/airflow bats/bats:latest /airflow/tests/bats/your_test_file.bats
Using BATS
----------
Expand Down

0 comments on commit f3456b1

Please sign in to comment.