In case `go` is not installed, tests of the according plugin fail. It's better to just skip them since `golang` isn't commonly installed on `bash-it` developers' machines. In CI environment, no tests should be skipped, so run them anyway. |
||
|---|---|---|
| .. | ||
| bash_it | ||
| completion | ||
| fixtures/bash_it | ||
| install | ||
| lib | ||
| plugins | ||
| themes | ||
| README.md | ||
| run | ||
| test_helper.bash | ||
README.md
Testing with Bats
To execute the unit tests, please run the run script:
# If you are in the `test` directory:
./run
# If you are in the root `.bash_it` directory:
test/run
The run script will automatically install Bats if it is not already present, and will then run all tests found under the test directory, including subdirectories.