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

Port coverage filter options for packages and files #19727

Merged
merged 6 commits into from
Feb 27, 2024

Conversation

KacperFKorban
Copy link
Member

  • Add -coverage-exclude-packages option that excludes packages and classes
    from generating coverage
  • Add -coverage-exclude-files option that excludes files from
    generating coverage

@KacperFKorban KacperFKorban marked this pull request as ready for review February 19, 2024 19:02
@Kordyjan Kordyjan requested a review from sjrd February 21, 2024 10:37
@Kordyjan
Copy link
Contributor

@sjrd will you have a moment to take a look?

@sjrd sjrd assigned KacperFKorban and unassigned sjrd and TheElectronWill Feb 27, 2024
KacperFKorban and others added 5 commits February 27, 2024 11:02
- Add `-coverage-exclude-packages` option that excludes packages and classes
  from generating coverage
- Add `-coverage-exclude-files` option that excludes files from
  generating coverage
@KacperFKorban KacperFKorban merged commit 18be8d1 into scala:main Feb 27, 2024
19 checks passed
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
@maslovalex
Copy link

It will be a great addition to 3.3.x LTS.
Excluding generated files from coverage make Scala3 adoption easier when team has quality gates base on coverage.

Any plans to backport this ? (I see this in the Needs Assesment column https://github.com/orgs/lampepfl/projects/6/views/1?filterQuery=coverage)

@KacperFKorban
Copy link
Member Author

@Gedochao @Kordyjan this might be a question for one of you

WojciechMazur added a commit that referenced this pull request Jul 2, 2024
…#20941)

Backports #19727 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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 this pull request may close these issues.

5 participants