Documentation ¶
Index ¶
- func CloudtestClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchDeleteTestCase() *def.HttpRequestDef
- func GenReqDefForCreateApiTestSuiteByRepoFile() *def.HttpRequestDef
- func GenReqDefForCreatePlan() *def.HttpRequestDef
- func GenReqDefForCreateService() *def.HttpRequestDef
- func GenReqDefForCreateTestCase() *def.HttpRequestDef
- func GenReqDefForCreateTestCaseInPlan() *def.HttpRequestDef
- func GenReqDefForDeleteService() *def.HttpRequestDef
- func GenReqDefForListEnvironments() *def.HttpRequestDef
- func GenReqDefForRunTestCase() *def.HttpRequestDef
- func GenReqDefForShowIssuesByPlanId() *def.HttpRequestDef
- func GenReqDefForShowPlanJournals() *def.HttpRequestDef
- func GenReqDefForShowPlanList() *def.HttpRequestDef
- func GenReqDefForShowPlans() *def.HttpRequestDef
- func GenReqDefForShowRegisterService() *def.HttpRequestDef
- func GenReqDefForShowTestCaseDetail() *def.HttpRequestDef
- func GenReqDefForShowTestCaseDetailV2() *def.HttpRequestDef
- func GenReqDefForUpdateService() *def.HttpRequestDef
- func GenReqDefForUpdateTestCase() *def.HttpRequestDef
- func GenReqDefForUpdateTestCaseResult() *def.HttpRequestDef
- type CloudtestClient
- func (c *CloudtestClient) BatchDeleteTestCase(request *model.BatchDeleteTestCaseRequest) (*model.BatchDeleteTestCaseResponse, error)
- func (c *CloudtestClient) CreateApiTestSuiteByRepoFile(request *model.CreateApiTestSuiteByRepoFileRequest) (*model.CreateApiTestSuiteByRepoFileResponse, error)
- func (c *CloudtestClient) CreatePlan(request *model.CreatePlanRequest) (*model.CreatePlanResponse, error)
- func (c *CloudtestClient) CreateService(request *model.CreateServiceRequest) (*model.CreateServiceResponse, error)
- func (c *CloudtestClient) CreateTestCase(request *model.CreateTestCaseRequest) (*model.CreateTestCaseResponse, error)
- func (c *CloudtestClient) CreateTestCaseInPlan(request *model.CreateTestCaseInPlanRequest) (*model.CreateTestCaseInPlanResponse, error)
- func (c *CloudtestClient) DeleteService(request *model.DeleteServiceRequest) (*model.DeleteServiceResponse, error)
- func (c *CloudtestClient) ListEnvironments(request *model.ListEnvironmentsRequest) (*model.ListEnvironmentsResponse, error)
- func (c *CloudtestClient) RunTestCase(request *model.RunTestCaseRequest) (*model.RunTestCaseResponse, error)
- func (c *CloudtestClient) ShowIssuesByPlanId(request *model.ShowIssuesByPlanIdRequest) (*model.ShowIssuesByPlanIdResponse, error)
- func (c *CloudtestClient) ShowPlanJournals(request *model.ShowPlanJournalsRequest) (*model.ShowPlanJournalsResponse, error)
- func (c *CloudtestClient) ShowPlanList(request *model.ShowPlanListRequest) (*model.ShowPlanListResponse, error)
- func (c *CloudtestClient) ShowPlans(request *model.ShowPlansRequest) (*model.ShowPlansResponse, error)
- func (c *CloudtestClient) ShowRegisterService(request *model.ShowRegisterServiceRequest) (*model.ShowRegisterServiceResponse, error)
- func (c *CloudtestClient) ShowTestCaseDetail(request *model.ShowTestCaseDetailRequest) (*model.ShowTestCaseDetailResponse, error)
- func (c *CloudtestClient) ShowTestCaseDetailV2(request *model.ShowTestCaseDetailV2Request) (*model.ShowTestCaseDetailV2Response, error)
- func (c *CloudtestClient) UpdateService(request *model.UpdateServiceRequest) (*model.UpdateServiceResponse, error)
- func (c *CloudtestClient) UpdateTestCase(request *model.UpdateTestCaseRequest) (*model.UpdateTestCaseResponse, error)
- func (c *CloudtestClient) UpdateTestCaseResult(request *model.UpdateTestCaseResultRequest) (*model.UpdateTestCaseResultResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudtestClientBuilder ¶
func CloudtestClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchDeleteTestCase ¶
func GenReqDefForBatchDeleteTestCase() *def.HttpRequestDef
func GenReqDefForCreateApiTestSuiteByRepoFile ¶
func GenReqDefForCreateApiTestSuiteByRepoFile() *def.HttpRequestDef
func GenReqDefForCreatePlan ¶
func GenReqDefForCreatePlan() *def.HttpRequestDef
func GenReqDefForCreateService ¶
func GenReqDefForCreateService() *def.HttpRequestDef
func GenReqDefForCreateTestCase ¶
func GenReqDefForCreateTestCase() *def.HttpRequestDef
func GenReqDefForCreateTestCaseInPlan ¶
func GenReqDefForCreateTestCaseInPlan() *def.HttpRequestDef
func GenReqDefForDeleteService ¶
func GenReqDefForDeleteService() *def.HttpRequestDef
func GenReqDefForListEnvironments ¶
func GenReqDefForListEnvironments() *def.HttpRequestDef
func GenReqDefForRunTestCase ¶
func GenReqDefForRunTestCase() *def.HttpRequestDef
func GenReqDefForShowIssuesByPlanId ¶ added in v0.0.73
func GenReqDefForShowIssuesByPlanId() *def.HttpRequestDef
func GenReqDefForShowPlanJournals ¶ added in v0.0.73
func GenReqDefForShowPlanJournals() *def.HttpRequestDef
func GenReqDefForShowPlanList ¶ added in v0.0.74
func GenReqDefForShowPlanList() *def.HttpRequestDef
func GenReqDefForShowPlans ¶
func GenReqDefForShowPlans() *def.HttpRequestDef
func GenReqDefForShowRegisterService ¶
func GenReqDefForShowRegisterService() *def.HttpRequestDef
func GenReqDefForShowTestCaseDetail ¶
func GenReqDefForShowTestCaseDetail() *def.HttpRequestDef
func GenReqDefForShowTestCaseDetailV2 ¶
func GenReqDefForShowTestCaseDetailV2() *def.HttpRequestDef
func GenReqDefForUpdateService ¶
func GenReqDefForUpdateService() *def.HttpRequestDef
func GenReqDefForUpdateTestCase ¶
func GenReqDefForUpdateTestCase() *def.HttpRequestDef
func GenReqDefForUpdateTestCaseResult ¶
func GenReqDefForUpdateTestCaseResult() *def.HttpRequestDef
Types ¶
type CloudtestClient ¶
type CloudtestClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudtestClient ¶
func NewCloudtestClient(hcClient *http_client.HcHttpClient) *CloudtestClient
func (*CloudtestClient) BatchDeleteTestCase ¶
func (c *CloudtestClient) BatchDeleteTestCase(request *model.BatchDeleteTestCaseRequest) (*model.BatchDeleteTestCaseResponse, error)
批量删除自定义测试服务类型用例
func (*CloudtestClient) CreateApiTestSuiteByRepoFile ¶
func (c *CloudtestClient) CreateApiTestSuiteByRepoFile(request *model.CreateApiTestSuiteByRepoFileRequest) (*model.CreateApiTestSuiteByRepoFileResponse, error)
通过导入仓库中的文件生成接口测试套
func (*CloudtestClient) CreatePlan ¶
func (c *CloudtestClient) CreatePlan(request *model.CreatePlanRequest) (*model.CreatePlanResponse, error)
项目下创建计划
func (*CloudtestClient) CreateService ¶
func (c *CloudtestClient) CreateService(request *model.CreateServiceRequest) (*model.CreateServiceResponse, error)
通过接口CreateService注册成为云测的自定义服务。 注册完成后云测界面将会出现此自定义测试类型。
func (*CloudtestClient) CreateTestCase ¶
func (c *CloudtestClient) CreateTestCase(request *model.CreateTestCaseRequest) (*model.CreateTestCaseResponse, error)
创建自定义测试服务类型用例
func (*CloudtestClient) CreateTestCaseInPlan ¶
func (c *CloudtestClient) CreateTestCaseInPlan(request *model.CreateTestCaseInPlanRequest) (*model.CreateTestCaseInPlanResponse, error)
计划中批量添加测试用例
func (*CloudtestClient) DeleteService ¶
func (c *CloudtestClient) DeleteService(request *model.DeleteServiceRequest) (*model.DeleteServiceResponse, error)
删除已注册服务
func (*CloudtestClient) ListEnvironments ¶
func (c *CloudtestClient) ListEnvironments(request *model.ListEnvironmentsRequest) (*model.ListEnvironmentsResponse, error)
获取云测的环境参数分组列表
func (*CloudtestClient) RunTestCase ¶
func (c *CloudtestClient) RunTestCase(request *model.RunTestCaseRequest) (*model.RunTestCaseResponse, error)
批量执行测试用例
func (*CloudtestClient) ShowIssuesByPlanId ¶ added in v0.0.73
func (c *CloudtestClient) ShowIssuesByPlanId(request *model.ShowIssuesByPlanIdRequest) (*model.ShowIssuesByPlanIdResponse, error)
查询某个测试计划下的需求列表
func (*CloudtestClient) ShowPlanJournals ¶ added in v0.0.73
func (c *CloudtestClient) ShowPlanJournals(request *model.ShowPlanJournalsRequest) (*model.ShowPlanJournalsResponse, error)
查询某测试计划下的操作历史
func (*CloudtestClient) ShowPlanList ¶ added in v0.0.74
func (c *CloudtestClient) ShowPlanList(request *model.ShowPlanListRequest) (*model.ShowPlanListResponse, error)
项目下查询测试计划列表v2
func (*CloudtestClient) ShowPlans ¶
func (c *CloudtestClient) ShowPlans(request *model.ShowPlansRequest) (*model.ShowPlansResponse, error)
项目下查询测试计划列表
func (*CloudtestClient) ShowRegisterService ¶
func (c *CloudtestClient) ShowRegisterService(request *model.ShowRegisterServiceRequest) (*model.ShowRegisterServiceResponse, error)
用户获取自己当前已经注册的服务
func (*CloudtestClient) ShowTestCaseDetail ¶
func (c *CloudtestClient) ShowTestCaseDetail(request *model.ShowTestCaseDetailRequest) (*model.ShowTestCaseDetailResponse, error)
获取测试用例详情
func (*CloudtestClient) ShowTestCaseDetailV2 ¶
func (c *CloudtestClient) ShowTestCaseDetailV2(request *model.ShowTestCaseDetailV2Request) (*model.ShowTestCaseDetailV2Response, error)
通过用例编号获取测试用例详情
func (*CloudtestClient) UpdateService ¶
func (c *CloudtestClient) UpdateService(request *model.UpdateServiceRequest) (*model.UpdateServiceResponse, error)
更新已注册服务
func (*CloudtestClient) UpdateTestCase ¶
func (c *CloudtestClient) UpdateTestCase(request *model.UpdateTestCaseRequest) (*model.UpdateTestCaseResponse, error)
更新自定义测试服务类型用例
func (*CloudtestClient) UpdateTestCaseResult ¶
func (c *CloudtestClient) UpdateTestCaseResult(request *model.UpdateTestCaseResultRequest) (*model.UpdateTestCaseResultResponse, error)
批量更新测试用例结果
Click to show internal directories.
Click to hide internal directories.