1 package com.github.valfirst.slf4jtest; 2 3 import org.junit.jupiter.api.extension.BeforeAllCallback; 4 import org.junit.jupiter.api.extension.ExtensionContext; 5 6 /** 7 * JUnit 5 extension that calls {@link JulConfig#setup()}. 8 * 9 * @author Karsten Spang 10 */ 11 public class JulConfigExtension implements BeforeAllCallback { 12 13 @Override 14 public void beforeAll(ExtensionContext extensionContext) { 15 JulConfig.setup(); 16 } 17 }