Cat lcov file and show summary of coverage to terminal.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
test/fixtures
.babelrc
.gitignore
LICENSE
README.md
package.json

README.md

lcov-summary

Cat lcov file and show summary of coverage to terminal.

Installation

npm install lcov-summary

Dependencies

Usage

cat lcov.info | lcov-summary
# or
lcov-summary lcov.info

lcov.info should be compatible for lcov format.

If you want to get no-color version, please use --no-color option.

$ lcov-summary --no-color lcov.info

Example

$ lcov-summary test/fixtures/lcov.info

screenshot

Tests

npm test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT