@Override
    public void beforeTestExecution(ExtensionContext context) {
        String testName = context.getDisplayName();
        test.set(extent.createTest(testName));
    }
This creates the Extent report and manages the test lifecycle

@author Richard Tingle (aka richtea)
jme3-screenshot-tests/src/main/java/org/jmonkeyengine/screenshottests/testframework/ExtentReportExtension.java