bash-it/test
Alex Thiessen c003f0f342
test/plugins/go: Skip tests in absence of `go`
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.
2020-04-10 00:03:39 +00:00
..
bash_it Added assert_link_exist function and use that 2017-10-14 18:02:04 +02:00
completion Replaced reload section with proper function. 2018-04-18 21:51:20 +02:00
fixtures/bash_it Test cases for loading from global directory 2017-09-17 21:05:59 +02:00
install Added assert_link_exist function and use that 2017-10-14 18:02:04 +02:00
lib Update jump plugin 2020-02-03 11:43:24 -07:00
plugins test/plugins/go: Skip tests in absence of `go` 2020-04-10 00:03:39 +00:00
themes Merge pull request #1395 from zhao-li/toggle-able_commit_count 2019-09-02 08:45:19 +02:00
README.md Updated documentation for global directory 2017-09-17 21:05:58 +02:00
run Refactored test run script so that you can run a single file 2017-11-02 06:46:01 +01:00
test_helper.bash test/test_helper: Don't use system/user `git` config 2020-04-08 14:31:33 +02:00

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.