bash-it/test
Konstantin Gredeskoul 09c2be9d6b Refactor (extract utilities + add tests) & more…
* Extracting common utilities into utilities.bash
 * Adding new tests for utilities
 * Relocating the cache file to be under $BASH_IT
 * Removing cache cleanup deferral code for now
 * Wiping the cache in local_setup in tests.
2018-11-23 16:40:35 -08: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 Refactor (extract utilities + add tests) & more… 2018-11-23 16:40:35 -08: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 Replaced reload section with proper function. 2018-04-18 21:51:20 +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.