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

Records without empty primary constructor are not included in code coverage #1655

Closed
blackkaiman opened this issue May 15, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@blackkaiman
Copy link

I have some records that look like this
public record Class1;
which are tested but they are not included in the code coverage. Once I add an empty primary constructor public record Class1(); it is included. Is this an expected behavior? I'm running this on 6.0.2

@github-actions github-actions bot added the untriaged To be investigated label May 15, 2024
@blackkaiman blackkaiman changed the title Records with empty primary constructor are not included in code coverage Records without empty primary constructor are not included in code coverage May 15, 2024
@github-actions github-actions bot added the stale label Jul 28, 2024
@Bertk Bertk added the duplicate This issue or pull request already exists label Oct 22, 2024
@Bertk
Copy link
Collaborator

Bertk commented Oct 22, 2024

There is already an issue #1633 #1576

[BUG] Records show no coverage

@Bertk Bertk closed this as completed Oct 22, 2024
@Bertk Bertk removed stale untriaged To be investigated labels Oct 22, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants