Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

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

Open
6 tasks done
sawilde opened this issue Apr 20, 2017 · 11 comments
Open
6 tasks done

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

sawilde opened this issue Apr 20, 2017 · 11 comments

Comments

@sawilde
Copy link
Member

sawilde commented Apr 20, 2017

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

My Framework

  • .NET Core 1.*
  • Something else

My Environment

  • Linux
  • MacOS

I have already...

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

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

  • feature request

Expected Behavior

Run OpenCover on Linux or Mac OS

@sawilde
Copy link
Member Author

sawilde commented Apr 20, 2017

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

@pms1969
Copy link

pms1969 commented Jul 1, 2017

@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?

@sawilde
Copy link
Member Author

sawilde commented Jul 3, 2017

@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.

@pms1969
Copy link

pms1969 commented Jul 5, 2017

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?

@johnnyasantoss
Copy link

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

@sawilde
Copy link
Member Author

sawilde commented Nov 26, 2017

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

@FastNinja
Copy link

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!

@andrericardo
Copy link

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

https://github.com/tonerdo/coverlet

@SteveGilham
Copy link
Contributor

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

@giorgiozoppi
Copy link

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

@zaiboot
Copy link

zaiboot commented Sep 10, 2019

How can I help?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants