Package io.cucumber.junit
Class JUnitReporter
java.lang.Object
io.cucumber.junit.JUnitReporter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static final class(package private) static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EventBusprivate final JUnitOptionsprivate @Nullable PickleRunners.PickleRunnerprivate @Nullable JUnitReporter.TestNotifierprivate @Nullable org.junit.runner.notification.RunNotifierprivate final EventHandler<SnippetsSuggestedEvent> private @Nullable JUnitReporter.TestNotifierprivate final Collection<SnippetsSuggestedEvent.Suggestion> private final EventHandler<TestCaseFinished> private final EventHandler<TestCaseStarted> private final EventHandler<TestStepFinished> private final EventHandler<TestStepStarted> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidprivate voidhandleHookResult(Result result) private voidhandleSnippetSuggested(SnippetsSuggestedEvent snippetsSuggestedEvent) private voidhandleStepResult(Result result) private voidprivate voidhandleTestCaseStarted(TestCaseStarted testCaseStarted) private voidprivate void(package private) voidstartExecutionUnit(PickleRunners.PickleRunner pickleRunner, org.junit.runner.notification.RunNotifier runNotifier)
-
Field Details
-
junitOptions
-
bus
-
suggestions
-
snippetsSuggestedEventEventHandler
-
stepErrors
-
testCaseStartedHandler
-
stepNotifier
-
testStepFinishedHandler
-
pickleRunner
-
runNotifier
private @Nullable org.junit.runner.notification.RunNotifier runNotifier -
testStepStartedHandler
-
pickleRunnerNotifier
-
testCaseFinishedHandler
-
-
Constructor Details
-
JUnitReporter
JUnitReporter(EventBus bus, JUnitOptions junitOption)
-
-
Method Details
-
handleSnippetSuggested
-
finishExecutionUnit
void finishExecutionUnit() -
startExecutionUnit
void startExecutionUnit(PickleRunners.PickleRunner pickleRunner, org.junit.runner.notification.RunNotifier runNotifier) -
handleTestCaseStarted
-
handTestStepStarted
-
handleTestStepFinished
-
handleStepResult
-
handleHookResult
-
handleTestCaseResult
-