This directory contains healthchecks of the formula using ShellSpec.
Most of the tests simply downloads the app via brew
and runs a smoke test.
See go-pallet_spec.sh for example.
- Steps to add tests
- Create Test Files
- Place them under
./spec/
dir. - File name format:
<app_name>_spec.sh
- Ex.)
go-pallet_spec.sh
- Ex.)
- Add test runner to docker-compose.yml
- Add the workflow to workflows
- Add the status workflow status badge to README.md as well.
- Examples to write tests @ github.com/shellspec/shellspec
- Syntax References @ github.com/shellspec/shellspec