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

Introduction of EmptyTestClass attribute #311

Merged
merged 2 commits into from
May 12, 2023
Merged

Introduction of EmptyTestClass attribute #311

merged 2 commits into from
May 12, 2023

Conversation

Corniel
Copy link
Collaborator

@Corniel Corniel commented May 10, 2023

For testing purposes, sometimes just having an empty class is enough for your test case. However, having static code analysis enabled such a Sonar (more precisely: S2094) this will result in a warning.

By decorating such a class with a descriptive attribute, the intend will be clear, and the warning resolved.

@Corniel Corniel self-assigned this May 10, 2023
@Corniel Corniel requested a review from Sjaaky May 10, 2023 12:17
@Corniel Corniel changed the title Introduction of EmptyTestClass Introduction of EmptyTestClass attribute May 10, 2023
@Corniel Corniel merged commit baace32 into master May 12, 2023
2 checks passed
@Corniel Corniel deleted the empty-test-class branch May 12, 2023 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant