macOS
brew install atflocal Homebrew formula metadata
sudo port install atfMacPorts ports tree · devel/atf/Portfile · source: api.github.com
brew
Automated testing framework. Version 0.23 via Homebrew; verified from local package data.
install
brew install atflocal Homebrew formula metadata
sudo port install atfMacPorts ports tree · devel/atf/Portfile · source: api.github.com
sudo apk add atfAlpine Linux edge package indexes · atf · source: dl-cdn.alpinelinux.org
sudo apt install atf-shDebian stable package indexes · atf-sh · source: deb.debian.org
sudo dnf install atf-testsFedora Rawhide package metadata · atf-tests · source: dl.fedoraproject.org
nix profile install nixpkgs#atfnixpkgs package indexes · pkgs/by-name/at/atf/package.nix · source: api.github.com
overview
Automated testing framework
history
ATF, the Automated Testing Framework, is a small but historically important Unix testing framework for writing test programs in C, C++, and POSIX shell. Its value is less about being a fashionable standalone test runner and more about providing a consistent test-program API and command-line interface for base-system and ports/package test suites.
The official README describes ATF as libraries for C, C++, and POSIX shell, with ATF-based tests relying on an external execution engine rather than shipping one itself. The same README identifies Kyua as the preferred execution engine, which reflects ATF's later role as the test-definition layer inside a larger BSD testing stack.
The NEWS file records a major 2014 transition: version 0.19 moved project hosting from Google Code, where ATF had been a Kyua subproject, to GitHub as a first-class project. That release also separated deprecated tools such as atf-run and atf-report from the maintained libraries, foreshadowing the modern split where Kyua handles execution.
ATF is strongly associated with BSD operating-system testing. The README explicitly recommends binary packages for FreeBSD, NetBSD/pkgsrc, OpenBSD, and Ubuntu, and the NEWS file calls out FreeBSD test-suite support in the 0.19 release. That made ATF familiar to package maintainers who care about base-system regression tests, portable shell tests, and tests shipped alongside system components.
Its package-manager footprint is broad for such a specialized tool: the input lists packages in Homebrew, MacPorts, pkgsrc-adjacent systems, Debian/Ubuntu, Fedora, Nix, and Alpine. That packaging spread matters because ATF tests are often consumed by downstream distributions rather than only by application developers.
ATF is used to write test cases in C, C++, or shell that expose a consistent interface to humans and automation. In practice, users commonly install ATF alongside Kyua, write tests with atf-c, atf-c++, or atf-sh, and let Kyua discover and run them.
The Homebrew formula exposes at least the atf-sh executable, which is the part many command-line package users encounter first when running or authoring shell-based tests.
ATF is package-nerd infrastructure: it is not glamorous, but it sits in the plumbing between source trees, operating-system test suites, and downstream package validation. Its removal of the old runner tools in favor of Kyua is the sort of split that explains why different packages may depend on atf libraries, atf-sh, or Kyua separately.
The long quiet period between the 2014 0.21 release and later 2024/2025 releases is also notable for maintainers: old system-test tooling can remain relevant for a decade when it is embedded in OS and packaging workflows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
atf-sh | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/freebsd/atf
install metadata
| Package key | brew:atf |
|---|---|
| Version | 0.23 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/atf |
| Homepage | https://github.com/freebsd/atf |
| Repository | https://github.com/freebsd/atf |
| Upstream docs | https://github.com/freebsd/atf#readme |
| License | BSD-2-Clause |
| Source archive | https://github.com/freebsd/atf/releases/download/atf-0.23/atf-0.23.tar.gz |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | atf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
atf-sh 0.22-3
Automated Test Framework (shell library)
https://github.com/freebsd/atf
sudo apt install atf-shlibatf-c++-2 0.22-3
Automated Test Framework (shared C++ library)
https://github.com/freebsd/atf
sudo apt install libatf-c++-2libatf-c-1 0.22-3
Automated Test Framework (shared C library)
https://github.com/freebsd/atf
sudo apt install libatf-c-1libatf-dev 0.22-3
Automated Test Framework (development files)
https://github.com/freebsd/atf
sudo apt install libatf-devatf
nix profile install nixpkgs#atfatf-sh 0.21-6build4
Automated Test Framework (shell library)
sudo apt install atf-shlibatf-c++-2 0.21-6build4
Automated Test Framework (shared C library)
sudo apt install libatf-c++-2libatf-c-1 0.21-6build4
Automated Test Framework (shared C++ library)
sudo apt install libatf-c-1libatf-dev 0.21-6build4
Automated Test Framework (development files)
sudo apt install libatf-devatf 0.23-r0
libraries to write tests in C, C++ and shell
https://github.com/freebsd/atf
sudo apk add atfatf-dev 0.23-r0
libraries to write tests in C, C++ and shell (development files)
https://github.com/freebsd/atf
sudo apk add atf-devatf-doc 0.23-r0
libraries to write tests in C, C++ and shell (documentation)
https://github.com/freebsd/atf
sudo apk add atf-docatf-static 0.23-r0
libraries to write tests in C, C++ and shell (static library)
https://github.com/freebsd/atf
sudo apk add atf-staticatf-tests 0.23-4.fc44
Automated Testing Framework - Test suite
https://github.com/freebsd/atf
sudo dnf install atf-testslibatf-c 0.23-4.fc44
Automated Testing Framework - C bindings
https://github.com/freebsd/atf
sudo dnf install libatf-clibatf-c++ 0.23-4.fc44
Automated Testing Framework - C++ bindings
https://github.com/freebsd/atf
sudo dnf install libatf-c++source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.