diff --git a/dd-java-agent/testing/src/main/java/dd/test/AgentTestRunner.java b/dd-java-agent/testing/src/main/java/dd/test/AgentTestRunner.java index 4715ef30e2..417905e0c7 100644 --- a/dd-java-agent/testing/src/main/java/dd/test/AgentTestRunner.java +++ b/dd-java-agent/testing/src/main/java/dd/test/AgentTestRunner.java @@ -20,6 +20,21 @@ import org.spockframework.runtime.Sputnik; import org.spockframework.runtime.model.SpecMetadata; import spock.lang.Specification; +/** + * A spock test runner which automatically applies instrumentation and exposes a global trace + * writer. + * + *
To use, write a regular spock test, but extend this class instead of {@link
+ * spock.lang.Specification}.
+ * This will cause the following to occur before test startup:
+ *
+ *