Class Result

java.lang.Object
com.intuit.karate.core.Result

public class Result extends Object
Author:
pthomas3
  • Method Details

    • toCucumberJson

      public Map<String,Object> toCucumberJson()
    • fromKarateJson

      public static Result fromKarateJson(Map<String,Object> map)
    • toKarateJson

      public Map<String,Object> toKarateJson()
    • isSkipped

      public boolean isSkipped()
    • isFailed

      public boolean isFailed()
    • isAborted

      public boolean isAborted()
    • getError

      public Throwable getError()
    • getErrorMessage

      public String getErrorMessage()
    • passed

      public static Result passed(long startTime, long nanos)
    • passed

      public static Result passed(long startTime, long nanos, StepRuntime.MethodMatch matchingMethod)
    • failed

      public static Result failed(long startTime, long nanos, Throwable error, Step step)
    • failed

      public static Result failed(long startTime, long nanos, Throwable error, Step step, StepRuntime.MethodMatch matchingMethod)
    • skipped

      public static Result skipped(long startTime)
    • aborted

      public static Result aborted(long startTime, long nanos)
    • aborted

      public static Result aborted(long startTime, long nanos, StepRuntime.MethodMatch matchingMethod)
    • getStatus

      public String getStatus()
    • getDurationNanos

      public long getDurationNanos()
    • getDurationMillis

      public double getDurationMillis()
    • getStartTime

      public long getStartTime()
    • getEndTime

      public long getEndTime()
    • getMatchingMethod

      public StepRuntime.MethodMatch getMatchingMethod()
    • toString

      public String toString()
      Overrides:
      toString in class Object