Giter Club home page Giter Club logo

atom-lcov-info's Introduction

Atom lcov-info

What

Displays code coverage information inside Atom based from information contained in an LCOV formatted file.

Using the current open file as a starting point, it traverses up the tree until the coverage/lcov.info file is found. As an example, while editing /Users/joe/Projects/xyz/src/client/test.coffee coverage information could be pulled from either /Users/joe/Projects/xyz/src/coverage/lcov.info or /Users/joe/Projects/xyz/coverage/lcov.info. (First match as found.)

Coverage with line highlight

It supports LCOV information as generated by tools such as Mocha, Karma, Istanbul, and others.

Why

Some reasons why this package might fit the bill for you -

  • Coverage information can be toggled for all views using ctrl-alt-c
  • There is no additional configuration, your coverage/lcov.info file is automatically located
  • Highlights are configurable to either show as a line (default) or in the gutter (less obtrusive)
  • Both relative and absolute file paths outputs in the lcov.info file are supported
  • It does matching irrespective of the platform, i.e. mix-and-match of / and \ style paths are supported
  • A summary of the total coverage per line is displayed on the statusbar
  • A overall project summary is available, along with at-point views of the different project files
  • Covered lines are highlighted in green, uncovered lines in red
  • Coverage display can be configured for gutter-only, line & gutter
  • Unobtrusive options to only display uncovered lines are available
  • Has been tested with Karma, Mocha and Istanbul outputs

How

Run your tests, generate a coverage/lcov.info file, toggle the coverage plugin and it displays.

Where

The Atom package can be found on the Atom registry, https://atom.io/packages/lcov-info.

Pull requests, issues, feature requests are all welcome and encouraged via https://github.com/jacogr/atom-lcov-info.

More

Coverage with gutter highlight

atom-lcov-info's People

Contributors

jacogr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.