testcase

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BATCH_CLEAN_FROM_RECYCLE_BIN = apis.ApiSpec{
	Path:         "/api/testcases/actions/batch-clean-from-recycle-bin",
	BackendPath:  "/api/testcases/actions/batch-clean-from-recycle-bin",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodDelete,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseBatchCleanFromRecycleBinRequest{},
	ResponseType: apistructs.TestCaseBatchCleanFromRecycleBinResponse{},
	Doc:          "summary: 从回收站彻底删除测试用例",
}
View Source
var BATCH_COPY = apis.ApiSpec{
	Path:         "/api/testcases/actions/batch-copy",
	BackendPath:  "/api/testcases/actions/batch-copy",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseBatchCopyRequest{},
	ResponseType: apistructs.TestCaseBatchCopyResponse{},
	Doc:          "summary: 批量复制测试用例到指定测试集",
}
View Source
var BATCH_UPDATE = apis.ApiSpec{
	Path:         "/api/testcases/actions/batch-update",
	BackendPath:  "/api/testcases/actions/batch-update",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseBatchUpdateRequest{},
	ResponseType: apistructs.TestCaseBatchUpdateResponse{},
	Doc:          "summary: 批量更新测试用例",
}
View Source
var CREATE = apis.ApiSpec{
	Path:         "/api/testcases",
	BackendPath:  "/api/testcases",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "POST",
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseCreateRequest{},
	ResponseType: apistructs.TestCaseCreateResponse{},
	Doc:          "summary: 创建测试用例",
}
View Source
var EXPORT = apis.ApiSpec{
	Path:         "/api/testcases/actions/export",
	BackendPath:  "/api/testcases/actions/export",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseExportRequest{},
	ResponseType: apistructs.TestCaseExportResponse{},
	Doc:          "summary: 导出测试用例",
}
View Source
var GET = apis.ApiSpec{
	Path:         "/api/testcases/<testCaseID>",
	BackendPath:  "/api/testcases/<testCaseID>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	ResponseType: apistructs.TestCaseGetResponse{},
	Doc:          "summary: 获取指定测试用例详情",
}
View Source
var Import = apis.ApiSpec{
	Path:         "/api/testcases/actions/import",
	BackendPath:  "/api/testcases/actions/import",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPost,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseImportRequest{},
	ResponseType: apistructs.TestCaseImportResponse{},
	Doc:          "summary: 导入测试用例",
}
View Source
var PAGING = apis.ApiSpec{
	Path:         "/api/testcases",
	BackendPath:  "/api/testcases",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	RequestType:  apistructs.TestCasePagingRequest{},
	ResponseType: apistructs.TestCasePagingResponse{},
	Doc:          "summary: 测试用例分页",
}
View Source
var UPDATE = apis.ApiSpec{
	Path:         "/api/testcases/<testCaseID>",
	BackendPath:  "/api/testcases/<testCaseID>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodPut,
	CheckLogin:   true,
	RequestType:  apistructs.TestCaseUpdateRequest{},
	ResponseType: apistructs.TestCaseUpdateResponse{},
	Doc:          "summary: 更新测试用例",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL