SkillAgentSearch skills...

Bashunit

A simple yet powerfull testing library for bash scripts.

Install / Use

/learn @TypedDevs/Bashunit

README

<p align="center"> <a href="https://github.com/TypedDevs/bashunit/actions/workflows/tests.yml"> <img src="https://github.com/TypedDevs/bashunit/actions/workflows/tests.yml/badge.svg" alt="Tests"> </a> <a href="https://github.com/TypedDevs/bashunit/actions/workflows/static_analysis.yml"> <img src="https://github.com/TypedDevs/bashunit/actions/workflows/static_analysis.yml/badge.svg" alt="Static analysis"> </a> <a href="https://github.com/TypedDevs/bashunit/actions/workflows/publish-docs.yml"> <img src="https://github.com/TypedDevs/bashunit/actions/workflows/publish-docs.yml/badge.svg" alt="Publish Docs"> </a> <a href="https://github.com/TypedDevs/bashunit/actions/workflows/linter.yml"> <img src="https://github.com/TypedDevs/bashunit/actions/workflows/linter.yml/badge.svg" alt="Editorconfig checker"> </a> <a href="https://github.com/TypedDevs/bashunit/blob/main/LICENSE"> <img src="https://img.shields.io/badge/License-MIT-green.svg" alt="MIT Software License"> </a> <a href="https://deepwiki.com/TypedDevs/bashunit"> <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"> </a> </p> <br> <p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/public/logo-name-dark.svg"> <img alt="bashunit" src="docs/public/logo-name.svg" width="400"> </picture> </p> <h1 align="center">A simple testing framework for bash scripts</h1> <p align="center"> Test your bash scripts in the fastest and simplest way, discover the most modern bash testing framework. </p>

Description

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.

Documentation

You can find the complete documentation for bashunit online, including installation instructions and the various features it provides, in the official bashunit documentation.

Requirements

bashunit requires Bash 3.0 or newer.

Contribute

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.

View on GitHub
GitHub Stars403
CategoryDevelopment
Updated18m ago
Forks46

Languages

Shell

Security Score

100/100

Audited on Mar 29, 2026

No findings