Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add spyon to test/run.sh

  • Loading branch information...
commit d559765673dfa547dd86a7722aa63f5bd53204bd 1 parent d2330d9
Bjorn Tipling authored

Showing 2 changed files with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  package.json
  2. +8 0 test/run.sh
2  package.json
... ... @@ -1,7 +1,7 @@
1 1 {
2 2 "name": "whiskey",
3 3 "description": "A simple test runner for NodeJS applications.",
4   - "version": "0.6.9",
  4 + "version": "0.6.10",
5 5 "author": "Cloudkick, Inc. <tomaz+npm@cloudkick.com> http://www.cloudkick.com",
6 6 "keywords": [ "whiskey", "tests", "test runner", "testing", "tdd", "coverage", "test coverage"],
7 7 "homepage": "https://github.com/cloudkick/whiskey",
8 test/run.sh
@@ -260,6 +260,14 @@ if [ $? -ne 0 ]; then
260 260 exit 1
261 261 fi
262 262
  263 +"${CWD}/bin/whiskey" --timeout 1000 \
  264 + --tests "${CWD}/example/test-spyon.js"
  265 +
  266 +if [ $? -ne 0 ]; then
  267 + echo "Test didn't exit with zero exit code."
  268 + exit 1
  269 +fi
  270 +
263 271 echo ""
264 272 echo "* * * Whiskey test suite PASSED. * * *"
265 273 exit 0

0 comments on commit d559765

Please sign in to comment.
Something went wrong with that request. Please try again.