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
Feature Request: Get coverage since specified commit target #1562
Comments
Bertk
added
question
This issue is a question
and removed
untriaged
To be investigated
labels
Dec 4, 2023
Hi, thank you for the request but comparing code coverage of SCM branches is not in scope of coverlet but is available in CI extensions or code quality assurance tools. e.g.
|
This issue is stale because it has been open for 3 months with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see this functionality was already asked about in #1148 , but since this issue was closed, I thought I'd open a Feature Request for it.
This issue was also created as reaction to performance issues. While this is also an advantage, my feature request focuses on other benefits that this feature would introduce.
Feature request:
An extra option to define a commit target to compare against, so that only for the changes since this commit, coverage will be created. This would mainly be used in CI/CD pipelines.
Why:
In greenfield projects, it is easy to setup the constraint of having a minimum % of coverage, otherwise the build fails and you can't merge your pull requests. But in reality, this isn't as easy. Most of the times developers are working with already existing code bases which are not covered by unit tests.
The only options are:
This feature would introduce two new benefits (besides performance):
This feature request was inspired by the
since
option flag in .NET Stryker.The text was updated successfully, but these errors were encountered: