Package ru.testit.clients
Interface ApiClient
- All Known Implementing Classes:
TmsApiClient
public interface ApiClient
-
Method Summary
Modifier and TypeMethodDescriptionaddAttachment(String path) voidcompleteTestRun(String uuid) createAutoTest(ru.testit.client.model.AutoTestPostModel model) ru.testit.client.model.TestRunV2GetModelru.testit.client.model.AutoTestModelgetAutoTestByExternalId(String externalId) getTestFromTestRun(String testRunUuid, String configurationId) ru.testit.client.model.TestResultModelgetTestResult(UUID uuid) ru.testit.client.model.TestRunV2GetModelgetTestRun(String uuid) sendTestResults(String testRunUuid, List<ru.testit.client.model.AutoTestResultsForTestRunModel> models) booleantryLinkAutoTestToWorkItem(String id, Iterable<String> workItemId) voidupdateAutoTest(ru.testit.client.model.AutoTestPutModel model) voidupdateTestResult(UUID uuid, ru.testit.client.model.TestResultUpdateModel model)
-
Method Details
-
createTestRun
ru.testit.client.model.TestRunV2GetModel createTestRun() throws ru.testit.client.invoker.ApiException- Throws:
ru.testit.client.invoker.ApiException
-
getTestRun
ru.testit.client.model.TestRunV2GetModel getTestRun(String uuid) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
completeTestRun
- Throws:
ru.testit.client.invoker.ApiException
-
updateAutoTest
void updateAutoTest(ru.testit.client.model.AutoTestPutModel model) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
createAutoTest
String createAutoTest(ru.testit.client.model.AutoTestPostModel model) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
getAutoTestByExternalId
ru.testit.client.model.AutoTestModel getAutoTestByExternalId(String externalId) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
tryLinkAutoTestToWorkItem
-
sendTestResults
List<UUID> sendTestResults(String testRunUuid, List<ru.testit.client.model.AutoTestResultsForTestRunModel> models) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
addAttachment
- Throws:
ru.testit.client.invoker.ApiException
-
getTestFromTestRun
List<String> getTestFromTestRun(String testRunUuid, String configurationId) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
getTestResult
ru.testit.client.model.TestResultModel getTestResult(UUID uuid) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-
updateTestResult
void updateTestResult(UUID uuid, ru.testit.client.model.TestResultUpdateModel model) throws ru.testit.client.invoker.ApiException - Throws:
ru.testit.client.invoker.ApiException
-