Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 545 Bytes

TESTING.md

File metadata and controls

15 lines (12 loc) · 545 Bytes

Testing

Each BATS addon must be tested by its own BATS test.

How do I write a test?

Add a new test into the tests file or failed tests file, depending on the use case. All test data should be added under data..

Execute Locally

bats test/tests.sh
bats test/tests_fail.sh

CI Linting

The repo uses a shellcheck GitHub Action to lint all the bash files.