Automic VaultAutomic Vault

brew

bats-core mit Homebrew, apk, MacPorts, pacman, apt, dnf, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für bats-core in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install bats-core

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install bats-core

MacPorts ports tree · sysutils/bats-core/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add bats-core

Alpine Linux edge package indexes · bats-core · Quelle: dl-cdn.alpinelinux.org

Arch Linux pacmanverifiziert · 92%
sudo pacman -S bats

Arch Linux sync databases · bats · Quelle: geo.mirror.pkgbuild.com

Debian aptverifiziert · 92%
sudo apt install bats

Debian stable package indexes · bats · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install bats

Fedora Rawhide package metadata · bats · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#bats

nixpkgs package indexes · pkgs/by-name/ba/bats/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install bats

openSUSE Tumbleweed package metadata · bats · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Bash Automated Testing System

Befehle und Aliase

  • bats

Verlauf

Projektgeschichte und Nutzung

bats-core is the community-maintained continuation of Bats, the Bash Automated Testing System: a TAP-compliant testing framework where test files are Bash scripts and each test case runs normal shell commands.

Projektgeschichte

The original Bats project dates to Sam Stephenson's 2011-2016 copyright era. The current README says bats-core was forked from the original Bats repository on Tuesday, September 19, 2017 at commit 0360811 after development had stalled and write access to the original repository could not be obtained.

bats-core released Bats 1.0.0 on June 8, 2018. That release emphasized compatibility with 0.4.0 while adding Bash compatibility work, Docker support, better Windows and macOS stability, TAP fixes, and major performance improvements.

The original Bats repository was archived read-only by its owner as of April 29, 2021, and the bats-core README identifies bats-core as the community-maintained Bats project.

Adoptionsgeschichte

Bats-core is widely packaged as the practical shell-testing tool for Unix projects. The input metadata lists apk, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and zypper packages, while the upstream README points users to GitHub issues, tested pull requests, examples of projects using Bats, and Read the Docs documentation.

The repository page showed about 6.1k stars, roughly 2,004 commits, and 24 releases at enrichment time, with v1.13.0 shown as the latest release on November 7, 2025.

Wie es verwendet wird

A Bats test file is a Bash script with special syntax for test cases. Under the hood, each test is a function with a description, and ordinary shell commands become assertions through exit status and Bash errexit behavior.

Bats is most useful for testing Bash software, but the README explicitly notes it can test any Unix program. That makes it popular for CLI packages, install scripts, dotfiles, shell libraries, and smoke tests around command-line behavior.

Warum Paket-Nerds sich dafür interessieren

bats-core is one of the package-nerd standards for testing shell-facing software because it sits exactly where many package bugs happen: command names, exit statuses, stdout/stderr, file effects, and portable shell behavior.

Its history also matters culturally. It shows a successful community-maintained fork preserving a small but widely depended-on developer tool when the original repository stalled, while keeping compatibility with existing Bats tests.

Because it emits TAP and uses shell syntax, bats-core fits neatly into old and new CI systems, distro packaging tests, and language-agnostic build pipelines without demanding a heavier test framework.

Zeitleiste

  • 2011-2016: Original Bats copyright period credited to Sam Stephenson.
  • 2017: bats-core fork created from original Bats on September 19.
  • 2018: Bats 1.0.0 released on June 8 with compatibility, Docker, stability, and performance improvements.
  • 2021: Original Bats repository archived read-only on April 29.
  • 2025: Repository page lists v1.13.0 as latest release on November 7.

Related projects

  • sstephenson/bats is the original Bats repository.
  • The bats-core ecosystem includes helper libraries such as bats-support, bats-assert, bats-file, and bats-detik.
  • TAP is the output protocol family that makes Bats results easy to consume in broader test tooling.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
batscliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version1.14.0
Manager aktualisiert2026-07-22
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.14.0

https://github.com/bats-core/bats-core

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:bats-core
Version1.14.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/bats-core
Homepagehttps://github.com/bats-core/bats-core
Repositoryhttps://github.com/bats-core/bats-core
Upstream-Dokumentationhttps://bats-core.readthedocs.io/en/stable
LizenzMIT
Quellarchivhttps://github.com/bats-core/bats-core/archive/refs/tags/v1.14.0.tar.gz
Zuletzt aktualisiert2026-07-22T08:40:21Z
Pulseupdated
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

apk95%

bats-core 1.13.0-r0

Bash Automated Testing System

https://github.com/bats-core/bats-core

sudo apk add bats-core
  • License: MIT
  • Architecture: x86_64
  • Source Package: bats-core
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Bats Core
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bats-core from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bats-core-doc 1.13.0-r0

Bash Automated Testing System (documentation)

https://github.com/bats-core/bats-core

sudo apk add bats-core-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: bats-core
  • normalized package name match
  • Abgeglichen nach: Bats Core
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bats-core-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
pacman95%

bats 1.13.0-1

Bash Automated Testing System

https://github.com/bats-core/bats-core

sudo pacman -S bats
  • License: MIT
  • Architecture: any
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Bats Core
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bats from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

bats-core

sudo port install bats-core
  • normalized package name match
  • Abgeglichen nach: Bats Core
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/bats-core/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

bats 1.11.1-1

bash automated testing system

https://github.com/bats-core/bats-core

sudo apt install bats
  • Section: devel
  • Architecture: all
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Bats
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bats from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

bats

nix profile install nixpkgs#bats
  • installed executable or alias match
  • Abgeglichen nach: Bats
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bats/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

bats 1.10.0-1

bash automated testing system

https://github.com/bats-core/bats-core

sudo apt install bats
  • Section: universe/shells
  • Architecture: all
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Bats
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bats from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

bats 1.13.0-r1

Meta package for Bats

https://bats-core.readthedocs.io/

sudo apk add bats
  • License: MIT
  • Architecture: x86_64
  • Source Package: bats
  • 1 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Bats
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bats from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf92%

bats 1.13.0-3.fc44

Bash Automated Testing System

https://github.com/bats-core/bats-core

sudo dnf install bats
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: bats
  • 3 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Bats
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bats from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

bats 1.13.0-1.1

Bash Automated Testing System

https://github.com/bats-core/bats-core/

sudo zypper install bats
  • License: MIT
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: bats
  • 2 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Bats
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bats from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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