OpenCover / opencover

A code coverage tool for .NET 2 and above (WINDOWS OS only), support for 32 and 64 processes with both branch and sequence points
https://blog.many-monkeys.com
Other
1.31k stars 248 forks source link

Publish as a .NET Core Global Tool #804

Open bruno-garcia opened 6 years ago

bruno-garcia commented 6 years ago

Last week the .NET Core team released a preview for version 2.1. With this release the CLI now support what they called: .NET Core Global Tools.

To quote the announcement:

.NET Core tools are .NET Core console apps that are packaged and acquired as NuGet packages. By default, these tools are framework-dependent applications and include all of their NuGet dependencies. This means that a given global tool will run on any operating system or chip architecture by default. You might need an existing tool on a new version of Linux. As long as .NET Core works there, you should be able to run the tool.

It'd look like

dotnet install tool -g opencover
sawilde commented 6 years ago

thanks - I'll add it to the backlog

drusellers commented 3 years ago

Would love to see this, especially when I'm looking to add to my GitHub Actions testing process.