Namespace src/Bats
src/Bats
Overview
Directory src/Bats
file source src/Bats/installRequirementsIfNeeded.sh
Bats::installRequirementsIfNeeded
install requirements to execute bats
Environment variables
- BASH_FRAMEWORK_BATS_DEPENDENCIES_CHECK_TIMEOUT (int): default value 86400 (86400 seconds = 1 day)
Variables set
- BASH_FRAMEWORK_BATS_DEPENDENCIES_INSTALLED (String): the file created when all git shallow clones have succeeded
Output on stderr
- diagnostics information is displayed
Features
- Git::shallowClone
Warnings
- the following repositories are shallow cloned
- cloning is skipped if vendor/.batsInstalled file exists
- a new check is done everyday
- repository is not updated if a change is detected
See also
- https://github.com/bats-core/bats-core
- https://github.com/bats-core/bats-support
- https://github.com/bats-core/bats-assert
- https://github.com/Flamefire/bats-mock