public class SilentEventBus extends StepEventBus
JUNIT_JUPITER_EXECUTION_PARALLEL_ENABLED| Constructor and Description |
|---|
SilentEventBus(EnvironmentVariables environmentVariables) |
castActor, clearEventBusFor, currentTestHasTag, dropAgent, dropAgents, eventBusFor, eventBusForTest, exampleStarted, finishTestRun, forceClearEventBusFor, getEnvironmentVariables, getEventBus, getParallelEventBus, inFixtureMethod, initialiseSession, isASingleBrowserScenario, isNewSingleBrowserScenario, mergeActivitiesToDefaultStepListener, mergeActivitiesToDefaultStepListener, notifyFailure, overrideEventBusWith, reenableWebDriver, registerAgent, registerAgents, setCurrentBusToEventBusFor, setNoCleanupForStickyBuses, setRule, stepFinished, takeScreenshots, testAborted, testFinished, testFinished, testScenarioStarted, testStarted, testStarted, testSuiteStarted, unsuspend, updateExampleLineNumber, useScenarioOutline, wrapUpCurrentCucumberSteppublic SilentEventBus(EnvironmentVariables environmentVariables)
public StepEventBus registerListener(StepListener listener)
StepEventBusregisterListener in class StepEventBuspublic boolean isBaseStepListenerRegistered()
isBaseStepListenerRegistered in class StepEventBuspublic BaseStepListener getBaseStepListener()
getBaseStepListener in class StepEventBuspublic void testStarted(String testName)
testStarted in class StepEventBuspublic void testStarted(String testName, String id)
testStarted in class StepEventBuspublic boolean isUniqueSession()
isUniqueSession in class StepEventBuspublic void setUniqueSession(boolean uniqueSession)
setUniqueSession in class StepEventBuspublic void testStarted(String newTestName, Story story)
testStarted in class StepEventBuspublic void testStarted(String newTestName, Class<?> testClass)
testStarted in class StepEventBusprotected List<StepListener> getAllListeners()
getAllListeners in class StepEventBuspublic void testSuiteStarted(Class<?> testClass)
testSuiteStarted in class StepEventBuspublic void testSuiteStarted(Story story)
testSuiteStarted in class StepEventBuspublic void clear()
clear in class StepEventBuspublic void testFinished()
testFinished in class StepEventBuspublic void testFinished(TestOutcome result)
testFinished in class StepEventBuspublic void testRetried()
testRetried in class StepEventBuspublic void clearStepFailures()
clearStepFailures in class StepEventBuspublic boolean aStepInTheCurrentTestHasFailed()
aStepInTheCurrentTestHasFailed in class StepEventBuspublic boolean isCurrentTestDataDriven()
isCurrentTestDataDriven in class StepEventBuspublic void stepStarted(ExecutedStepDescription stepDescription)
StepEventBusstepStarted in class StepEventBuspublic void stepStarted(ExecutedStepDescription stepDescription, boolean isPrecondition)
StepEventBusstepStarted in class StepEventBuspublic void skippedStepStarted(ExecutedStepDescription executedStepDescription)
StepEventBusskippedStepStarted in class StepEventBuspublic void stepFinished()
stepFinished in class StepEventBuspublic void stepFailed(StepFailure failure)
stepFailed in class StepEventBuspublic void lastStepFailed(StepFailure failure)
lastStepFailed in class StepEventBuspublic void stepIgnored()
stepIgnored in class StepEventBuspublic void stepPending()
stepPending in class StepEventBuspublic void stepPending(String message)
stepPending in class StepEventBuspublic void assumptionViolated(String message)
assumptionViolated in class StepEventBuspublic void dropListener(StepListener stepListener)
dropListener in class StepEventBuspublic void dropAllListeners()
dropAllListeners in class StepEventBuspublic boolean webdriverCallsAreSuspended()
webdriverCallsAreSuspended in class StepEventBuspublic void reenableWebdriverCalls()
reenableWebdriverCalls in class StepEventBuspublic void temporarilySuspendWebdriverCalls()
temporarilySuspendWebdriverCalls in class StepEventBuspublic void testFailed(Throwable cause)
StepEventBustestFailed in class StepEventBuscause - the underlying cause of the failure.public void testPending()
StepEventBustestPending in class StepEventBuspublic void testIsManual()
StepEventBustestIsManual in class StepEventBuspublic void suspendTest()
suspendTest in class StepEventBuspublic void suspendTest(TestResult result)
suspendTest in class StepEventBuspublic boolean currentTestIsSuspended()
currentTestIsSuspended in class StepEventBuspublic boolean assumptionViolated()
assumptionViolated in class StepEventBuspublic void testIgnored()
testIgnored in class StepEventBuspublic void testSkipped()
testSkipped in class StepEventBuspublic boolean areStepsRunning()
areStepsRunning in class StepEventBuspublic void notifyScreenChange()
notifyScreenChange in class StepEventBuspublic void testSuiteFinished()
testSuiteFinished in class StepEventBuspublic void testRunFinished()
testRunFinished in class StepEventBuspublic void updateCurrentStepTitle(String stepTitle)
updateCurrentStepTitle in class StepEventBuspublic void updateCurrentStepTitleAsPrecondition(String stepTitle)
updateCurrentStepTitleAsPrecondition in class StepEventBuspublic void addIssuesToCurrentStory(List<String> issues)
addIssuesToCurrentStory in class StepEventBuspublic void addIssuesToCurrentTest(List<String> issues)
addIssuesToCurrentTest in class StepEventBuspublic void addTagsToCurrentTest(List<TestTag> tags)
addTagsToCurrentTest in class StepEventBuspublic void addTagsToCurrentStory(List<TestTag> tags)
addTagsToCurrentStory in class StepEventBuspublic void addDescriptionToCurrentTest(String description)
addDescriptionToCurrentTest in class StepEventBuspublic void setBackgroundTitle(String title)
setBackgroundTitle in class StepEventBuspublic void setBackgroundDescription(String description)
setBackgroundDescription in class StepEventBuspublic void useExamplesFrom(DataTable table)
useExamplesFrom in class StepEventBuspublic void addNewExamplesFrom(DataTable newTable)
addNewExamplesFrom in class StepEventBuspublic void exampleStarted(Map<String,String> data)
exampleStarted in class StepEventBuspublic void exampleFinished()
exampleFinished in class StepEventBuspublic boolean currentTestOutcomeIsDataDriven()
currentTestOutcomeIsDataDriven in class StepEventBuspublic void takeScreenshot()
StepEventBustakeScreenshot in class StepEventBuspublic boolean testSuiteHasStarted()
testSuiteHasStarted in class StepEventBuspublic String getAssumptionViolatedMessage()
getAssumptionViolatedMessage in class StepEventBuspublic Optional<TestStep> getCurrentStep()
getCurrentStep in class StepEventBuspublic void setAllStepsTo(TestResult result)
StepEventBussetAllStepsTo in class StepEventBuspublic Optional<TestResult> getForcedResult()
getForcedResult in class StepEventBuspublic boolean isDryRun()
isDryRun in class StepEventBuspublic void enableDryRun()
enableDryRun in class StepEventBuspublic void exceptionExpected(Class<? extends Throwable> expected)
exceptionExpected in class StepEventBuspublic Optional<TestResult> resultSoFar()
resultSoFar in class StepEventBuspublic void mergePreviousStep()
mergePreviousStep in class StepEventBuspublic void updateOverallResults()
updateOverallResults in class StepEventBuspublic void reset()
reset in class StepEventBuspublic void disableSoftAsserts()
disableSoftAsserts in class StepEventBuspublic void enableSoftAsserts()
enableSoftAsserts in class StepEventBuspublic boolean softAssertsActive()
softAssertsActive in class StepEventBuspublic String getTestSource()
getTestSource in class StepEventBuspublic void setTestSource(String testSource)
setTestSource in class StepEventBuspublic void cancelPreviousTest()
cancelPreviousTest in class StepEventBuspublic void lastTestPassedAfterRetries(int remainingTries,
List<String> failureMessages,
TestFailureCause testFailureCause)
lastTestPassedAfterRetries in class StepEventBusCopyright © 2023. All rights reserved.