json-snapshot.github.io
json-snapshot.github.io copied to clipboard
Add support for meta JUnit annotations
private static boolean hasTestAnnotation(Method method) {
return method.isAnnotationPresent(Test.class)
|| method.isAnnotationPresent(BeforeClass.class)
|| method.isAnnotationPresent(org.junit.jupiter.api.Test.class)
|| method.isAnnotationPresent(BeforeAll.class);
}
does not allow for meta annotations annotated with@Test
.