Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Invert coverage by running ytestrunner under istanbul #116

Merged
merged 1 commit into from

2 participants

@gotwarlost

Unfortunately you need to use the undocumented --yui flag for this (so it hooks the YUI loader as well). And I plan to take it out and replace it with something else later.

As long as you are willing to make minor changes to the command line when I fix this, you can accept my pull request.

Otherwise what you are doing seems to be the best option for now.

@davglass davglass merged commit 76a9918 into yui:master
@davglass
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 17, 2013
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  package.json
View
3  package.json
@@ -45,8 +45,7 @@
"istanbul": "~0.1.27"
},
"scripts": {
- "test": "ytestrunner --coverage --istanbul --save-coverage --include ./tests/options.js --include ./tests/builder.js --include ./tests/parser.js --include ./tests/parser_coffee.js",
- "posttest": "./scripts/report.js"
+ "test": "istanbul cover --print=both --yui ytestrunner -- --include ./tests/options.js --include ./tests/builder.js --include ./tests/parser.js --include ./tests/parser_coffee.js"
},
"preferGlobal": "true",
"licenses":[
Something went wrong with that request. Please try again.