json-snapshot.github.io icon indicating copy to clipboard operation
json-snapshot.github.io copied to clipboard

Add support for meta JUnit annotations

Open maguro opened this issue 3 years ago • 0 comments

  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.

maguro avatar May 11 '21 19:05 maguro