Skip to content

Instantly share code, notes, and snippets.

Avatar

Simon Lundmark simlun

View GitHub Profile
@simlun
simlun / acceptance_test.sh
Created Jul 6, 2012
ATDD shell scripting using shUnit2
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()
You can’t perform that action at this time.