| Modifier and Type | Class and Description |
|---|---|
class |
TestRail.Cases.Add |
class |
TestRail.Cases.Delete |
class |
TestRail.Cases.Get |
class |
TestRail.Cases.List |
class |
TestRail.Cases.Update |
| Modifier and Type | Method and Description |
|---|---|
TestRail.Cases.Add |
add(int sectionId,
Case testCase,
List<CaseField> caseFields)
Creates a new test case.
|
TestRail.Cases.Delete |
delete(int testCaseId)
Deletes an existing test case.
|
TestRail.Cases.Get |
get(int testCaseId,
List<CaseField> caseFields)
Returns an existing test case.
|
TestRail.Cases.List |
list(int projectId,
int suiteId,
List<CaseField> caseFields)
Returns the list of available test cases.
|
TestRail.Cases.List |
list(int projectId,
List<CaseField> caseFields)
Returns the list of available test cases.
|
TestRail.Cases.Update |
update(Case testCase,
List<CaseField> caseFields)
Updates an existing test case.
|
public TestRail.Cases.Get get(int testCaseId, @NonNull List<CaseField> caseFields)
The custom case fields configured in TestRail can be fetched using TestRail.CaseFields.list() request.
The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.
testCaseId - the ID of the test casecaseFields - the custom case fields configured in TestRail to get type information for custom fields in the test case returnedIllegalArgumentException - if testCaseId is not positiveNullPointerException - if caseFields is nullpublic TestRail.Cases.List list(int projectId, @NonNull List<CaseField> caseFields)
The custom case fields configured in TestRail can be fetched using TestRail.CaseFields.list() request.
The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.
projectId - the ID of the project which is operating in a single suite modecaseFields - the custom case fields configured in TestRail to get type information for custom fields in the test cases returnedIllegalArgumentException - if projectId is not positiveNullPointerException - if caseFields is nullpublic TestRail.Cases.List list(int projectId, int suiteId, @NonNull List<CaseField> caseFields)
The custom case fields configured in TestRail can be fetched using TestRail.CaseFields.list() request.
The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.
projectId - the ID of the projectsuiteId - the ID of the suitecaseFields - the custom case fields configured in TestRail to get type information for custom fields in the test cases returnedIllegalArgumentException - if any argument is not positiveNullPointerException - if caseFields is nullpublic TestRail.Cases.Add add(int sectionId, @NonNull Case testCase, @NonNull List<CaseField> caseFields)
The custom case fields configured in TestRail can be fetched using TestRail.CaseFields.list() request.
The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.
sectionId - the ID of the section to add the test case totestCase - the test case to be addedcaseFields - the custom case fields configured in TestRail to get type information for custom fields in the test case returnedIllegalArgumentException - if sectionId is not positiveNullPointerException - if any other argument is nullpublic TestRail.Cases.Update update(@NonNull Case testCase, @NonNull List<CaseField> caseFields)
The custom case fields configured in TestRail can be fetched using TestRail.CaseFields.list() request.
The reason for not fetching this during execution of this request is to allow you to cache the list on your end to prevent an extra call on every execution.
testCase - the test case to be updatedcaseFields - the custom case fields configured in TestRail to get type information for custom fields in the test case returnedNullPointerException - if any argument is nullpublic TestRail.Cases.Delete delete(int testCaseId)
testCaseId - the ID of the test case to be deletedIllegalArgumentException - if testCaseId is not positiveCopyright © 2017. All rights reserved.