Interface TestFailuresStatistics

    • Method Detail

      • getFailingTests

        @NotNull
        List<TestFailureRate> getFailingTests​(@NotNull
                                              String buildTypeId,
                                              float failureRate)
        Returns list of TestFailureRate objects of most frequently failing tests in the build configuration.
        Parameters:
        buildTypeId - build configuration id
        failureRate - low threshold of failure rate (should be less than 1.0)
        Returns:
        list of failing tests with their failure rate. List is sorted by failure rate, higher rate corresponds to less index in the list.
      • isFailingTestsAvailable

        boolean isFailingTestsAvailable​(@NotNull
                                        String buildTypeId)
        Returns true if failing tests statistics available for the specified build configuration.
        Parameters:
        buildTypeId - build configuration id
        Returns:
        see above