Test your bash scripts in the fastest and simplest way, discover the most modern bash testing framework.
bashunit is a comprehensive and lightweight testing framework for Bash, focused on the development experience. It boasts hundreds of assertions and functionalities like spies, mocks, providers and more, offers concise and clear documentation, and has a very active community.
You can find the complete documentation for bashunit online, including installation instructions and the various features it provides, in the official bashunit documentation.
You are welcome to contribute reporting issues, sharing ideas, or with your pull requests.
Make sure to read our contribution guide where you will find, among other things, how to set up your environment with the various tools we use to develop this framework.