Class Error
java.lang.Object
com.github.invictum.reportportal.log.unit.Error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> basic()Logs error in step using default error formatter - print error with full stack tracestatic Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> configuredStepError(Function<net.thucydides.core.model.TestStep, String> errorFormatter) Logs error using preconfiguredFunctionrepresentation of formatterstatic Function<net.thucydides.core.model.TestOutcome,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> configuredTestError(Function<net.thucydides.core.model.TestOutcome, String> errorFormatter) Logs error using preconfiguredFunctionrepresentation of formatterstatic Function<net.thucydides.core.model.TestOutcome,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> Logs error in test (outside of a step) using default error formatter - print error with full stack trace
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
configuredStepError
public static Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> configuredStepError(Function<net.thucydides.core.model.TestStep, String> errorFormatter) Logs error using preconfiguredFunctionrepresentation of formatter -
configuredTestError
public static Function<net.thucydides.core.model.TestOutcome,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> configuredTestError(Function<net.thucydides.core.model.TestOutcome, String> errorFormatter) Logs error using preconfiguredFunctionrepresentation of formatter -
basic
public static Function<net.thucydides.core.model.TestStep,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> basic()Logs error in step using default error formatter - print error with full stack trace -
errorInTest
public static Function<net.thucydides.core.model.TestOutcome,Collection<com.epam.ta.reportportal.ws.model.log.SaveLogRQ>> errorInTest()Logs error in test (outside of a step) using default error formatter - print error with full stack trace
-