Package de.qytera.qtaf.testrail.utils
Class TestRailManager
java.lang.Object
de.qytera.qtaf.testrail.utils.TestRailManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAttachmentForTestCase(APIClient client, String testCaseId, String path) static voidaddResultForTestCase(APIClient client, String caseId, String runId, int status, String comment) static voiddeleteAttachmentForTestCase(APIClient client, String attachmentId) static AttachmentsgetAttachmentsForTestCase(APIClient client, String testCaseId)
-
Method Details
-
addResultForTestCase
public static void addResultForTestCase(APIClient client, String caseId, String runId, int status, String comment) throws APIException - Throws:
APIException
-
addAttachmentForTestCase
public static void addAttachmentForTestCase(APIClient client, String testCaseId, String path) throws APIException, IOException - Throws:
APIExceptionIOException
-
deleteAttachmentForTestCase
public static void deleteAttachmentForTestCase(APIClient client, String attachmentId) throws APIException - Throws:
APIException
-
getAttachmentsForTestCase
public static Attachments getAttachmentsForTestCase(APIClient client, String testCaseId) throws APIException - Throws:
APIException
-