bash_shell_mock
bashunit
bash_shell_mock | bashunit | |
---|---|---|
1 | 2 | |
61 | 222 | |
- | 2.7% | |
1.9 | 9.8 | |
over 2 years ago | 11 days ago | |
Shell | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bash_shell_mock
-
Getting Started with Bash Testing with Bats
I won't add mocking capabilities to our example project here, but I would like to give a short overview on how you can add Mocking to your Bats tests. For my git-auto-commit project I've used Shellmock for a period of time, to mock all calls to git. (In hindsight, that was a mistake. Full story can be read here).
bashunit
What are some alternatives?
shell-intune-samples - Sample shell scripts for Intune admins.
bats-core - Bash Automated Testing System
git-auto-commit-action - Automatically commit and push changed files back to GitHub with this GitHub Action for the 80% use case.
jsonlite - A simple, self-contained, serverless, zero-configuration, json document store.
tmux-xpanes - Awesome tmux-based terminal divider
getting-started-with-bash-testing - Example Bash Project to get started with testing with Bats.
bpkg - Lightweight bash package manager
bach - Bach Testing Framework
TermuxArch - You can use setupTermuxArch.bash 📲 to install Arch Linux in Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/TermuxArch/docs/install
bats-assert - Common assertions for Bats
sysz - An fzf terminal UI for systemctl