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

Cobertura​Coverage

by jeffrand ST3

No description provided

Details

Installs

  • Total 200
  • Win 73
  • Mac 79
  • Linux 48
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
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 0 0 0 0 0
Linux 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 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" }
 ]