bash-it/test
Nils Winkler 8319545b0a Switched to Bats-core as a submodule
Can't use the official v0.4.0 release, since our tests rely on a change
that was made after the release of v0.4.0.

This code currently uses an unversioned commit of the bats-core repo, we
will switch to a supported version once it has been released, e.g.
v0.4.1.
2017-10-14 18:00:43 +02:00
..
bash_it Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
completion Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
fixtures/bash_it Test cases for loading from global directory 2017-09-17 21:05:59 +02:00
install Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
lib Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
plugins Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
themes Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin 2017-09-17 21:05:59 +02:00
README.md Updated documentation for global directory 2017-09-17 21:05:58 +02:00
run Switched to Bats-core as a submodule 2017-10-14 18:00:43 +02:00
test_helper.bash Added support for local setup/teardown functions 2017-06-24 17:31:30 +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.