bash-it/test
Alex Thiessen deb01e6834
test/plugins/base: Adjust `myip` expected output
The `myip()` function outputs colored text while the test doesn't expect
this and fails when run.

Also, strings with blanks were compared while quotes around one of them
was missing, so the test was bogus anyway. Fix this, too.

The test wasn't run in CI builds until now, apparently.
2020-04-05 21:31:45 +02: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/base: Adjust `myip` expected output 2020-04-05 21:31:45 +02: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 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.