Zsh command line tool for golden tests on stdout/stderr.
- Declarative.
- Can be used to test software written in any language.
- View diffs of failed tests in delta.
- Patch golden files.
- Install GNU Make. On macOS it's
installed with the Xcode Command Line Tools. Run
make -v
to check. - In a clone of this repo run
make
.
Optionally (recommended), install delta.
Run make uninstall
.
Once ZGold is installed:
- See the built-in help with
zgold --help
. - For sample output, execute this in this repo:
zgold -b demo/*
.
ZGold's output format mirrors that of ZUnit.