#!/usr/bin/env zsh # Runs every scripts/tests/*.test.zsh, returns nonzero if any assertion failed. set -uo pipefail DOTFILES="${0:A:h:h}"; export DOTFILES source "$DOTFILES/scripts/tests/lib.zsh" for f in "$DOTFILES"/scripts/tests/*.test.zsh(N); do print -P "%F{yellow}> ${f:t}%f" source "$f" done t_summary