init provides access to the following tools in one place:
batsRun Bats (Bash Automated Testing System) testslibguestfs(i.e.guestfish,virt-customize) Tools for accessing and modifying virtual machine disk imagesrecordrRecord terminal sessions and convert them to SVG
If sourced, all provided binaries that can't be found locally are aliased and can be used for the rest of the current shell session.
source <(curl -LfsS https://git.io/init.rc)
bats testIf executed, a single command can be invoked without further modifications of the current shell session.
curl -LfsS https://git.io/init.rc | "$SHELL" -s -- bats testgit clone https://github.com/bkahlert/init.git
cd init
# Use Bats wrapper to run tests
curl -LfsS https://git.io/batsw \
| DOCKER_BAKE="--set '*.tags=test'" "$SHELL" -s -- --batsw:-e --batsw:BUILD_TAG=test testBats Wrapper is a self-contained wrapper to run tests based on the Bash testing framework Bats.
💡 To accelerate testing, the Bats Wrapper checks if any test is prefixed with a capital X and if so, only runs those tests.
Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by making a PayPal donation to ensure this journey continues indefinitely!
Thanks again for your support, it is much appreciated! 🙏
MIT. See LICENSE for more details.