Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a code coverage tool #16

Closed
sesispla opened this issue Jul 26, 2017 · 10 comments
Closed

Add a code coverage tool #16

sesispla opened this issue Jul 26, 2017 · 10 comments

Comments

@sesispla
Copy link
Contributor

With a basic unit testing framework working, we definitely need a code coverage tool to guide us during the test process.

@sesispla
Copy link
Contributor Author

We'll have a hard time here and now... Not found so much alternatives for .NET Core so far:

  • OpenCover: Only Windows support
  • PartCover: This is the previous version of OpenCover (only Windows also, in maintenance mode)
  • NCover: Only Windows support

I'll continue looking for alternatives

@sesispla
Copy link
Contributor Author

@brendanburns any chance to get help from the .NET Core team?

@brendandburns
Copy link
Contributor

XRef:

microsoft/vstest#579

@sesispla
Copy link
Contributor Author

sesispla commented Aug 12, 2017

Thx @brendanburns

Looks like support for dotnet test w/ Coverage out of Windows is not that high in the vstest team backlog... Discussion switched to microsoft/vstest#981

I'll keep an eye on this.

@sesispla
Copy link
Contributor Author

Looks like there is some progress. I'll have a look ASAP and see if is possible to add coverage.

@sesispla
Copy link
Contributor Author

sesispla commented Jul 7, 2018

Almost a year and still don't have a solution to code coverage in .NET :(

I've updated to latest coverlet bits and kubernetes-client/csharp. No luck, however.

Microsoft official coverage tool is still a Visual Studio Enterprise feature, so I don't this neither a solution.

Still waiting for a fix from Coverlet. (Anyone can help @tonerdo with this issue?)

@tonerdo
Copy link

tonerdo commented Aug 11, 2018

coverlet-coverage/coverlet#169 fixes the BadImageFormatException issue and allows Coverlet to work with this repo. Tested with my local version of https://github.com/sesispla/kubernetes-client-csharp/tree/feature/codecov

@tonerdo
Copy link

tonerdo commented Aug 11, 2018

Tested with the latest release: https://www.nuget.org/packages/coverlet.msbuild/2.2.1

@sesispla
Copy link
Contributor Author

Thank you @tonerdo confirmed that is working with the broken branch I had to add coverage. Updating to the latest version and adding coverage to the project!

@tg123
Copy link
Member

tg123 commented Mar 22, 2019

#264
Consider close as azure pipe was established

@tg123 tg123 closed this as completed Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants