bash-it/test
Dan Wendorf c5f2c408e7 SCM_CURRENT_USER supports accented characters
`tr 'A-Z' 'a-z'` will only convert non-accented characters. Switching to
`[:upper:]` and `[:lower:]` adds support for accents.
See https://github.com/koalaman/shellcheck/wiki/SC2018

Additionally, printf's character splitting does not support accented
characters, so output isn't as expected. Using bash's variable expansion
syntax instead will correctly get the full accented character.
2017-12-18 09:05:33 -08: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 test for the "no" energy tool case 2017-11-02 06:46:01 +01:00
themes SCM_CURRENT_USER supports accented characters 2017-12-18 09:05:33 -08: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 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.