Integration Test Coverage

Stamp runs Docker-based integration tests across 7 Linux distributions. Each script tests the native package manager plus all cross-platform adapters.

Test Matrix

Distro Script Dockerfile Native Adapter Brew Flatpak Snap
Ubuntu (latest) ubuntu.sh Dockerfile.ubuntu APT ✓ search, install, remove ✓ repo list, search ⚠ guarded
Debian (latest) debian.sh Dockerfile.debian APT ✓ search, install, remove ✓ repo list, search ⚠ guarded
Fedora (latest) fedora.sh Dockerfile.fedora DNF ✓ search, install, remove ✓ repo list, search ⚠ guarded
CentOS Stream 10 centos.sh Dockerfile.centos DNF ✓ search, install, remove ✓ repo list, search ⚠ guarded
Rocky Linux 9 rocky.sh Dockerfile.rocky DNF ✓ search, install, remove ✓ repo list, search ⚠ guarded
Arch Linux arch.sh Dockerfile.arch Pacman ✓ search, install, remove ✓ repo list, search ⚠ guarded
openSUSE Tumbleweed opensuse.sh Dockerfile.opensuse Zypper ✓ search, install, remove ✓ repo list, search ⚠ guarded

Cross-Platform Tests (all scripts)

Each script validates a common set of features:

Test Suite What’s Covered
doctor stamp doctor runs, shows managers, --json valid
list stamp list, stamp list --json valid
help All command --help outputs
self-update stamp self-update --check, stamp self-upgrade --check
root command stamp with no arguments
JSON output doctor, list — all parseable via python3 -m json.tool
aliases add, rm, ls, uninstall, delete, del
shell completions stamp completion --stdout bash, valid bash syntax

Per-Distro Tests

Distro Native Adapter Operations
Ubuntu APT: search, install, remove, reinstall, repo add/remove/list
Debian APT: search, install, remove, reinstall
Fedora DNF: search, install, remove, reinstall, repo list
CentOS DNF: search, install, remove, repo list
Rocky DNF: search, install, remove, repo list
openSUSE Zypper: search, install, remove
Arch Pacman: search, install, remove

Caveats & Known Gaps

Flatpak search (stamp search Calculator -m flatpak)

Brew install (stamp install hello -m brew)

MacPorts (macOS)

Go toolchain

What’s NOT tested in integration tests

Test Infrastructure