Automic VaultAutomic Vault

brew

bash_unit を Homebrew, apt, Nix でインストール

bash_unit のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install bash_unit

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install bash-unit

Debian stable package indexes · bash-unit · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#bash_unit

nixpkgs package indexes · pkgs/by-name/ba/bash_unit/package.nix · ソース: api.github.com

概要

パッケージ概要

Bash unit testing enterprise edition framework for professionals

コマンドとエイリアス

  • bash_unit

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2011: Copyright header begins for bash_unit's main executable.
  • 2010s: Tag series begins at v0.0.1 and reaches v1.x.
  • 2020s: v2.x release series continues through v2.3.3.
  • 2020s: Homebrew, Debian, and Nix package the runner.

Related projects

  • Related Bash and shell test tools include Bats, shunit2, ShellSpec, ShellCheck, and shfmt. bash_unit occupies the minimal unit-test-runner lane among those tools.

ソース

  • Official `bash_unit` executable identifies the framework, copyright years 2011-2016, repository URL, and version v2.3.3.
  • Official tags list shows v0.0.1 through v2.3.3 release tags.
  • input.source_facts.package-manager lists Homebrew, Debian, and Nix packaging.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
bash_unitcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.3.3
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v2.3.3

https://github.com/bash-unit/bash_unit

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:bash_unit
バージョン2.3.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/bash_unit
ホームページhttps://github.com/bash-unit/bash_unit
リポジトリhttps://github.com/bash-unit/bash_unit
上流ドキュメントhttps://github.com/bash-unit/bash_unit#readme
ライセンスGPL-3.0-only
ソースアーカイブhttps://github.com/bash-unit/bash_unit/archive/refs/tags/v2.3.3.tar.gz
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebash_unit
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

bash-unit 2.3.2-1

bash_unit - bash unit testing

https://github.com/pgrange/bash_unit

sudo apt install bash-unit
  • Section: devel
  • Architecture: all
  • normalized package name match
  • 一致条件: Bash Unit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bash-unit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bash_unit

nix profile install nixpkgs#bash_unit
  • normalized package name match
  • 一致条件: Bash Unit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bash_unit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment