spring-io/spring-javaformat

SpringTestFileName should ignore annotations

Closed this issue · 1 comments

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.

Duplicates #364.