-
-
Save netmilk/6637461 to your computer and use it in GitHub Desktop.
Script for testing Express.js backend API application written in Coffee with Dredd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
./node_modules/coffee-script/bin/coffee app.coffee & | |
sleep 1 | |
PID=$! | |
dredd apiary.apib http://localhost:3000/ | |
RESULT=$? | |
kill -9 $PID | |
exit $RESULT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment