Skip to content

Instantly share code, notes, and snippets.

@ekalin
ekalin / IndividualJsonCucumber.java
Created February 6, 2019 17:01
Per-Runner JSON reports with Cucumber
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import cucumber.runtime.junit.FeatureRunner;
import org.junit.runner.Description;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.ParentRunner;
import org.junit.runners.model.InitializationError;
import org.junit.runners.model.Statement;
import java.lang.annotation.Annotation;