Uses of Class
io.karatelabs.core.StepResult
Packages that use StepResult
-
Uses of StepResult in io.karatelabs.core
Methods in io.karatelabs.core that return StepResultModifier and TypeMethodDescriptionScenarioRuntime.evalAsStep(String text) Evaluate text as a Gherkin step against this runtime's variable / HTTP state.static StepResultstatic StepResultStepResult.fakeFailure(String message, long startTime, Throwable error) Create a fake failure step result (for @fail tag handling).static StepResultStepResult.fakeSuccess(String message, long startTime) Create a fake success step result (for @fail tag handling).static StepResultStepResult.hook(String hookName, StepResult.Status status, long startTime, long durationNanos, Throwable error) Create a synthetic step result representing a beforeScenario / afterScenario hook.static StepResultStepRunEvent.result()Returns the value of theresultrecord component.static StepResultMethods in io.karatelabs.core that return types with arguments of type StepResultMethods in io.karatelabs.core with parameters of type StepResultModifier and TypeMethodDescriptionvoidScenarioResult.addStepResult(StepResult sr) static StepRunEventStepRunEvent.exit(StepResult result, ScenarioRuntime sr) Constructors in io.karatelabs.core with parameters of type StepResultModifierConstructorDescriptionStepRunEvent(RunEventType type, Step step, ScenarioRuntime scenarioRuntime, StepResult result, long timeStamp) Creates an instance of aStepRunEventrecord class.