Files
BDFR_Web/scripts/tests
OMEGARAZER ef7fcce1cc lint tests
Lint with [refurb](https://github.com/dosisod/refurb) using `--disable 126 --python-version 3.9`

Also update bats to 1.8.2 and bats-assets to 2.1.0. No changes to the tests, all still passing.
2022-11-30 18:05:10 -05:00
..
2022-11-30 18:05:10 -05:00
2022-11-29 11:48:24 -05:00
2022-11-30 18:05:10 -05:00
2021-06-13 13:10:13 +10:00

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.

./bats/bin/bats *.bats

This will run all test files that have the .bats suffix.