Class FailureDiagnosticsReporter
java.lang.Object
com.shaft.tools.io.internal.FailureDiagnosticsReporter
Builds the agent-readable failure diagnostics bundle attached to failed tests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidattachOnFailure(TestExecutionInfo info, String logText, List<String> attachments) Attachesshaft-diagnostics.zipfor failed or broken tests.
-
Method Details
-
attachOnFailure
public static void attachOnFailure(TestExecutionInfo info, String logText, List<String> attachments) Attachesshaft-diagnostics.zipfor failed or broken tests.- Parameters:
info- current test metadatalogText- current test logattachments- generated artifact file paths already known to SHAFT
-