This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Rework test coverage facility w/ istanbul #910
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
saper
commented
Apr 29, 2015
- Use istanbul instead of jscoverage
- generate nice HTML report with branches
- include 'spec.js' tests in the coverage reporting - hits/line ratio on index.js ~300
- show little coverage summary in the console output
- do not use spawn and shell to launch mocha and coveralls clients - wire reporters directly via JavaScript
saper
changed the title
1) Use istanbul instead of jscoverage 2) generate nice HTML report with branches 3) include 'spec.js' tests in the coverage reporting - hits/line ratio on index.js ~300 4) show little coverage summary in the console output 5) do not use spawn and shell to launch mocha and coveralls clients - wire reporters directly via JavaScript
Rework test coverage facility w/ istanbul
Apr 29, 2015
If there is no coverage at all we get an empty global variable and the lcov empty file may cause coveralls failure. Use mkdirp() to create lib-cov
saper
force-pushed
the
istanbul04
branch
2 times, most recently
from
August 8, 2015 02:00
433cde6
to
54b5316
Compare
Well, it looks like travis-ci now testing with io.js 3.0.0 as the "latest". |
saper
force-pushed
the
istanbul04
branch
2 times, most recently
from
August 19, 2015 17:17
8acde28
to
e2a20e5
Compare
Instrument spec.js for test coverage measurement.
@@ -64,7 +64,7 @@ | |||
"devDependencies": { | |||
"coveralls": "^2.11.2", | |||
"cross-spawn": "^1.0.3", | |||
"jscoverage": "^0.5.9", | |||
"istanbul": "^0.3.13", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: latest version is 0.3.18
.
LGTM. Lets see if CI agrees. :)
As per docs, seems like we need to change this line: https://github.com/sass/node-sass/blob/f95af4/appveyor.yml#L12 to |
I'm fine with this. |
am11
referenced
this pull request
Aug 21, 2015
jiongle1
pushed a commit
to scantist-ossops-m2/node-sass
that referenced
this pull request
Apr 7, 2024
Refactor output emitter and implement missing output styles
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.