Class FailureTraceReporter
java.lang.Object
com.shaft.tools.io.internal.FailureTraceReporter
Builds the failure-scoped SHAFT trace viewer artifacts attached to Allure.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidattachOnFailure(TestExecutionInfo info, String logText, List<String> attachments) Attaches the trace ZIP bundle when the current trace mode applies.
-
Method Details
-
attachOnFailure
public static void attachOnFailure(TestExecutionInfo info, String logText, List<String> attachments) Attaches the trace ZIP bundle when the current trace mode applies.- Parameters:
info- current test metadatalogText- current test logattachments- generated artifact file paths already known to SHAFT
-