Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
trying out the tap testing system and adding coverage support
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkbw committed May 27, 2015
1 parent 3e51e5e commit 0cb8fb9
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 166 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
node_modules/
.nyc_output
5 changes: 4 additions & 1 deletion .travis.yml
@@ -1,9 +1,12 @@
sudo: false
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs"

before_script:
- npm install -g jshint jscs
- npm install

after_success: npm run coverage
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"pretest": "jscs index.js && jshint index.js",
"test": "mocha --reporter spec test.js",
"test": "nyc tap ./test.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"outdated": "npm outdated --depth=0"
},
"keywords": [
Expand All @@ -25,7 +26,9 @@
"loopback-datasource-juggler": ">=2.23.0"
},
"devDependencies": {
"coveralls": "^2.11.2",
"loopback": "2.x",
"mocha": "2.x"
"nyc": "^2.2.1",
"tap": "^1.2.0"
}
}

0 comments on commit 0cb8fb9

Please sign in to comment.