ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Cobertura​Coverage

by jeffrand ST3

No description provided

Details

Installs

  • Total 203
  • Win 74
  • Mac 80
  • Linux 49
Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CoberturaCoverage

This is a Sublime Text plugin that makes displaying lines of code not covered by a test using Cobertura reports.

Features

  • Syntax highlighting
  • Including multiple files
  • Stripping file name parts to match the path your tests run in

Install

Through Package Control (recommended):

Command Palette > Package Control: Install Package > CoberturaCoverage

Configuration

Preferences > CoberturaCoverage > Settings – User

  • coverage_on_load - Display coverage on load, defaults to False
  • coverage_report_locations - This is a fully qualified path to your report .xml files
  • strip_locations - A list of locations which to remove from the beginning of a coverage report's filename. An example is:
    • I run my coverage reports in /home/jeffrand/tested_code, which may not show up in the coverage report's file names, but will be in my path as its opened in sublime, so I want to strip that location from the file's name

## Usage

There is not default command for toggling CoberturaCoverage. Set you own like this:

[
   { "keys": ["ctrl+shift+n"], "command": "toggle_coverage_report" }
 ]