Skip to content

Commit

Permalink
Add test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed May 27, 2012
1 parent 0a3b483 commit d90e1d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if [ ! $TEST_FILES ]; then
TEST_FILES=$(find tests/ -type f -name "test-*.js" -print0 | tr "\0" " " | sed '$s/.$//')
fi

NODE_PATH=lib node_modules/whiskey/bin/whiskey \
--tests "${TEST_FILES}" \
--real-time --sequential

0 comments on commit d90e1d3

Please sign in to comment.