Get support for jcubic/coverage.el

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

jcubic/coverage.el

coverage.el

Emacs minor mode for displaying code coverage.

Supporting Languages:

  • jest JavaScript framework (also with TypeScript using ts-jest) require running jest --coverage,
  • phpunit xml file generated using coverage-clover option.

Requirement

Highlight.el by Drew Adams

plus default xml and json packages

Limitations

It only work for git controlled repositories (it take root git directory out of git shell command and use this to get coverage file in coverage directory).

Usage

(require 'coverage)

then run

M-x coverage-mode

Enabling the mode is very slow, if your JavaScript source file is big. To refresh the view after made changes to coverage file you can call M-x jc/mark-buffer.

To change colors

;; if you're using light theme
(face-spec-set 'jc/covered '((t :background "light green")))
(face-spec-set 'jc/not-covered '((t :background "light red")))

License

Copyright (C) 2018-2023 Jakub T. Jankiewicz Released under GPLv3 license

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

ud-bd4760f4