Documentation ¶
Index ¶
- type AssignedUserInfo
- type AttributeChange
- type BatchDeleteTestCaseRequest
- type BatchDeleteTestCaseRequestBody
- type BatchDeleteTestCaseResponse
- type CreateApiTestSuiteByRepoFileRequest
- type CreateApiTestSuiteByRepoFileResponse
- type CreatePlanRequest
- type CreatePlanRequestBody
- type CreatePlanResponse
- type CreateServiceRequest
- type CreateServiceResponse
- type CreateTestCaseInPlanRequest
- type CreateTestCaseInPlanRequestBody
- type CreateTestCaseInPlanResponse
- type CreateTestCaseRequest
- type CreateTestCaseRequestBody
- type CreateTestCaseResponse
- type CreateTestSuitByRepoFileInfo
- type DeleteServiceRequest
- type DeleteServiceResponse
- type Environment
- type ErrorCaseInfoBean
- type ErrorDetailInfo
- type ExtendAuthorInfo
- type ExtendInfo
- type ExternalServiceBizCase
- type ExternalServiceCaseInfo
- type ExternalServiceCaseStep
- type ListEnvironmentsRequest
- type ListEnvironmentsResponse
- type NameAndId
- type PlanCycle
- type RunTestCaseRequest
- type RunTestCaseRequestBody
- type RunTestCaseResponse
- type ServiceRequestBody
- type ServicesInfo
- type ShowIssuesByPlanIdRequest
- type ShowIssuesByPlanIdResponse
- type ShowPlanJournalsRequest
- type ShowPlanJournalsResponse
- type ShowPlanListRequest
- type ShowPlanListResponse
- type ShowPlansRequest
- type ShowPlansResponse
- type ShowRegisterServiceRequest
- type ShowRegisterServiceResponse
- type ShowTestCaseDetailRequest
- type ShowTestCaseDetailResponse
- type ShowTestCaseDetailV2Request
- type ShowTestCaseDetailV2Response
- type TestCaseExecuteBean
- type TestPlanDetail
- type TestPlanDetailCreator
- type TestPlanDetailDesignStage
- type TestPlanDetailExecuteStage
- type TestPlanDetailOwner
- type TestPlanDetailReportStage
- type TestPlanIssueDetail
- type TestPlanJournalDetail
- type TestPlanJournalList
- type UpdateServiceRequest
- type UpdateServiceResponse
- type UpdateTestCaseRequest
- type UpdateTestCaseRequestBody
- type UpdateTestCaseResponse
- type UpdateTestCaseResultBean
- type UpdateTestCaseResultRequest
- type UpdateTestCaseResultRequestBody
- type UpdateTestCaseResultResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedUserInfo ¶
type AssignedUserInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
func (AssignedUserInfo) String ¶
func (o AssignedUserInfo) String() string
type AttributeChange ¶ added in v0.0.73
type AttributeChange struct { NewValue *string `json:"new_value,omitempty"` OldValue *string `json:"old_value,omitempty"` AttributeType *string `json:"attribute_type,omitempty"` }
对象,包括编号与名称
func (AttributeChange) String ¶ added in v0.0.73
func (o AttributeChange) String() string
type BatchDeleteTestCaseRequest ¶
type BatchDeleteTestCaseRequest struct {
Body *BatchDeleteTestCaseRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchDeleteTestCaseRequest) String ¶
func (o BatchDeleteTestCaseRequest) String() string
type BatchDeleteTestCaseRequestBody ¶
type BatchDeleteTestCaseRequestBody struct { ServiceId int32 `json:"service_id"` TestcaseIdList []string `json:"testcase_id_list"` }
批量删除测试用例请求体
func (BatchDeleteTestCaseRequestBody) String ¶
func (o BatchDeleteTestCaseRequestBody) String() string
type BatchDeleteTestCaseResponse ¶
type BatchDeleteTestCaseResponse struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` ErrorDetail *ErrorDetailInfo `json:"error_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteTestCaseResponse) String ¶
func (o BatchDeleteTestCaseResponse) String() string
type CreateApiTestSuiteByRepoFileRequest ¶
type CreateApiTestSuiteByRepoFileRequest struct {
Body *CreateTestSuitByRepoFileInfo `json:"body,omitempty"`
}
Request Object
func (CreateApiTestSuiteByRepoFileRequest) String ¶
func (o CreateApiTestSuiteByRepoFileRequest) String() string
type CreateApiTestSuiteByRepoFileResponse ¶
type CreateApiTestSuiteByRepoFileResponse struct { TestsuiteId *string `json:"testsuite_id,omitempty"` TestcaseIds *[]string `json:"testcase_ids,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApiTestSuiteByRepoFileResponse) String ¶
func (o CreateApiTestSuiteByRepoFileResponse) String() string
type CreatePlanRequest ¶
type CreatePlanRequest struct {
Body *CreatePlanRequestBody `json:"body,omitempty"`
}
Request Object
func (CreatePlanRequest) String ¶
func (o CreatePlanRequest) String() string
type CreatePlanRequestBody ¶
type CreatePlanRequestBody struct { Name string `json:"name"` AssignedId *string `json:"assigned_id,omitempty"` ServiceIdList []int32 `json:"service_id_list"` PlanCycle *PlanCycle `json:"plan_cycle"` }
创建计划请求体
func (CreatePlanRequestBody) String ¶
func (o CreatePlanRequestBody) String() string
type CreatePlanResponse ¶
type CreatePlanResponse struct { PlanId *string `json:"plan_id,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePlanResponse) String ¶
func (o CreatePlanResponse) String() string
type CreateServiceRequest ¶
type CreateServiceRequest struct {
Body *ServiceRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateServiceRequest) String ¶
func (o CreateServiceRequest) String() string
type CreateServiceResponse ¶
type CreateServiceResponse struct { ServiceName *string `json:"service_name,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateServiceResponse) String ¶
func (o CreateServiceResponse) String() string
type CreateTestCaseInPlanRequest ¶
type CreateTestCaseInPlanRequest struct { PlanId string `json:"plan_id"` Body *CreateTestCaseInPlanRequestBody `json:"body,omitempty"` }
Request Object
func (CreateTestCaseInPlanRequest) String ¶
func (o CreateTestCaseInPlanRequest) String() string
type CreateTestCaseInPlanRequestBody ¶
type CreateTestCaseInPlanRequestBody struct { ServiceId int32 `json:"service_id"` TestcaseIdList []string `json:"testcase_id_list"` }
计划中批量添加测试用例请求体
func (CreateTestCaseInPlanRequestBody) String ¶
func (o CreateTestCaseInPlanRequestBody) String() string
type CreateTestCaseInPlanResponse ¶
type CreateTestCaseInPlanResponse struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` ErrorDetail *ErrorDetailInfo `json:"error_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTestCaseInPlanResponse) String ¶
func (o CreateTestCaseInPlanResponse) String() string
type CreateTestCaseRequest ¶
type CreateTestCaseRequest struct {
Body *CreateTestCaseRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateTestCaseRequest) String ¶
func (o CreateTestCaseRequest) String() string
type CreateTestCaseRequestBody ¶
type CreateTestCaseRequestBody struct { Name string `json:"name"` ServiceId int32 `json:"service_id"` RankId *string `json:"rank_id,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` ExtendInfo *ExternalServiceCaseInfo `json:"extend_info,omitempty"` }
创建测试用例请求体
func (CreateTestCaseRequestBody) String ¶
func (o CreateTestCaseRequestBody) String() string
type CreateTestCaseResponse ¶
type CreateTestCaseResponse struct { TestcaseId *string `json:"testcase_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` Name *string `json:"name,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` RankId *string `json:"rank_id,omitempty"` StatusId *string `json:"status_id,omitempty"` AssignedUser *AssignedUserInfo `json:"assigned_user,omitempty"` ExecuteCount *int32 `json:"execute_count,omitempty"` ResultId *string `json:"result_id,omitempty"` ExtendInfo *ExtendInfo `json:"extend_info,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTestCaseResponse) String ¶
func (o CreateTestCaseResponse) String() string
type CreateTestSuitByRepoFileInfo ¶
type CreateTestSuitByRepoFileInfo struct { TestsuiteName string `json:"testsuite_name"` RepositoryId string `json:"repository_id"` RepositoryBranch string `json:"repository_branch"` FilePath string `json:"file_path"` }
生成测试套的请求信息
func (CreateTestSuitByRepoFileInfo) String ¶
func (o CreateTestSuitByRepoFileInfo) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct {
ServiceId int32 `json:"service_id"`
}
Request Object
func (DeleteServiceRequest) String ¶
func (o DeleteServiceRequest) String() string
type DeleteServiceResponse ¶
type DeleteServiceResponse struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteServiceResponse) String ¶
func (o DeleteServiceResponse) String() string
type Environment ¶
type Environment struct { EnvironmentId *string `json:"environment_id,omitempty"` EnvironmentName *string `json:"environment_name,omitempty"` EnvironmentDescription *string `json:"environment_description,omitempty"` IsDefault *bool `json:"is_default,omitempty"` }
func (Environment) String ¶
func (o Environment) String() string
type ErrorCaseInfoBean ¶
type ErrorCaseInfoBean struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` TestcaseId *string `json:"testcase_id,omitempty"` }
func (ErrorCaseInfoBean) String ¶
func (o ErrorCaseInfoBean) String() string
type ErrorDetailInfo ¶
type ErrorDetailInfo struct {
Failed *[]ErrorCaseInfoBean `json:"failed,omitempty"`
}
func (ErrorDetailInfo) String ¶
func (o ErrorDetailInfo) String() string
type ExtendAuthorInfo ¶
type ExtendAuthorInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Time *string `json:"time,omitempty"` }
func (ExtendAuthorInfo) String ¶
func (o ExtendAuthorInfo) String() string
type ExtendInfo ¶
type ExtendInfo struct { Author *ExtendAuthorInfo `json:"author,omitempty"` Updator *ExtendAuthorInfo `json:"updator,omitempty"` Domain *AssignedUserInfo `json:"domain,omitempty"` Description *string `json:"description,omitempty"` Preparation *string `json:"preparation,omitempty"` Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"` LabelList *[]AssignedUserInfo `json:"label_list,omitempty"` DefectList *[]AssignedUserInfo `json:"defect_list,omitempty"` Module *AssignedUserInfo `json:"module,omitempty"` Issue *AssignedUserInfo `json:"issue,omitempty"` TestVersionId *string `json:"test_version_id,omitempty"` FixedVersion *AssignedUserInfo `json:"fixed_version,omitempty"` }
用例其他扩展信息
func (ExtendInfo) String ¶
func (o ExtendInfo) String() string
type ExternalServiceBizCase ¶
type ExternalServiceBizCase struct { Description *string `json:"description,omitempty"` Preparation *string `json:"preparation,omitempty"` Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"` LabelList *[]string `json:"label_list,omitempty"` ModuleId *string `json:"module_id,omitempty"` TestVersionId *string `json:"test_version_id,omitempty"` FixVersionId *string `json:"fix_version_id,omitempty"` AssignedId *string `json:"assigned_id,omitempty"` IssueId *string `json:"issue_id,omitempty"` StatusId *string `json:"status_id,omitempty"` DefectIdList *[]string `json:"defect_id_list,omitempty"` }
测试用例其他扩展信息
func (ExternalServiceBizCase) String ¶
func (o ExternalServiceBizCase) String() string
type ExternalServiceCaseInfo ¶
type ExternalServiceCaseInfo struct { Description *string `json:"description,omitempty"` Preparation *string `json:"preparation,omitempty"` Steps *[]ExternalServiceCaseStep `json:"steps,omitempty"` LabelList *[]string `json:"label_list,omitempty"` ModuleId *string `json:"module_id,omitempty"` TestVersionId *string `json:"test_version_id,omitempty"` FixVersionId *string `json:"fix_version_id,omitempty"` AssignedId *string `json:"assigned_id,omitempty"` IssueId *string `json:"issue_id,omitempty"` }
测试用例其他扩展信息
func (ExternalServiceCaseInfo) String ¶
func (o ExternalServiceCaseInfo) String() string
type ExternalServiceCaseStep ¶
type ExternalServiceCaseStep struct { ExpectResult *string `json:"expect_result,omitempty"` TestStep *string `json:"test_step,omitempty"` }
测试步骤,数组长度小于10
func (ExternalServiceCaseStep) String ¶
func (o ExternalServiceCaseStep) String() string
type ListEnvironmentsRequest ¶
Request Object
func (ListEnvironmentsRequest) String ¶
func (o ListEnvironmentsRequest) String() string
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { Environments *[]Environment `json:"environments,omitempty"` Offset *int64 `json:"offset,omitempty"` Limit *int64 `json:"limit,omitempty"` TotalCount *int64 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentsResponse) String ¶
func (o ListEnvironmentsResponse) String() string
type PlanCycle ¶
type PlanCycle struct { StartDate *string `json:"start_date,omitempty"` EndDate *string `json:"end_date,omitempty"` }
计划周期信息
type RunTestCaseRequest ¶
type RunTestCaseRequest struct {
Body *RunTestCaseRequestBody `json:"body,omitempty"`
}
Request Object
func (RunTestCaseRequest) String ¶
func (o RunTestCaseRequest) String() string
type RunTestCaseRequestBody ¶
type RunTestCaseRequestBody struct { ServiceId int32 `json:"service_id"` PlanId *string `json:"plan_id,omitempty"` ExecuteList []TestCaseExecuteBean `json:"execute_list"` }
执行测试用例请求体
func (RunTestCaseRequestBody) String ¶
func (o RunTestCaseRequestBody) String() string
type RunTestCaseResponse ¶
type RunTestCaseResponse struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` ErrorDetail *ErrorDetailInfo `json:"error_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunTestCaseResponse) String ¶
func (o RunTestCaseResponse) String() string
type ServiceRequestBody ¶
type ServiceRequestBody struct { ServiceName string `json:"service_name"` ServerHost string `json:"server_host"` }
新测试类型服务信息
func (ServiceRequestBody) String ¶
func (o ServiceRequestBody) String() string
type ServicesInfo ¶
func (ServicesInfo) String ¶
func (o ServicesInfo) String() string
type ShowIssuesByPlanIdRequest ¶ added in v0.0.73
type ShowIssuesByPlanIdRequest struct { PlanId string `json:"plan_id"` Offset int64 `json:"offset"` Limit int64 `json:"limit"` }
Request Object
func (ShowIssuesByPlanIdRequest) String ¶ added in v0.0.73
func (o ShowIssuesByPlanIdRequest) String() string
type ShowIssuesByPlanIdResponse ¶ added in v0.0.73
type ShowIssuesByPlanIdResponse struct { Body *[]TestPlanIssueDetail `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowIssuesByPlanIdResponse) String ¶ added in v0.0.73
func (o ShowIssuesByPlanIdResponse) String() string
type ShowPlanJournalsRequest ¶ added in v0.0.73
type ShowPlanJournalsRequest struct { PlanId string `json:"plan_id"` Offset int64 `json:"offset"` Limit int64 `json:"limit"` }
Request Object
func (ShowPlanJournalsRequest) String ¶ added in v0.0.73
func (o ShowPlanJournalsRequest) String() string
type ShowPlanJournalsResponse ¶ added in v0.0.73
type ShowPlanJournalsResponse struct { Body *[]TestPlanJournalList `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPlanJournalsResponse) String ¶ added in v0.0.73
func (o ShowPlanJournalsResponse) String() string
type ShowPlanListRequest ¶ added in v0.0.74
type ShowPlanListRequest struct { Offset int64 `json:"offset"` Limit int64 `json:"limit"` Name *string `json:"name,omitempty"` CurrentStage *string `json:"current_stage,omitempty"` }
Request Object
func (ShowPlanListRequest) String ¶ added in v0.0.74
func (o ShowPlanListRequest) String() string
type ShowPlanListResponse ¶ added in v0.0.74
type ShowPlanListResponse struct { Body *[]TestPlanDetail `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPlanListResponse) String ¶ added in v0.0.74
func (o ShowPlanListResponse) String() string
type ShowPlansRequest ¶
type ShowPlansRequest struct { Name *string `json:"name,omitempty"` CurrentStage *string `json:"current_stage,omitempty"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` }
Request Object
func (ShowPlansRequest) String ¶
func (o ShowPlansRequest) String() string
type ShowPlansResponse ¶
type ShowPlansResponse struct { Body *[]TestPlanDetail `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPlansResponse) String ¶
func (o ShowPlansResponse) String() string
type ShowRegisterServiceRequest ¶
type ShowRegisterServiceRequest struct { }
Request Object
func (ShowRegisterServiceRequest) String ¶
func (o ShowRegisterServiceRequest) String() string
type ShowRegisterServiceResponse ¶
type ShowRegisterServiceResponse struct { Services *[]ServicesInfo `json:"services,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowRegisterServiceResponse) String ¶
func (o ShowRegisterServiceResponse) String() string
type ShowTestCaseDetailRequest ¶
type ShowTestCaseDetailRequest struct {
TestcaseId string `json:"testcase_id"`
}
Request Object
func (ShowTestCaseDetailRequest) String ¶
func (o ShowTestCaseDetailRequest) String() string
type ShowTestCaseDetailResponse ¶
type ShowTestCaseDetailResponse struct { TestcaseId *string `json:"testcase_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` Name *string `json:"name,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` RankId *string `json:"rank_id,omitempty"` StatusId *string `json:"status_id,omitempty"` AssignedUser *AssignedUserInfo `json:"assigned_user,omitempty"` ExecuteCount *int32 `json:"execute_count,omitempty"` ResultId *string `json:"result_id,omitempty"` ExtendInfo *ExtendInfo `json:"extend_info,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTestCaseDetailResponse) String ¶
func (o ShowTestCaseDetailResponse) String() string
type ShowTestCaseDetailV2Request ¶
type ShowTestCaseDetailV2Request struct {
TestcaseNumber string `json:"testcase_number"`
}
Request Object
func (ShowTestCaseDetailV2Request) String ¶
func (o ShowTestCaseDetailV2Request) String() string
type ShowTestCaseDetailV2Response ¶
type ShowTestCaseDetailV2Response struct { TestcaseId *string `json:"testcase_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` Name *string `json:"name,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` RankId *string `json:"rank_id,omitempty"` StatusId *string `json:"status_id,omitempty"` AssignedUser *AssignedUserInfo `json:"assigned_user,omitempty"` ExecuteCount *int32 `json:"execute_count,omitempty"` ResultId *string `json:"result_id,omitempty"` ExtendInfo *ExtendInfo `json:"extend_info,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTestCaseDetailV2Response) String ¶
func (o ShowTestCaseDetailV2Response) String() string
type TestCaseExecuteBean ¶
type TestCaseExecuteBean struct { TestcaseId string `json:"testcase_id"` ExecuteId string `json:"execute_id"` ResultId string `json:"result_id"` StartTime int64 `json:"start_time"` }
测试用例执行信息,数组长度小于等于50
func (TestCaseExecuteBean) String ¶
func (o TestCaseExecuteBean) String() string
type TestPlanDetail ¶ added in v0.0.74
type TestPlanDetail struct { PlanId *string `json:"plan_id,omitempty"` Name *string `json:"name,omitempty"` StartDate *string `json:"start_date,omitempty"` EndDate *string `json:"end_date,omitempty"` FinishDate *string `json:"finish_date,omitempty"` ProjectId *string `json:"project_id,omitempty"` CurrentStage *string `json:"current_stage,omitempty"` ExpireDay *string `json:"expire_day,omitempty"` Creator *TestPlanDetailCreator `json:"creator,omitempty"` Owner *TestPlanDetailOwner `json:"owner,omitempty"` DesignStage *TestPlanDetailDesignStage `json:"design_stage,omitempty"` ExecuteStage *TestPlanDetailExecuteStage `json:"execute_stage,omitempty"` ReportStage *TestPlanDetailReportStage `json:"report_stage,omitempty"` Iteration *NameAndId `json:"iteration,omitempty"` }
测试计划详情
func (TestPlanDetail) String ¶ added in v0.0.74
func (o TestPlanDetail) String() string
type TestPlanDetailCreator ¶ added in v0.0.81
type TestPlanDetailCreator struct { Id *string `json:"id,omitempty"` NickName *string `json:"nick_name,omitempty"` UserName *string `json:"user_name,omitempty"` }
测试计划创建者信息
func (TestPlanDetailCreator) String ¶ added in v0.0.81
func (o TestPlanDetailCreator) String() string
type TestPlanDetailDesignStage ¶ added in v0.0.74
type TestPlanDetailDesignStage struct { CaseCount *int32 `json:"case_count,omitempty"` IssueCount *int32 `json:"issue_count,omitempty"` IssueCoveredCount *string `json:"issue_covered_count,omitempty"` }
测试计划设计阶段信息
func (TestPlanDetailDesignStage) String ¶ added in v0.0.74
func (o TestPlanDetailDesignStage) String() string
type TestPlanDetailExecuteStage ¶ added in v0.0.74
type TestPlanDetailExecuteStage struct { DefectCount *int32 `json:"defect_count,omitempty"` CompletedDefectCount *int32 `json:"completed_defect_count,omitempty"` CasePassRate *string `json:"case_pass_rate,omitempty"` ExecutedCaseCount *int32 `json:"executed_case_count,omitempty"` }
测试计划执行阶段信息
func (TestPlanDetailExecuteStage) String ¶ added in v0.0.74
func (o TestPlanDetailExecuteStage) String() string
type TestPlanDetailOwner ¶ added in v0.0.74
type TestPlanDetailOwner struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` NickName *string `json:"nick_name,omitempty"` UserName *string `json:"user_name,omitempty"` }
测试计划处理者信息
func (TestPlanDetailOwner) String ¶ added in v0.0.74
func (o TestPlanDetailOwner) String() string
type TestPlanDetailReportStage ¶ added in v0.0.74
type TestPlanDetailReportStage struct {
CaseCompleteRate *string `json:"case_complete_rate,omitempty"`
}
测试计划完成阶段信息
func (TestPlanDetailReportStage) String ¶ added in v0.0.74
func (o TestPlanDetailReportStage) String() string
type TestPlanIssueDetail ¶ added in v0.0.74
type TestPlanIssueDetail struct { ProjectId *string `json:"project_id,omitempty"` PlanId *string `json:"plan_id,omitempty"` WorkitemId *string `json:"workitem_id,omitempty"` ParentIssue *string `json:"parent_issue,omitempty"` StartDate *string `json:"start_date,omitempty"` EndDate *string `json:"end_date,omitempty"` Name *string `json:"name,omitempty"` RegionId *string `json:"region_id,omitempty"` Owner *NameAndId `json:"owner,omitempty"` Severity *NameAndId `json:"severity,omitempty"` Status *NameAndId `json:"status,omitempty"` Tracker *NameAndId `json:"tracker,omitempty"` Iteration *NameAndId `json:"iteration,omitempty"` Module *NameAndId `json:"module,omitempty"` }
测试计划需求列表详情
func (TestPlanIssueDetail) String ¶ added in v0.0.74
func (o TestPlanIssueDetail) String() string
type TestPlanJournalDetail ¶ added in v0.0.74
type TestPlanJournalDetail struct { Updated *[]AttributeChange `json:"updated,omitempty"` Added *[]NameAndId `json:"added,omitempty"` Deleted *[]NameAndId `json:"deleted,omitempty"` JournalizedType *string `json:"journalized_type,omitempty"` Type *string `json:"type,omitempty"` }
测试计划操作历史详情
func (TestPlanJournalDetail) String ¶ added in v0.0.74
func (o TestPlanJournalDetail) String() string
type TestPlanJournalList ¶ added in v0.0.74
type TestPlanJournalList struct { ProjectId *string `json:"project_id,omitempty"` PlanId *string `json:"plan_id,omitempty"` OperateTime *string `json:"operate_time,omitempty"` Operator *NameAndId `json:"operator,omitempty"` Detail *[]TestPlanJournalDetail `json:"detail,omitempty"` }
项目下某个测试计划操作历史列表
func (TestPlanJournalList) String ¶ added in v0.0.74
func (o TestPlanJournalList) String() string
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { ServiceId int32 `json:"service_id"` Body *ServiceRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServiceRequest) String ¶
func (o UpdateServiceRequest) String() string
type UpdateServiceResponse ¶
type UpdateServiceResponse struct { ServiceName *string `json:"service_name,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateServiceResponse) String ¶
func (o UpdateServiceResponse) String() string
type UpdateTestCaseRequest ¶
type UpdateTestCaseRequest struct { TestcaseId string `json:"testcase_id"` Body *UpdateTestCaseRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateTestCaseRequest) String ¶
func (o UpdateTestCaseRequest) String() string
type UpdateTestCaseRequestBody ¶
type UpdateTestCaseRequestBody struct { Name string `json:"name"` ServiceId int32 `json:"service_id"` RankId *string `json:"rank_id,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` ExtendInfo *ExternalServiceBizCase `json:"extend_info,omitempty"` }
更新测试用例信息请求体
func (UpdateTestCaseRequestBody) String ¶
func (o UpdateTestCaseRequestBody) String() string
type UpdateTestCaseResponse ¶
type UpdateTestCaseResponse struct { TestcaseId *string `json:"testcase_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ServiceId *int32 `json:"service_id,omitempty"` Name *string `json:"name,omitempty"` TestcaseNumber *string `json:"testcase_number,omitempty"` RankId *string `json:"rank_id,omitempty"` StatusId *string `json:"status_id,omitempty"` AssignedUser *AssignedUserInfo `json:"assigned_user,omitempty"` ExecuteCount *int32 `json:"execute_count,omitempty"` ResultId *string `json:"result_id,omitempty"` ExtendInfo *ExtendInfo `json:"extend_info,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateTestCaseResponse) String ¶
func (o UpdateTestCaseResponse) String() string
type UpdateTestCaseResultBean ¶
type UpdateTestCaseResultBean struct { TestcaseId string `json:"testcase_id"` ExecuteId string `json:"execute_id"` ResultId string `json:"result_id"` EndTime int64 `json:"end_time"` Duration *int64 `json:"duration,omitempty"` Description *string `json:"description,omitempty"` }
测试用例状态信息,数组长度小于等于50
func (UpdateTestCaseResultBean) String ¶
func (o UpdateTestCaseResultBean) String() string
type UpdateTestCaseResultRequest ¶
type UpdateTestCaseResultRequest struct {
Body *UpdateTestCaseResultRequestBody `json:"body,omitempty"`
}
Request Object
func (UpdateTestCaseResultRequest) String ¶
func (o UpdateTestCaseResultRequest) String() string
type UpdateTestCaseResultRequestBody ¶
type UpdateTestCaseResultRequestBody struct { ServiceId int32 `json:"service_id"` ExecuteList []UpdateTestCaseResultBean `json:"execute_list"` }
更新测试用例状态请求体
func (UpdateTestCaseResultRequestBody) String ¶
func (o UpdateTestCaseResultRequestBody) String() string
type UpdateTestCaseResultResponse ¶
type UpdateTestCaseResultResponse struct { ErrorCode *string `json:"error_code,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` ErrorDetail *ErrorDetailInfo `json:"error_detail,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateTestCaseResultResponse) String ¶
func (o UpdateTestCaseResultResponse) String() string
Source Files ¶
- model_assigned_user_info.go
- model_attribute_change.go
- model_batch_delete_test_case_request.go
- model_batch_delete_test_case_request_body.go
- model_batch_delete_test_case_response.go
- model_create_api_test_suite_by_repo_file_request.go
- model_create_api_test_suite_by_repo_file_response.go
- model_create_plan_request.go
- model_create_plan_request_body.go
- model_create_plan_response.go
- model_create_service_request.go
- model_create_service_response.go
- model_create_test_case_in_plan_request.go
- model_create_test_case_in_plan_request_body.go
- model_create_test_case_in_plan_response.go
- model_create_test_case_request.go
- model_create_test_case_request_body.go
- model_create_test_case_response.go
- model_create_test_suit_by_repo_file_info.go
- model_delete_service_request.go
- model_delete_service_response.go
- model_environment.go
- model_error_case_info_bean.go
- model_error_detail_info.go
- model_extend_author_info.go
- model_extend_info.go
- model_external_service_biz_case.go
- model_external_service_case_info.go
- model_external_service_case_step.go
- model_list_environments_request.go
- model_list_environments_response.go
- model_name_and_id.go
- model_plan_cycle.go
- model_run_test_case_request.go
- model_run_test_case_request_body.go
- model_run_test_case_response.go
- model_service_request_body.go
- model_services_info.go
- model_show_issues_by_plan_id_request.go
- model_show_issues_by_plan_id_response.go
- model_show_plan_journals_request.go
- model_show_plan_journals_response.go
- model_show_plan_list_request.go
- model_show_plan_list_response.go
- model_show_plans_request.go
- model_show_plans_response.go
- model_show_register_service_request.go
- model_show_register_service_response.go
- model_show_test_case_detail_request.go
- model_show_test_case_detail_response.go
- model_show_test_case_detail_v2_request.go
- model_show_test_case_detail_v2_response.go
- model_test_case_execute_bean.go
- model_test_plan_detail.go
- model_test_plan_detail_creator.go
- model_test_plan_detail_design_stage.go
- model_test_plan_detail_execute_stage.go
- model_test_plan_detail_owner.go
- model_test_plan_detail_report_stage.go
- model_test_plan_issue_detail.go
- model_test_plan_journal_detail.go
- model_test_plan_journal_list.go
- model_update_service_request.go
- model_update_service_response.go
- model_update_test_case_request.go
- model_update_test_case_request_body.go
- model_update_test_case_response.go
- model_update_test_case_result_bean.go
- model_update_test_case_result_request.go
- model_update_test_case_result_request_body.go
- model_update_test_case_result_response.go