1
0
Fork 0
mirror of synced 2024-05-09 06:42:36 +12:00

Add information to sub-README

This commit is contained in:
Serene-Arc 2021-06-13 13:10:13 +10:00
parent 6755d15675
commit fc42587a8f

View file

@ -0,0 +1,13 @@
# Bash Scripts Testing
The `bats` framework is included and used to test the scripts included, specifically the scripts designed to parse through the logging output. As this involves delicate regex and indexes, it is necessary to test these.
## Running Tests
Running the tests are easy, and can be done with a single command. Once the working directory is this directory, run the following command.
```bash
./bats/bin/bats *.bats
```
This will run all test files that have the `.bats` suffix.