Package com.intuit.karate.core
Class Result
java.lang.Object
com.intuit.karate.core.Result
- Author:
- pthomas3
-
Method Summary
Modifier and TypeMethodDescriptionstatic Result
aborted
(long nanos) static Result
aborted
(long nanos, StepRuntime.MethodMatch matchingMethod) static Result
static Result
failed
(long nanos, Throwable error, Step step, StepRuntime.MethodMatch matchingMethod) static Result
fromKarateJson
(Map<String, Object> map) double
long
getError()
boolean
boolean
isFailed()
boolean
static Result
passed
(long nanos) static Result
passed
(long nanos, StepRuntime.MethodMatch matchingMethod) static Result
skipped()
toString()
-
Method Details
-
toCucumberJson
-
fromKarateJson
-
toKarateJson
-
isSkipped
public boolean isSkipped() -
isFailed
public boolean isFailed() -
isAborted
public boolean isAborted() -
getError
-
getErrorMessage
-
passed
-
passed
-
failed
-
failed
public static Result failed(long nanos, Throwable error, Step step, StepRuntime.MethodMatch matchingMethod) -
skipped
-
aborted
-
aborted
-
getStatus
-
getDurationNanos
public long getDurationNanos() -
getDurationMillis
public double getDurationMillis() -
getMatchingMethod
-
toString
-