Examples
Demo example
bashunit includes a sample script and its associated test file in the examples folder of its repository. In there, you'll find various tests showcasing the file and different bashunit functionalities.
Real examples
If you're interested in real-world examples, below is a list of actual projects that use bashunit to test their Bash scripts.
INFO
If your project utilizes bashunit, you can add it to this list by submitting a pull request to us.
TypedDevs/bashunit
bashunit uses itself to test the proper operation of each one of its features.
Chemaclass/conventional-commits
A specification for adding human and machine-readable meaning to commit messages.
Tito-Kati/fizzbuzz-bashunit
Popular introductory FizzBuzz kata solved in Bash with bashunit as the testing framework.
phpctl
It is a Docker (containers) based development environment for PHP.