Skip to content

urbanoanderson/vscode-coverlet

Repository files navigation

Marketplace Version Downloads Build Status MIT license

Vscode-Coverlet

About

Extension for handling Coverlet reports on .NET projects. It edits report files to strip irrelevant code so you can focus on what needs to be tested.

Preview

Image

Usage

  • Open command menu on vscode with CTRL+SHIFT+P and run one of the following commands:

    • Run Coverlet Strip on an opened coverlet.json report file to strip it from everything that is already tested.

    • Run Coverlet Filecheck on an opened C# class file to show the existing report contents regarding the file. Alternatively, you can right-click the file on vscode explorer and run the filecheck command. The result will show both tested and untested lines for the file.

Debugging the extension source

  • Clone the source at https://github.com/urbanoanderson/vscode-coverlet.git

  • Open extension folder on vscode

  • Run npm install on terminal

  • Click on Start Debugging in the Debug panel

  • A test instance of vscode loaded with the extension will appear

  • Extra: you can also run unit tests for the extension by executing npm test on terminal

Release Notes (Change Log)

1.1.5

  • Bump dependencies to fix new security vulnerabilities

Acknowledgements

Icon made by Freepik and available at Flaticon