View acceptance_test.sh
#!/bin/sh | |
# Setup | |
SUT=../system_under_test.sh | |
INPUT_FILE=sample_input.txt | |
EXPECTED_OUTPUT_FILE=expected_output.txt | |
EXPECTED_STATUS_CODE=0 | |
# The test | |
testStatusCodeAndResponse() |
NewerOlder