Interface TestFailuresStatistics
-
- All Known Implementing Classes:
TestFailureRateCollector
public interface TestFailuresStatistics
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TestFailureRate>
getFailingTests(String buildTypeId, float failureRate)
Returns list ofTestFailureRate
objects of most frequently failing tests in the build configuration.boolean
isFailingTestsAvailable(String buildTypeId)
Returns true if failing tests statistics available for the specified build configuration.
-
-
-
Method Detail
-
getFailingTests
@NotNull List<TestFailureRate> getFailingTests(@NotNull String buildTypeId, float failureRate)
Returns list ofTestFailureRate
objects of most frequently failing tests in the build configuration.- Parameters:
buildTypeId
- build configuration idfailureRate
- 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
-
-