Automic VaultAutomic Vault

brew

bashunit を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install bashunit

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install bashunit

MacPorts ports tree · devel/bashunit/Portfile · ソース: api.github.com

Linux

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

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

概要

パッケージ概要

Simple testing library for bash scripts

コマンドとエイリアス

  • bashunit

履歴

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

bashunit is a modern Bash testing framework by TypedDevs. Its README describes it as a lightweight, fast framework for Bash 3.0+ with assertions, spies, mocks, data providers, snapshots, and other developer-experience features.

プロジェクトの歴史

The project began publicly with version 0.1.0 on 2023-09-04, according to its official CHANGELOG. It developed rapidly through 2023 and 2024, adding documentation, examples, new assertions, configuration, snapshots, data providers, output formats, and CI-oriented reporting.

By late 2025 and 2026, bashunit had expanded beyond basic assertions into coverage, profiling, watch mode, parallel execution improvements, TAP/JUnit/GitHub Actions reporting, checksum-verified installer behavior, and an official composite GitHub Action.

採用の歴史

The project is distributed as a project-local installer from bashunit.com, an npm package, a Homebrew formula, and package-manager entries in MacPorts and Nix according to the supplied package facts. The docs site metadata identifies the current public site as bashunit.com and lists v0.40.0 on 2026-06-16.

bashunit's adoption story is tied to shell-heavy repositories wanting tests without moving logic into another language. The README explicitly frames it as a fast, simple way to test Bash scripts and includes a one-file quickstart.

使われ方

The README quickstart installs the runner into a project with `curl -s https://bashunit.com/install.sh | bash`, writes test functions in shell files under `tests/`, and runs them with `./lib/bashunit tests/`.

The official docs describe configuration through `.env` and, since 0.37.0, `.bashunitrc`. Recent releases add workflow-friendly features such as JUnit, TAP, GitHub Actions annotations, coverage reports, test timeouts, and a composite GitHub Action.

パッケージ好きにとっての重要性

bashunit matters to package nerds because it is part of the small ecosystem that tests shell as shell. It keeps the runtime requirement low, uses Bash 3.0+ for broad compatibility, and packages itself for project-local use, npm, Homebrew, MacPorts, and Nix.

Its changelog is also an example of a modern CLI project optimizing for CI ergonomics: pinned GitHub Actions, checksum verification, inline annotations, coverage formats, and failure output tuned for automated logs.

タイムライン

  • 2023-09-04: Version 0.1.0 appears in the official CHANGELOG.
  • 2023-10-15: Version 0.9.0 adds early blog/docs-era features.
  • 2024-07-14: Version 0.14.0 continues the pre-1.0 feature cadence.
  • 2025-12-19: Version 0.31.0 adds code coverage tracking.
  • 2026-02-15: Version 0.33.0 lowers the minimum Bash version to 3.0 and improves parallel execution.
  • 2026-06-07: Version 0.38.0 adds the official `TypedDevs/bashunit` GitHub Action.
  • 2026-06-16: Version 0.40.0 adds per-test timeouts and moves URLs to bashunit.com.

Related projects

  • The project includes its own installer, npm distribution, docs site, and official GitHub Action. It is adjacent to other shell test runners, but the official sources emphasize bashunit's own Bash 3.0+ compatibility and CI/reporting features.

セキュリティ状態

保護ツール対応はまだ見つかっていません

bashunit に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

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

推奨レビュー

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.env./.bashunitrc

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版0.43.0
マネージャ更新日2026-07-24
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/TypedDevs/bashunit

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:bashunit
バージョン0.43.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/bashunit
ホームページhttps://bashunit.typeddevs.com
リポジトリhttps://github.com/TypedDevs/bashunit
上流ドキュメントhttps://bashunit.com/
ライセンスMIT
ソースアーカイブhttps://github.com/TypedDevs/bashunit/releases/download/0.43.0/bashunit
最終更新2026-07-24T10:08:47Z
Pulseupdated
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Nix95%

bashunit

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

bashunit

sudo port install bashunit
  • normalized package name match
  • 一致条件: Bashunit
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/bashunit/Portfile from https://api.github.com/repos/macports/macports-ports/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment