Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created Sep 20, 2013
Embed
What would you like to do?
Script for testing Express.js backend API application written in Coffee with Dredd
#!/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