Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
Provide a list of the top ten longest running tests for a plan, based on the duration of the TestCase's
TestCaseResults
Finds top 10 results in order (longest first)
Parameters:
plan - to search in for the tests.
Returns:
List of Pairs containing the testCase id (long) and the average duration (float)
Provide a list of the top 10 most failing test cases for a plan. It is calculated based on failure count, not percentage.
Results are ordered from most failing to least failing.
Parameters:
plan - to search for the tests
Returns:
List of Pairs containing the testCase id (long) and the number of failures found (int)
Provide a list of the top 10 most failing test cases for a plan. It is calculated based on failure count, not percentage
Results are ordered from most failing to least failing.
Parameters:
buildResults - to search in for the tests.
Returns:
List of Pairs containing the testCase id (long) and the number of failures found (int)
Scroll through and execute function for each of TestCase records
Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.
Parameters:
consumer - consumer to accept each of the TestCase records