shunit2_test
A single test file for Bourne-based shell scripts using the shunit2 test framework.
To use, add tests to your file per https://github.com/kward/shunit2/. Specify the shell to run with by either setting the field shell
or including a shebang. To test the same file with multiple shells, create multiple shunit2_tests
targets, one for each shell.
Pants will automatically download the shunit2
bash script and add source ./shunit2
to your test for you. If you already have source ./shunit2
, Pants will overwrite it to use the correct relative path.
Backend: pants.backend.shell