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

Examples

Load the bats-file library:
1
bats_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!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches