刘凡 9ff4d1d109 add S3,archive,truncate 2 rokov pred
..
example_logfiles 9ff4d1d109 add S3,archive,truncate 2 rokov pred
README.md 9ff4d1d109 add S3,archive,truncate 2 rokov pred
test_extract_failed_ids.bats 9ff4d1d109 add S3,archive,truncate 2 rokov pred
test_extract_successful_ids.bats 9ff4d1d109 add S3,archive,truncate 2 rokov pred

README.md

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.