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

Coverage on the new / modifies files #927

Open
pavelfomin opened this issue Dec 9, 2022 · 3 comments
Open

Coverage on the new / modifies files #927

pavelfomin opened this issue Dec 9, 2022 · 3 comments

Comments

@pavelfomin
Copy link

One of the things that I miss from Sonar is a specific section of coverage on the new / modifies files.
This can be very helpful for the projects that have low code coverage to get the coverage gradually up on every PR.

@craigatk
Copy link
Owner

Thanks for the suggestion! I agree, it'd be great to have code coverage on just the changes in a PR. Projektor already has access to the pull request to make PR comments, I wonder if I can pull the changes from the PR as well.

@pavelfomin
Copy link
Author

I've also noticed that the coverage does report an increase / decrease. Does Projektor compare the coverage with a previous build on the same branch?

image

@craigatk
Copy link
Owner

Good catch on the Projektor report coverage increase / decrease - that's the difference in coverage between the branch and the mainline codebase branch.

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

No branches or pull requests

2 participants