Atom package to display JavaScript test coverage on gutter of editor.
- ๐บ Display the test coverage from lcov data
- ๐ Search for a lcov file on project directories
- ๐ Monitor a lcov file and redisplay the test coverage everytime it changes
- ๐ผ Support for the test coverage measurement tool such as istanbul and nyc
$ apm install coverage-markers
or go to settings > search for coverage-markers
and install.
Note: You need to rebuild the package before using it, since this package uses a native module.
$ apm rebuild
or rebuild package from Incompatible Packages in the editor.
This package monitors lcov file (coverage/lcov.info
) and displays the coverage in the editor every time the file is changed. The green marker covers the test, the red one does not cover the test.
You can select the coverage-markers:toggle
command from the atom command palette and use it
or use the application menu Packages > Coverage Markers > Toggle Coverage
.
- ๐ Report a bug
- ๐ Request a feature
Please use the GitHub Issue to create a issue.
- Fork it (https://github.com/kentaro-m/coverage-markers/fork)
- Create your feature branch
- Run the test (
$ npm test
) and make sure it passed โ - Commit your changes ๐
- Push to the branch
- Create a new Pull Request โค๏ธ