1. Look at shunit for a sense of what kind of unit testing can be performed for Shell scripts.
2. For mocking up specific steps/ programs in the script, make use of alias.
Within a shell script testScript.sh this would be something as follows:
2. For mocking up specific steps/ programs in the script, make use of alias.
Within a shell script testScript.sh this would be something as follows:
No comments:
Post a Comment