# busted を Homebrew, pacman でインストール

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

## インストール

```sh
sudo av install brew:busted
```

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

### macOS

- Homebrew (100%):

```sh
brew install busted
```

  証拠: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S busted
```

  証拠: Arch Linux sync databases: busted from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:busted
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.3.0
- **ソース概要:** Elegant Lua unit testing
- **ホームページ:** <https://lunarmodules.github.io/busted/>
- **リポジトリ:** <https://github.com/lunarmodules/busted>
- **最終更新:** 2026-06-22T14:02:56-07:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- busted (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.3.0
## プロジェクトの歴史と使われ方

busted is a Lua unit testing framework with a behavior/spec style, expressive assertions, spies, mocks, multiple output formats, and LuaRocks-first distribution. It is one of the familiar testing tools in the Lua and LuaJIT package ecosystem.

### プロジェクトの歴史

The current repository was created in August 2012, and the project documentation and license history show its Olivine Labs origin before the repository later lived under LunarModules. The README describes a framework focused on easy-to-read specs, nested `describe` and `it` blocks, chainable assertions, tags, mocks, spies, and support for Lua 5.1+, LuaJIT, and MoonScript.

The official docs list version 2.1.1 and present busted as both a command-line runner and a library of testing conventions. The rockspec documents its LuaRocks packaging, MIT license, CLI installation, and dependencies including luassert, say, lua_cliargs, Penlight, dkjson, and related Lua modules.

### 採用の歴史

busted's adoption comes from being the natural test runner for many LuaRocks projects and from easy invocation in CI. The input metadata records Homebrew and Arch packaging, while the upstream README documents LuaRocks installation, Docker usage, and a GitHub Action for running busted in workflows.

### 使われ方

Typical usage is to write Lua specs with `describe` and `it`, use `assert` helpers from luassert, optionally add mocks or spies, then run the `busted` CLI over a file or test directory. Output handlers include terminal, JSON, TAP, JUnit, and other CI-friendly formats.

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

busted is significant because it helped give Lua projects a conventional, packageable test workflow comparable to RSpec, Jasmine, or Mocha in other ecosystems. For package maintainers, it is also the test command that turns many Lua modules from 'installs successfully' into 'can actually be verified during packaging'.

### タイムライン

- 2012: Public repository created; copyright history begins with Olivine Labs.
- 2010s: busted became established as a LuaRocks-distributed Lua testing framework.
- 2020: README copyright range still referenced Olivine Labs before later LunarModules stewardship.
- 2026: The LunarModules repository and docs remain active, with Homebrew and Arch package metadata present in the input.

### Related projects

- busted is closely related to Lua, LuaJIT, LuaRocks, luassert, say, lua_cliargs, Penlight, MoonScript, luacov, TAP/JUnit output consumers, and spec-style test frameworks such as RSpec, Jasmine, and Mocha.

### ソース

- <https://github.com/lunarmodules/busted>
- <https://lunarmodules.github.io/busted>
- <https://raw.githubusercontent.com/lunarmodules/busted/master/README.md>
- <https://raw.githubusercontent.com/lunarmodules/busted/master/busted-scm-1.rockspec>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: .busted
## 他のパッケージマネージャ記録

- pacman - busted - 2.3.0-3: normalized package name match | Arch Linux sync databases: busted from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Elegant Lua unit testing (CLI) | https://lunarmodules.github.io/busted/


## Combined YAML source

View the package source record on GitHub. [combined/busted.yml](https://github.com/mxcl/pkgdb/blob/main/combined/busted.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
