public class GenericAllureStoryReporter extends Object implements StoryReporter
StoryReporter.Factory| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.http.impl.client.CloseableHttpClient |
cl |
static ThreadLocal<String> |
currentScenario |
| Constructor and Description |
|---|
GenericAllureStoryReporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterScenario() |
void |
afterStory() |
void |
attach(byte[] attachment,
String title,
String mimeType) |
void |
beforeScenario(String scenarioTitle) |
void |
beforeStep(String step) |
void |
beforeStory(String name,
String description,
String path) |
static void |
cleanPreviousReport() |
protected static void |
closeSession(String session) |
static Properties |
environment()
Data to be stored in environment table of Allure report
|
void |
example(Map<String,String> tableRow) |
void |
failed(String step,
Throwable cause) |
void |
finish() |
static void |
generateReport() |
static File |
getReportDir() |
static com.google.common.base.Optional<File> |
getResultsDir() |
void |
ignorable(String step) |
protected static Set<Map<String,String>> |
minimize() |
String |
name() |
void |
notPerformed(String step) |
int |
order() |
void |
pending(String step) |
static void |
populateVideo(Properties initial,
String link,
String title) |
static void |
populateVideos(Properties initial) |
void |
scenarioMeta(Properties meta) |
static String |
scenarioName() |
void |
start() |
static String |
storyName() |
void |
successful(String step) |
public static final ThreadLocal<String> currentScenario
protected static org.apache.http.impl.client.CloseableHttpClient cl
public static String storyName()
protected static void closeSession(String session)
public static void populateVideos(Properties initial)
public static void populateVideo(Properties initial, String link, String title)
public static Properties environment()
public static com.google.common.base.Optional<File> getResultsDir()
public static File getReportDir()
public static void cleanPreviousReport()
public static void generateReport()
public static String scenarioName()
public void beforeStory(String name, String description, String path)
beforeStory in interface StoryReporterpublic void afterStory()
afterStory in interface StoryReporterpublic void beforeScenario(String scenarioTitle)
beforeScenario in interface StoryReporterpublic void scenarioMeta(Properties meta)
public void afterScenario()
afterScenario in interface StoryReporterpublic void example(Map<String,String> tableRow)
example in interface StoryReporterpublic void beforeStep(String step)
beforeStep in interface StoryReporterpublic void successful(String step)
successful in interface StoryReporterpublic void ignorable(String step)
ignorable in interface StoryReporterpublic void pending(String step)
pending in interface StoryReporterpublic void notPerformed(String step)
notPerformed in interface StoryReporterpublic void failed(String step, Throwable cause)
failed in interface StoryReporterpublic void start()
start in interface StoryReporterpublic void finish()
finish in interface StoryReporterpublic void attach(byte[] attachment,
String title,
String mimeType)
attach in interface StoryReporterpublic String name()
name in interface StoryReporterpublic int order()
Copyright © 2019 Automation RockStars. All rights reserved.