bats_load_library “library-name”
Instructs bats-core to load a library.
The directories, where bats-core libraries are searched, are defined by $BATS_LIB_PATH.
BashSupport Pro bundles the following libraries and adds them at the end of $BATS_LIB_PATH:
Usage
| 1st argument (required) | Library name or library file path to load |
Links
Examples
- Load the
bats-filelibrary: 1bats_load_library "bats-file"
BashSupport Pro ist eine Shell-Skript-IDE mit Unterstützung für bats_load_library von bats-core - probieren Sie es jetzt aus!