3 ms·
Let's not forget unit testing. After all a shell script is code and code should be unit tested. https://code.google.com/p/shunit2/ https://code.google.com/p/sh
by memracom 13y ago
Let's not forget unit testing. After all a shell script is code and code should be unit tested.
https://code.google.com/p/shunit2/ https://code.google.com/p/shunit2/
- sigzero 13y agoNo, just no.
- LukeShu 13y agoI prefer http://bmizerany.github.io/roundup/ http://bmizerany.github.io/roundup/ . It works in fewer shells, but when you know which shell(s) you are targeting, that doesn't matter. It is far less magic than shunit2--writing the tests actually feels like writing shell.