zspec is a testing framework for zsh
By using zplug, you can easily install zspec.
zplug "b4b4r07/zspec", \
as:command, \
of:bin
Test files are zsh files with one or more test blocks.
describe "a passing test"
assert equal "foo" "foo"
end
zspec reads the specified files, or the files ending with *_test.zsh
in the current working directory if no files are given.
$ zspec path/to/tests/*.zsh