macOS
brew install beakerliblocal Homebrew formula metadata
安装
brew install beakerliblocal Homebrew formula metadata
sudo dnf install beakerlibFedora Rawhide package metadata · beakerlib · 来源: dl.fedoraproject.org
概览
Shell-level integration testing library
历史
BeakerLib is a shell-level integration testing library for writing, running, logging, and analyzing integration and black-box tests. It is especially associated with Fedora/RHEL-style test automation, where shell tests need consistent phases, assertions, journals, and result files.
The current documentation says the project moved to its new official home after fedorahosted.org was shut down. The GitHub repository was created on 2017-03-01 and the README identifies it as the upstream project for a shell testing library with Fedora/RHEL distribution support.
BeakerLib's manual documents the long-lived shell API surface: tests source /usr/share/beakerlib/beakerlib.sh, start and end journals, divide work into phases, run commands, assert conditions, manage services and files, and emit journal.txt, journal.xml, and TestResults output.
The README documents Fedora and RHEL packaging as the primary distribution path, with newer builds available through COPR. The batch package facts show Homebrew and Fedora packaging, which is narrower than Beads or bdftopcf but notable because the package carries Linux distribution QA practices into local developer environments.
The beakerlib GitHub organization also hosts many domain-specific shell libraries, showing that BeakerLib became more than one script: it is a shared testing vocabulary for distribution and system-integration tests.
A BeakerLib test is usually a shell script that sources beakerlib.sh, opens a journal, runs setup/test/cleanup phases, records assertions and command results, then closes the journal. The official manual centers on repeatable logging and result reporting rather than unit-test style in-process assertions.
The library is used for integration and black-box tests where shell commands, packages, services, files, sockets, mounts, virtual X, performance metrics, reboot handling, and cleanup must be coordinated in a readable script.
BeakerLib is package-nerd significant because it is a packaged testing framework for the shell and the operating system, not just for an application language. It reflects the needs of distribution QA: tests must install from packages, manipulate services, survive real system state, and produce machine-readable logs for automation.
Its move from Fedora Hosted to GitHub/Read the Docs also marks a common infrastructure migration path for older Fedora-era projects after fedorahosted.org was retired.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
beakerlib-deja-summarize | cli | 全局可执行文件 | |
beakerlib-journalcmp | cli | 全局可执行文件 | |
beakerlib-journalling | cli | 全局可执行文件 | |
beakerlib-lsb_release | cli | 全局可执行文件 | |
beakerlib-rlMemAvg | cli | 全局可执行文件 | |
beakerlib-rlMemPeak | cli | 全局可执行文件 | |
beakerlib-testwatcher | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/beakerlib/beakerlib
安装元数据
| 软件包键 | brew:beakerlib |
|---|---|
| 版本 | 1.33.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/beakerlib |
| 主页 | https://github.com/beakerlib/beakerlib |
| 仓库 | https://github.com/beakerlib/beakerlib |
| 上游文档 | https://beakerlib.readthedocs.io/en/latest |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://github.com/beakerlib/beakerlib/archive/refs/tags/1.33.3.tar.gz |
| 最后更新 | 2026-06-22T14:02:52-07:00 |
| Pulse | updated |
| 依赖 | coreutils, gnu-getopt |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | beakerlib |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
beakerlib 1.33.3-1.fc45
A shell-level integration testing library
sudo dnf install beakerlibbeakerlib-vim-syntax 1.33.3-1.fc45
Files for syntax highlighting BeakerLib tests in VIM editor
sudo dnf install beakerlib-vim-syntax来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.