Skip to content

Aggregation of the three most popular Bats utility libraries

License

Notifications You must be signed in to change notification settings

bash-bastion/bats-all

bats-all

An aggregation of the three most popular Bats utility libraries

Summary

The three repositories are managed with git-subtree(1). They are the following:

Installation

With npm

npm install --save-dev @hyperupcall/bats-all

With Basalt

Use Basalt, a Bash package manager, to add this project as a dependency

basalt add bash-bastion/bats-all

You need to source this project manually (basalt.load 'github.com/bash-bastion/bats-all' 'load.bash') within your tests. Entries are not added to this projects' sourceDirs because that would mean this library would be sourced, even when not testing

With Git

Using git-submodule:

git submodule add https://github.com/bash-bastion/bats-all ./vendor/bats-all

Using git-subtree:

git subtree --squash -P vendor/bats-all add https://github.com/bash-bastion/bats-all HEAD