bash-it/test
Nils Winkler d0b3205de0 Added an additional test case and a fix for using the pmset command
The other commands still need to be mocked and tested/fixed, too.
2017-11-02 06:46:01 +01:00
..
bash_it Added assert_link_exist function and use that 2017-10-14 18:02:04 +02:00
completion Added assert_link_exist function and use that 2017-10-14 18:02:04 +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 Checking for link target 2017-10-14 18:02:04 +02:00
plugins Added an additional test case and a fix for using the pmset command 2017-11-02 06:46:01 +01:00
themes Moved to bats-assert for assert functions 2017-10-14 18:00:43 +02:00
README.md Updated documentation for global directory 2017-09-17 21:05:58 +02:00
run Fixed some shellcheck warnings 2017-10-17 08:18:58 +02:00
test_helper.bash Added assert_link_exist function and use that 2017-10-14 18:02:04 +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.