| Modifier and Type | Class and Description |
|---|---|
class |
TestRail.Results.Add |
class |
TestRail.Results.AddForCase |
class |
TestRail.Results.AddList |
class |
TestRail.Results.AddListForCases |
class |
TestRail.Results.List |
class |
TestRail.Results.ListForCase |
class |
TestRail.Results.ListForRun |
| Constructor and Description |
|---|
Results() |
| Modifier and Type | Method and Description |
|---|---|
TestRail.Results.AddList |
add(int runId,
List<Result> results,
List<ResultField> resultFields)
Adds one or more new test results, comments or assigns one or more tests.
|
TestRail.Results.Add |
add(int testId,
Result result,
List<ResultField> resultFields)
Adds a new test result, comment or assigns a test.
|
TestRail.Results.AddForCase |
addForCase(int runId,
int testCaseId,
Result result,
List<ResultField> resultFields)
Adds a new test result, comment or assigns a test (for a test run and case combination).
|
TestRail.Results.AddListForCases |
addForCases(int runId,
List<Result> results,
List<ResultField> resultFields)
Adds one or more new test results, comments or assigns one or more tests (using the case IDs).
|
TestRail.Results.List |
list(int testId,
List<ResultField> resultFields)
Returns a list of test results for a test.
|
TestRail.Results.ListForCase |
listForCase(int runId,
int testCaseId,
List<ResultField> resultFields)
Returns a list of test results for a test run and case combination.
|
TestRail.Results.ListForRun |
listForRun(int runId,
List<ResultField> resultFields)
Returns a list of test results for a test run.
|
@Generated(value="lombok") public Results()
public TestRail.Results.List list(int testId, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
testId - the ID of the test to get the results forresultFields - the custom result fields configured in TestRail to get type information for custom fields in the results returnedIllegalArgumentException - if testId is not positiveNullPointerException - if resultFields is nullpublic TestRail.Results.ListForCase listForCase(int runId, int testCaseId, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
runId - the ID of the test runtestCaseId - the ID of the test caseresultFields - the custom result fields configured in TestRail to get type information for custom fields in the results returnedIllegalArgumentException - if any argument is not positiveNullPointerException - if resultFields is nullpublic TestRail.Results.ListForRun listForRun(int runId, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
runId - the ID of the test run to get the results forresultFields - the custom result fields configured in TestRail to get type information for custom fields in the results returnedIllegalArgumentException - if runId is not positiveNullPointerException - if resultFields is nullpublic TestRail.Results.Add add(int testId, @NonNull Result result, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
testId - the ID of the test whose result is to be addedresult - the test result to be addedresultFields - the custom result fields configured in TestRail to get type information for custom fields in the result returnedIllegalArgumentException - if testId is not positiveNullPointerException - if any other argument is nullpublic TestRail.Results.AddForCase addForCase(int runId, int testCaseId, @NonNull Result result, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
runId - the ID of the test runtestCaseId - the ID of the test caseresult - the test result to be addedresultFields - the custom result fields configured in TestRail to get type information for custom fields in the result returnedIllegalArgumentException - if runId or testCaseId is not positiveNullPointerException - if any other argument is nullpublic TestRail.Results.AddList add(int runId, @NonNull List<Result> results, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
runId - the ID of the test run to add the results toresults - the test results to be addedresultFields - the custom result fields configured in TestRail to get type information for custom fields in the results returnedIllegalArgumentException - if runId is not positive or results is emptyNullPointerException - if results or resultFields are nullpublic TestRail.Results.AddListForCases addForCases(int runId, @NonNull List<Result> results, @NonNull List<ResultField> resultFields)
The custom result fields configured in TestRail can be fetched using TestRail.ResultFields.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.
runId - the ID of the test run to add the results toresults - the test results to be addedresultFields - the custom result fields configured in TestRail to get type information for custom fields in the results returnedIllegalArgumentException - if runId is not positive or results is emptyNullPointerException - if results or resultFields are nullCopyright © 2017. All rights reserved.