1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00
bats/libexec
Nelo Wallus 617e086a26 Allow sourcing of helper files from BATS_LIB_PATH
The existing functionality of load() is preserved:
    1. Load helper files in the same directory the current testfile
       resides in
    2. Load helper files by absolute path

Additionally an environment variable BATS_LIB_PATH can be defined to
be source helper files from.

If BATS_LIB_PATH is empty the following locations are used:
    1. $HOME/.bats/lib
       Allows users to manage helper libraries themselves, similar to
       python/ruby/...
    2. /usr/lib/bats
       Allows to install helper libraries via a package manager.
2017-10-09 19:51:21 +02:00
..
bats bats-exec-suite: Count tests w/ BATS_TEST_PATTERN 2017-09-30 15:12:38 -04:00
bats-exec-suite bats-exec-suite: Count tests w/ BATS_TEST_PATTERN 2017-09-30 15:12:38 -04:00
bats-exec-test Allow sourcing of helper files from BATS_LIB_PATH 2017-10-09 19:51:21 +02:00
bats-format-tap-stream Merge pull request #19 from agent-0028/harschware-tap_skip_test_fix 2017-10-03 14:54:31 -04:00
bats-preprocess bats-exec-suite: Count tests w/ BATS_TEST_PATTERN 2017-09-30 15:12:38 -04:00