Skip to content

Is it possible to use coverlet to get coverage of API testing #906

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

Closed
mattbzhang opened this issue Jul 20, 2020 · 2 comments
Closed

Is it possible to use coverlet to get coverage of API testing #906

mattbzhang opened this issue Jul 20, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists feature-request New feature request

Comments

@mattbzhang
Copy link

We have a restful API written in .NET core. We heavily depend on API testing to make sure the quality is good. We are thinking to get code coverage of those API test cases.

what we want to achieve is:

  • instrument the source code of our restful API during build
  • run all the API test cases
  • get the code coverage

From the document, I see coverlet instruments assemblies before test run. So I think maybe we can use coverlet to do that.

Thank you very much in advance.

@MarcoRossignoli MarcoRossignoli added duplicate This issue or pull request already exists feature-request New feature request labels Jul 22, 2020
@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Jul 22, 2020

It's not a supported scenario at the moment you can follow discussion on feat here #781
Feel free to close here and follow that issue.

@mattbzhang
Copy link
Author

Thank you very much for your reply. I will follow that ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature-request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants