StepResult.java

  1. package org.jbehave.core.steps;

  2. import org.jbehave.core.failures.UUIDExceptionWrapper;
  3. import org.jbehave.core.reporters.StoryReporter;

  4. public interface StepResult {

  5.     enum Type {
  6.         FAILED,
  7.         NOT_PERFORMED,
  8.         PENDING,
  9.         SUCCESSFUL,
  10.         SILENT,
  11.         IGNORABLE,
  12.         COMMENT,
  13.         SKIPPED
  14.     }

  15.     String parametrisedStep();

  16.     StepResult withParameterValues(String parametrisedStep);

  17.     StepResult setTimings(Timer timer);

  18.     void describeTo(StoryReporter reporter);

  19.     UUIDExceptionWrapper getFailure();
  20. }