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

Cobertura​Coverage

by jeffrand ST3

No description provided

Details

Installs

  • Total 99
  • Win 36
  • OS X 36
  • Linux 27
Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9
Windows 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
OS X 0 0 0 0 0 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
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" }
 ]