public class AllureStoryReporter extends Object implements org.jbehave.core.reporters.StoryReporter
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.http.impl.client.CloseableHttpClient |
cl |
static ThreadLocal<String> |
currentScenario |
| Constructor and Description |
|---|
AllureStoryReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExamples() |
void |
afterScenario() |
void |
afterStory(boolean givenOrRestartingStory) |
static void |
attachScreenshot(String name) |
static void |
attachScreenshot(String name,
byte[] content) |
void |
beforeExamples(List<String> steps,
org.jbehave.core.model.ExamplesTable table) |
void |
beforeScenario(String scenarioTitle) |
void |
beforeStep(String step) |
void |
beforeStory(org.jbehave.core.model.Story story,
boolean givenStory) |
protected static void |
closeSession(String session) |
void |
dryRun() |
void |
example(Map<String,String> tableRow) |
void |
failed(String step,
Throwable cause) |
void |
failedOutcomes(String step,
org.jbehave.core.model.OutcomesTable table) |
static void |
generateReport() |
void |
givenStories(org.jbehave.core.model.GivenStories givenStories) |
void |
givenStories(List<String> storyPaths) |
void |
ignorable(String step) |
void |
lifecyle(org.jbehave.core.model.Lifecycle lifecycle) |
void |
narrative(org.jbehave.core.model.Narrative narrative) |
void |
notPerformed(String step) |
void |
pending(String step) |
void |
pendingMethods(List<String> methods) |
void |
restarted(String step,
Throwable cause) |
void |
restartedStory(org.jbehave.core.model.Story story,
Throwable cause) |
void |
scenarioMeta(org.jbehave.core.model.Meta meta) |
static String |
scenarioName() |
void |
scenarioNotAllowed(org.jbehave.core.model.Scenario scenario,
String filter) |
static String |
stepName() |
void |
storyCancelled(org.jbehave.core.model.Story story,
org.jbehave.core.model.StoryDuration storyDuration) |
static String |
storyName() |
void |
storyNotAllowed(org.jbehave.core.model.Story story,
String filter) |
void |
successful(String step) |
public static final ThreadLocal<String> currentScenario
protected static org.apache.http.impl.client.CloseableHttpClient cl
public static String storyName()
public static String scenarioName()
public static String stepName()
public static void attachScreenshot(String name, byte[] content)
public static void attachScreenshot(String name)
protected static void closeSession(String session)
public static void generateReport()
public void storyNotAllowed(org.jbehave.core.model.Story story,
String filter)
storyNotAllowed in interface org.jbehave.core.reporters.StoryReporterpublic void storyCancelled(org.jbehave.core.model.Story story,
org.jbehave.core.model.StoryDuration storyDuration)
storyCancelled in interface org.jbehave.core.reporters.StoryReporterpublic void beforeStory(org.jbehave.core.model.Story story,
boolean givenStory)
beforeStory in interface org.jbehave.core.reporters.StoryReporterpublic void afterStory(boolean givenOrRestartingStory)
afterStory in interface org.jbehave.core.reporters.StoryReporterpublic void narrative(org.jbehave.core.model.Narrative narrative)
narrative in interface org.jbehave.core.reporters.StoryReporterpublic void lifecyle(org.jbehave.core.model.Lifecycle lifecycle)
lifecyle in interface org.jbehave.core.reporters.StoryReporterpublic void scenarioNotAllowed(org.jbehave.core.model.Scenario scenario,
String filter)
scenarioNotAllowed in interface org.jbehave.core.reporters.StoryReporterpublic void beforeScenario(String scenarioTitle)
beforeScenario in interface org.jbehave.core.reporters.StoryReporterpublic void scenarioMeta(org.jbehave.core.model.Meta meta)
scenarioMeta in interface org.jbehave.core.reporters.StoryReporterpublic void afterScenario()
afterScenario in interface org.jbehave.core.reporters.StoryReporterpublic void givenStories(org.jbehave.core.model.GivenStories givenStories)
givenStories in interface org.jbehave.core.reporters.StoryReporterpublic void givenStories(List<String> storyPaths)
givenStories in interface org.jbehave.core.reporters.StoryReporterpublic void beforeExamples(List<String> steps, org.jbehave.core.model.ExamplesTable table)
beforeExamples in interface org.jbehave.core.reporters.StoryReporterpublic void example(Map<String,String> tableRow)
example in interface org.jbehave.core.reporters.StoryReporterpublic void afterExamples()
afterExamples in interface org.jbehave.core.reporters.StoryReporterpublic void beforeStep(String step)
beforeStep in interface org.jbehave.core.reporters.StoryReporterpublic void successful(String step)
successful in interface org.jbehave.core.reporters.StoryReporterpublic void ignorable(String step)
ignorable in interface org.jbehave.core.reporters.StoryReporterpublic void pending(String step)
pending in interface org.jbehave.core.reporters.StoryReporterpublic void notPerformed(String step)
notPerformed in interface org.jbehave.core.reporters.StoryReporterpublic void failed(String step, Throwable cause)
failed in interface org.jbehave.core.reporters.StoryReporterpublic void failedOutcomes(String step, org.jbehave.core.model.OutcomesTable table)
failedOutcomes in interface org.jbehave.core.reporters.StoryReporterpublic void restarted(String step, Throwable cause)
restarted in interface org.jbehave.core.reporters.StoryReporterpublic void restartedStory(org.jbehave.core.model.Story story,
Throwable cause)
restartedStory in interface org.jbehave.core.reporters.StoryReporterpublic void dryRun()
dryRun in interface org.jbehave.core.reporters.StoryReporterCopyright © 2019 Automation RockStars. All rights reserved.