public class AnglesReporter extends Object implements AnglesReporterInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ACTION_NAME |
static String |
EMPTY_REPORTER_NAME |
| Modifier and Type | Method and Description |
|---|---|
ImageCompareResponse |
compareScreenshotAgainstBaseline(String screenshotId) |
void |
debug(String debug) |
void |
debug(String debug,
String screenshotId) |
void |
error(String error) |
void |
error(String error,
String screenshotId) |
void |
fail(String name,
String expected,
String actual,
String info) |
void |
fail(String name,
String expected,
String actual,
String info,
String screenshotId) |
String |
getBuildId() |
static AnglesReporterInterface |
getInstance(String url) |
void |
info(String info) |
void |
info(String info,
String screenshotId) |
static boolean |
isEnabled() |
void |
pass(String name,
String expected,
String actual,
String info) |
void |
pass(String name,
String expected,
String actual,
String info,
String screenshotId) |
void |
saveTest() |
static void |
setEnabled(boolean enabled)
This method allows you to disable angles (in case you wanted to have a local run).
|
void |
startAction(String description) |
void |
startBuild(String name,
String environmentName,
String teamName,
String componentName) |
void |
startBuild(String name,
String environmentName,
String teamName,
String componentName,
String phase) |
void |
startTest(String suiteName,
String testName) |
void |
startTest(String suiteName,
String testName,
String feature) |
void |
startTest(String suiteName,
String testName,
String feature,
List<String> tags) |
void |
storeArtifacts(Artifact[] artifacts) |
void |
storePlatformDetails(Platform... platform) |
Screenshot |
storeScreenshot(ScreenshotDetails details) |
void |
updateTestName(String testName) |
public static final String DEFAULT_ACTION_NAME
public static final String EMPTY_REPORTER_NAME
public static AnglesReporterInterface getInstance(String url)
public void startBuild(String name, String environmentName, String teamName, String componentName)
startBuild in interface AnglesReporterInterfacepublic void startBuild(String name, String environmentName, String teamName, String componentName, String phase)
startBuild in interface AnglesReporterInterfacepublic void storeArtifacts(Artifact[] artifacts)
storeArtifacts in interface AnglesReporterInterfacepublic void startTest(String suiteName, String testName)
startTest in interface AnglesReporterInterfacepublic void updateTestName(String testName)
updateTestName in interface AnglesReporterInterfacepublic void startTest(String suiteName, String testName, String feature)
startTest in interface AnglesReporterInterfacepublic void startTest(String suiteName, String testName, String feature, List<String> tags)
startTest in interface AnglesReporterInterfacepublic void saveTest()
saveTest in interface AnglesReporterInterfacepublic void storePlatformDetails(Platform... platform)
storePlatformDetails in interface AnglesReporterInterfacepublic void startAction(String description)
startAction in interface AnglesReporterInterfacepublic void debug(String debug)
debug in interface AnglesReporterInterfacepublic void debug(String debug, String screenshotId)
debug in interface AnglesReporterInterfacepublic void error(String error)
error in interface AnglesReporterInterfacepublic void error(String error, String screenshotId)
error in interface AnglesReporterInterfacepublic void info(String info)
info in interface AnglesReporterInterfacepublic void info(String info, String screenshotId)
info in interface AnglesReporterInterfacepublic void pass(String name, String expected, String actual, String info)
pass in interface AnglesReporterInterfacepublic void pass(String name, String expected, String actual, String info, String screenshotId)
pass in interface AnglesReporterInterfacepublic void fail(String name, String expected, String actual, String info)
fail in interface AnglesReporterInterfacepublic void fail(String name, String expected, String actual, String info, String screenshotId)
fail in interface AnglesReporterInterfacepublic Screenshot storeScreenshot(ScreenshotDetails details)
storeScreenshot in interface AnglesReporterInterfacepublic ImageCompareResponse compareScreenshotAgainstBaseline(String screenshotId)
compareScreenshotAgainstBaseline in interface AnglesReporterInterfacepublic String getBuildId()
getBuildId in interface AnglesReporterInterfacepublic static void setEnabled(boolean enabled)
enabled - e.g. false to disable reporting to angles (and you will get an empty reporter).public static boolean isEnabled()
Copyright © 2021. All rights reserved.