public interface StepReporter
Usage:
StepReporter stepReporter = Launch.currentLaunch().getStepReporter();
stepReporter.sendStep("My step name");
// step actions
stepReporter.sendStep(ItemStatus.FAILED, "My failure step name", new File("screenshot/fail.jpg"));
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepReporter.StepEntry |
| Modifier and Type | Field and Description |
|---|---|
static StepReporter |
NOOP_STEP_REPORTER
A StepReporter which does nothing, specially for disabled RP listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finishPreviousStep() |
io.reactivex.Maybe<java.lang.String> |
getParent() |
boolean |
isFailed(io.reactivex.Maybe<java.lang.String> parentId) |
void |
removeParent(io.reactivex.Maybe<java.lang.String> parentUuid) |
void |
sendStep(ItemStatus status,
java.lang.String name) |
void |
sendStep(ItemStatus status,
java.lang.String name,
java.io.File... files) |
void |
sendStep(ItemStatus status,
java.lang.String name,
java.lang.String... logs) |
void |
sendStep(ItemStatus status,
java.lang.String name,
java.lang.Throwable throwable) |
void |
sendStep(ItemStatus status,
java.lang.String name,
java.lang.Throwable throwable,
java.io.File... files) |
void |
sendStep(java.lang.String name) |
void |
sendStep(java.lang.String name,
java.io.File... files) |
void |
sendStep(java.lang.String name,
java.lang.String... logs) |
void |
setParent(io.reactivex.Maybe<java.lang.String> parentUuid) |
static final StepReporter NOOP_STEP_REPORTER
void setParent(io.reactivex.Maybe<java.lang.String> parentUuid)
io.reactivex.Maybe<java.lang.String> getParent()
void removeParent(io.reactivex.Maybe<java.lang.String> parentUuid)
boolean isFailed(io.reactivex.Maybe<java.lang.String> parentId)
void sendStep(java.lang.String name)
void sendStep(java.lang.String name,
java.lang.String... logs)
void sendStep(@Nonnull
ItemStatus status,
java.lang.String name)
void sendStep(@Nonnull
ItemStatus status,
java.lang.String name,
java.lang.String... logs)
void sendStep(@Nonnull
ItemStatus status,
java.lang.String name,
java.lang.Throwable throwable)
void sendStep(java.lang.String name,
java.io.File... files)
void sendStep(@Nonnull
ItemStatus status,
java.lang.String name,
java.io.File... files)
void sendStep(@Nonnull
ItemStatus status,
java.lang.String name,
java.lang.Throwable throwable,
java.io.File... files)
void finishPreviousStep()