Skip to content

SpringTestFileName should ignore annotations #416

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wilkinsona opened this issue Jun 19, 2024 · 1 comment
Closed

SpringTestFileName should ignore annotations #416

wilkinsona opened this issue Jun 19, 2024 · 1 comment

Comments

@wilkinsona
Copy link
Contributor

We have @WebEndpointTest and @ConversionServiceTest in Spring Boot's test code that have to suppress the SpringTestFileName check as their name doesn't end with Tests. I think we could avoid the need for these suppressions by ignoring annotations as we only want to apply the …Tests rule to classes that contain tests.

@wilkinsona
Copy link
Contributor Author

Duplicates #364.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant