public class ReproduceInfoPrinter
extends org.junit.runner.notification.RunListener
RunListener that emits a command you can use to re-run a failing test with the failing random seed to
System.err.| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
ReproduceInfoPrinter.GradleMessageBuilder |
| Modifier and Type | Field | Description |
|---|---|---|
protected org.apache.logging.log4j.Logger |
logger |
| Constructor | Description |
|---|---|
ReproduceInfoPrinter() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
testFailure(org.junit.runner.notification.Failure failure) |
|
void |
testFinished(org.junit.runner.Description description) |
|
void |
testStarted(org.junit.runner.Description description) |
public void testStarted(org.junit.runner.Description description)
throws java.lang.Exception
testStarted in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testFinished(org.junit.runner.Description description)
throws java.lang.Exception
testFinished in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testFailure(org.junit.runner.notification.Failure failure)
throws java.lang.Exception
testFailure in class org.junit.runner.notification.RunListenerjava.lang.Exception