Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Invert coverage by running ytestrunner under istanbul #116

merged 1 commit into from

2 participants


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


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
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",
Something went wrong with that request. Please try again.