opencover icon indicating copy to clipboard operation
opencover copied to clipboard

cross-platform opencover for .net core on Linux/MacOS

Open sawilde opened this issue 7 years ago • 11 comments

Please provide the following information when submitting an issue, where appropriate replace the [ ] with a [X]

My Framework

  • [X] .NET Core 1.*
  • [X] Something else

My Environment

  • [X] Linux
  • [X] MacOS

I have already...

  • [X] reviewed the current issues to check that the issue isn't already known.

My issue is related to (check only those which apply):

  • [X] feature request

Expected Behavior

Run OpenCover on Linux or Mac OS

sawilde avatar Apr 20 '17 21:04 sawilde

Also wanted by the .net core team - https://github.com/dotnet/corefx/issues/17107 But also dependant on the work porting the profiling API to .net core - https://github.com/dotnet/coreclr/issues/445

sawilde avatar Apr 20 '17 21:04 sawilde

@sawilde How's this looking. We're just about to convert our codebase to dotnetcore2.0, and code coverage will be an important part of our build, so looking around, OpenCover looks a good choice for us.

I appreciate it might take a bit of work, and happy to do what I can to help and make this work for linux. Any pointers to get me started?

pms1969 avatar Jul 01 '17 12:07 pms1969

@pms1969, as far as I know, the API has not yet been created/released for those platforms to allow the OpenCover work to even start.

sawilde avatar Jul 03 '17 10:07 sawilde

Ok, that's a shame. I'll keep an eye out for it, and dig around the or release repos.. is it a native app, or just a .net lib?

pms1969 avatar Jul 05 '17 07:07 pms1969

Is this already working on Linux? I saw that the profiler is already ported to it. Profiler Status

johnnyasantoss avatar Nov 03 '17 18:11 johnnyasantoss

@johnnyasantoss no-one is working on a linux implementation yet AFAIK - not sure when that will happen.

sawilde avatar Nov 26 '17 23:11 sawilde

someone this guy managed to build a workaround - we tested and it measured code coverage on Linux for a mid size production DotNet cover project. https://github.com/lucaslorentz/minicover It is not a standard Microsoft way - more like a hack/workaround. but it works!

FastNinja avatar Mar 21 '18 03:03 FastNinja

Another project for "Cross platform code coverage library for .NET Core"

https://github.com/tonerdo/coverlet

andrericardo avatar Mar 22 '18 17:03 andrericardo

Yet another https://github.com/SteveGilham/altcover

SteveGilham avatar Mar 24 '18 20:03 SteveGilham

Ok back in town to help, is there anyother willing to help on this. Just to know?

giorgiozoppi avatar Jul 02 '19 22:07 giorgiozoppi

How can I help?

zaiboot avatar Sep 10 '19 03:09 zaiboot