|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestManager
Field Summary | |
---|---|
static java.lang.String |
KEY_ALL_BUILDS
|
static java.lang.String |
KEY_LAST_25_BUILDS
|
static java.lang.String |
KEY_LAST_30_DAYS
|
static java.lang.String |
KEY_LAST_7_DAYS
|
static java.lang.String |
KEY_LAST_90_DAYS
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,TestCase>> |
getAllTestCases(Build build,
TestCaseFilter filter)
A Map all test cases which was ever historically present. |
java.util.List<TestCase> |
getLongestRunningTests(Build build,
int number,
TestCaseFilter filter)
|
java.util.List<TestCase> |
getLongestTimeToFixTests(Build build,
int number,
TestCaseFilter filter)
|
java.util.List<TestCase> |
getMostFailingTests(Build build,
int number,
TestCaseFilter filter)
Get a list of the top X most failing test cases historically. |
int |
getTestBrokenIn(TestResults testResults,
Build build,
int minBuildNumber,
int buildNumber)
Returns the build number that the test has found to be first failing before the passed buildNumber |
TestCase |
getTestCase(Build build,
java.lang.String testCaseClass,
java.lang.String testCaseName,
TestCaseFilter filter)
Get a TestCase object representing the test case |
TestCaseFilter |
getTestCaseFilter(java.lang.String key,
Build build)
|
Field Detail |
---|
static final java.lang.String KEY_LAST_7_DAYS
static final java.lang.String KEY_LAST_30_DAYS
static final java.lang.String KEY_LAST_90_DAYS
static final java.lang.String KEY_ALL_BUILDS
static final java.lang.String KEY_LAST_25_BUILDS
Method Detail |
---|
TestCase getTestCase(Build build, java.lang.String testCaseClass, java.lang.String testCaseName, TestCaseFilter filter)
TestCase
object representing the test case
build
- testCaseClass
- testCaseName
-
TestCase
java.util.Map<java.lang.String,java.util.Map<java.lang.String,TestCase>> getAllTestCases(Build build, TestCaseFilter filter) throws java.io.IOException
build
-
Map
of Map
of test cases. Key is the test class name, then test method.
the value is the actual TestCase
object.
java.io.IOException
int getTestBrokenIn(TestResults testResults, Build build, int minBuildNumber, int buildNumber) throws java.io.IOException
testResults
- - the test results to search forbuild
- - the build to be queriedminBuildNumber
- - the minimum build number to search from. InclusivebuildNumber
- - the build number to search back from. Exclusive
java.io.IOException
java.util.List<TestCase> getMostFailingTests(Build build, int number, TestCaseFilter filter) throws java.io.IOException
build
- number
- - the top X number failing test cases
List
of TestCase
objects representing this.
java.io.IOException
TestCaseFilter getTestCaseFilter(java.lang.String key, Build build)
java.util.List<TestCase> getLongestRunningTests(Build build, int number, TestCaseFilter filter) throws java.io.IOException
java.io.IOException
java.util.List<TestCase> getLongestTimeToFixTests(Build build, int number, TestCaseFilter filter) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |