Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve code coverage support #344

Merged
merged 4 commits into from
Dec 5, 2014

Conversation

sethmcl
Copy link
Contributor

@sethmcl sethmcl commented Dec 4, 2014

Improve code coverage support. Now will write out coverage reports in ht...ml, lcov, cobertura, clover, and json to ./coverage.

Run venus in coverage mode:

venus folder_with_tests -c -n

Get coverage summary at end:

=============================== Coverage summary ===============================
Statements  : 67.21% ( 41/61 )
Branches     : 16.67% ( 2/12 )
Functions    : 80% ( 16/20 )
Lines           : 67.21% ( 41/61 )
================================================================================

Coverage reports written to ./coverage (relative to folder where venus was executed):

coverage
├── clover.xml
├── cobertura-coverage.xml
├── coverage-final.json
├── index.html
├── lcov-report
│   ├── 1
│   ├── 2
│   ├── 3
│   ├── 4
│   ├── 6
│   ├── 7
│   ├── index.html
│   ├── prettify.css
│   └── prettify.js
├── lcov.info
├── prettify.css

… html, lcov, cobertura, clover, and json to ./coverage
sethmcl added a commit that referenced this pull request Dec 5, 2014
@sethmcl sethmcl merged commit 6a3fb2d into LinkedInAttic:2.x Dec 5, 2014
@sethmcl sethmcl deleted the improve-istanbul-support branch December 5, 2014 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants