We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e09f7e8 commit c88bad4Copy full SHA for c88bad4
1 file changed
json-java21-schema/src/test/java/io/github/simbo1905/json/schema/JsonSchemaLoggingConfig.java
@@ -1,6 +1,8 @@
1
package io.github.simbo1905.json.schema;
2
3
import org.junit.jupiter.api.BeforeAll;
4
+import org.junit.jupiter.api.BeforeEach;
5
+import org.junit.jupiter.api.TestInfo;
6
import java.util.Locale;
7
import java.util.logging.*;
8
@@ -41,4 +43,11 @@ static void enableJulDebug() {
41
43
() -> "json.schema.test.resources set to " + base);
42
44
}
45
46
+
47
+ @BeforeEach
48
+ void announce(TestInfo info) {
49
+ final String cls = info.getTestClass().map(Class::getSimpleName).orElse("UnknownTest");
50
+ final String method = info.getTestMethod().map(java.lang.reflect.Method::getName).orElse(info.getDisplayName());
51
+ io.github.simbo1905.json.schema.SchemaLogging.LOG.info(() -> "TEST: " + cls + "#" + method);
52
+ }
53
0 commit comments