Updated documentation for global directory

This commit is contained in:
Nils Winkler
2017-09-15 08:10:16 +02:00
parent be9b0e71c4
commit b37da4e1f0
2 changed files with 16 additions and 5 deletions

View File

@@ -1,4 +1,13 @@
## Testing with [Bats](https://github.com/sstephenson/bats#installing-bats-from-source)
To execute the unit tests, please run the `run` script:
```bash
# If you are in the `test` directory:
./run
# If you are in the root `.bash_it` directory:
test/run
```
bats test/{lib,plugins}
```
The `run` script will automatically install [Bats](https://github.com/sstephenson/bats#installing-bats-from-source) if it is not already present, and will then run all tests found under the `test` directory, including subdirectories.