macOS
brew install bash_unitlocal Homebrew formula metadata
brew
Bash unit testing enterprise edition framework for professionals. Version 2.3.3 via Homebrew; verified from local package data.
install
brew install bash_unitlocal Homebrew formula metadata
sudo apt install bash-unitDebian stable package indexes · bash-unit · source: deb.debian.org
nix profile install nixpkgs#bash_unitnixpkgs package indexes · pkgs/by-name/ba/bash_unit/package.nix · source: api.github.com
overview
Bash unit testing enterprise edition framework for professionals
history
bash_unit is a Bash unit-testing framework. It is intentionally small: an installable shell test runner for projects that want assertions and test discovery without leaving Bash.
The official executable identifies itself as a Bash unit testing framework and carries Pascal Grange copyright years 2011-2016. Its source points to the official `bash-unit/bash_unit` repository and currently declares version v2.3.3.
The repository tag list starts at v0.0.1 and progresses through v1.x and v2.x releases, showing a long-maintained single-purpose shell testing tool rather than a recent wrapper around a larger framework.
bash_unit adoption is concentrated among shell-script projects that want tests but do not need Bats or a cross-language test framework. The batch input shows Homebrew, Debian, and Nix packages, which is enough distribution coverage to make it a repeatable dependency in developer workstations and CI images.
Users write Bash test functions and run them with the `bash_unit` executable. The tool provides assertions, colored reporting, failure output, and a small runtime that remains close to plain shell code.
bash_unit matters mostly as part of the Bash testing ecosystem. Package nerds care because shell code is everywhere, but many shell projects historically had little test structure; a small packaged runner lowers the friction without introducing a language runtime beyond Bash itself.
It also sits in the interesting overlap between package infrastructure and package contents: many packages are built by shell scripts, and tools like bash_unit help test that glue code.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bash_unit | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/bash-unit/bash_unit
install metadata
| Package key | brew:bash_unit |
|---|---|
| Version | 2.3.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bash_unit |
| Homepage | https://github.com/bash-unit/bash_unit |
| Repository | https://github.com/bash-unit/bash_unit |
| Upstream docs | https://github.com/bash-unit/bash_unit#readme |
| License | GPL-3.0-only |
| Source archive | https://github.com/bash-unit/bash_unit/archive/refs/tags/v2.3.3.tar.gz |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bash_unit |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bash-unit 2.3.2-1
bash_unit - bash unit testing
https://github.com/pgrange/bash_unit
sudo apt install bash-unitbash_unit
nix profile install nixpkgs#bash_unitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.