Class FailureBriefReporter

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

public final class FailureBriefReporter extends Object
Builds the human-first failed-test brief and machine-readable attachment manifest.
  • Method Details

    • attachOnFailure

      public static void attachOnFailure(TestExecutionInfo info, String logText, List<String> attachments)
      Attaches the SHAFT failure brief and attachment manifest for failed or broken tests.
      Parameters:
      info - current test metadata
      logText - current test log
      attachments - generated artifact file paths already known to SHAFT