Skip to content

hernancerm/zgold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZGold

Zsh command line tool for golden tests on stdout/stderr.

Features

  • Declarative.
  • Can be used to test software written in any language.
  • View diffs of failed tests in delta.
  • Patch golden files.

Installation

  1. Add the Homebrew tap:
brew tap hernancerm/formulas https://github.com/hernancerm/formulas
  1. Install ZGold:
brew install zgold

Usage

Once ZGold is installed:

  • See the built-in help with zgold --help.
  • For sample output, execute this in this repo: zgold -b demo/*.

Development

DEVELOP.md

Inspiration

ZGold's output format mirrors that of ZUnit.

License

MIT

About

Golden testing on stdout/stderr with Zsh

Topics

Resources

License

Stars

Watchers

Forks

Languages