Hierarchy

  • TestOptimizationApi

Constructors

Properties

configuration: Configuration
requestFactory: TestOptimizationApiRequestFactory
responseProcessor: TestOptimizationApiResponseProcessor

Methods

  • List endpoint returning flaky tests from Flaky Test Management. Results are paginated.

    The response includes comprehensive test information including:

    • Test identification and metadata (module, suite, name)
    • Flaky state and categorization
    • First and last flake occurrences (timestamp, branch, commit SHA)
    • Test execution statistics from the last 7 days (failure rate)
    • Pipeline impact metrics (failed pipelines count, total lost time)
    • Complete status change history (optional, ordered from most recent to oldest)

    Set include_history to true in the request to receive the status change history for each test. History is disabled by default for better performance.

    Results support filtering by various facets including service, environment, repository, branch, and test state.

    Parameters

    Returns Promise<FlakyTestsSearchResponse>

Generated using TypeDoc