File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
json-java21-schema/src/test/java/io/github/simbo1905/json/schema Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11package io .github .simbo1905 .json .schema ;
22
33import org .junit .jupiter .api .BeforeAll ;
4+ import org .junit .jupiter .api .BeforeEach ;
5+ import org .junit .jupiter .api .TestInfo ;
46import java .util .Locale ;
57import java .util .logging .*;
68
@@ -41,4 +43,11 @@ static void enableJulDebug() {
4143 () -> "json.schema.test.resources set to " + base );
4244 }
4345 }
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+ }
4453}
You can’t perform that action at this time.
0 commit comments