Skip to content

Add retries, repeated runs, and flaky-test reporting #7

Closed

Description

@glennmichael123

Motivation

Intermittent failures are difficult to diagnose in CI. The runner should be able to retry failures intentionally while distinguishing a stable pass from a flaky pass.

Proposed work

  • Add per-run and optionally per-test retry counts.
  • Add a repeat mode for stress-running selected tests.
  • Record every attempt and its duration.
  • Report passed-after-retry tests as flaky rather than ordinary passes.
  • Define exit-code behavior for flaky tests, including an optional fail-on-flaky mode.
  • Include retry data in JSON and JUnit output.

Acceptance criteria

  • CLI and programmatic APIs can configure retries.
  • Attempt history appears in human and machine-readable reports.
  • A deterministic fixture verifies pass, fail, and flaky outcomes.
  • Retries interact correctly with bail and timeout settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions