Skip to content

Commit 2533eb6

Browse files
committed
Add Flakeguard summary report to test results output
1 parent 3e2b4fa commit 2533eb6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/flakeguard/cmd/run.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ var RunTestsCmd = &cobra.Command{
252252
Int("count", len(flakyTests)).
253253
Str("stability threshold", fmt.Sprintf("%.0f%%", passRatioThreshold*100)).
254254
Msg("Found flaky tests")
255+
256+
fmt.Fprint(&summaryBuffer, "\nFlakeguard Summary:\n")
257+
reports.RenderTestReport(&summaryBuffer, mainReport, false, false)
255258
flushSummaryAndExit(FlakyTestsExitCode)
256259
} else {
257260
log.Info().Msg("All tests passed stability requirements")

0 commit comments

Comments
 (0)