Class FailureTraceReporter

java.lang.Object
com.shaft.tools.io.internal.FailureTraceReporter

public final class FailureTraceReporter extends Object
Builds the failure-scoped SHAFT trace viewer artifacts attached to Allure.
  • 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 metadata
      logText - current test log
      attachments - generated artifact file paths already known to SHAFT