testplan

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AUTOTESTS_TESTPLAN_EXECUTE = apis.ApiSpec{
	Path:           "/api/autotests/testplans/<testPlanID>/actions/execute",
	BackendPath:    "/api/autotests/testplans/<testPlanID>/actions/execute",
	Host:           "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:         "http",
	Method:         http.MethodPost,
	CheckLogin:     true,
	CheckBasicAuth: true,
	CheckToken:     true,
	IsOpenAPI:      true,
	Doc:            "自动化测试计划执行",
}
View Source
var AUTOTESTS_TESTPLAN_PAGING = apis.ApiSpec{
	Path:           "/api/autotests/testplans",
	BackendPath:    "/api/autotests/testplans",
	Host:           "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:         "http",
	Method:         http.MethodPost,
	CheckLogin:     true,
	CheckBasicAuth: true,
	Doc:            "自动化测试计划列表",
}
View Source
var CANCEL_APITEST = apis.ApiSpec{
	Path:        "/api/testplans/<testPlanID>/actions/cancel-apitest/<pipelineID>",
	BackendPath: "/api/testplans/<testPlanID>/actions/cancel-apitest/<pipelineID>",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	Doc:         "summary: 取消执行接口测试",
}
View Source
var CREATE = apis.ApiSpec{
	Path:         "/api/testplans",
	BackendPath:  "/api/testplans",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "POST",
	CheckLogin:   true,
	RequestType:  apistructs.TestPlanCreateRequest{},
	ResponseType: apistructs.TestPlanCreateResponse{},
	Doc:          "summary: 创建测试计划",
}
View Source
var DELETE = apis.ApiSpec{
	Path:        "/api/testplans/<id>",
	BackendPath: "/api/testplans/<id>",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc:         "summary: 删除测试计划",
}
View Source
var EXECUTE_APITEST = apis.ApiSpec{
	Path:        "/api/testplans/<testPlanID>/actions/execute-apitest",
	BackendPath: "/api/testplans/<testPlanID>/actions/execute-apitest",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPost,
	CheckLogin:  true,
	Doc:         "summary: 执行接口测试",
}
View Source
var GENERATE_REPORT = apis.ApiSpec{
	Path:         "/api/testplans/<testPlanID>/actions/generate-report",
	BackendPath:  "/api/testplans/<testPlanID>/actions/generate-report",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	ResponseType: apistructs.TestPlanReportGenerateResponse{},
	Doc:          "summary: 生成测试计划测试报告",
}
View Source
var GET = apis.ApiSpec{
	Path:         "/api/testplans/<id>",
	BackendPath:  "/api/testplans/<id>",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	ResponseType: apistructs.TestPlanGetResponse{},
	Doc:          "summary: 测试计划详情",
}
View Source
var LIST = apis.ApiSpec{
	Path:         "/api/testplans",
	BackendPath:  "/api/testplans",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	RequestType:  apistructs.TestPlanPagingRequest{},
	ResponseType: apistructs.TestPlanPagingResponse{},
	Doc:          "summary: 测试计划列表",
}
View Source
var LIST_TESTSETS = apis.ApiSpec{
	Path:         "/api/testplans/<testPlanID>/testsets",
	BackendPath:  "/api/testplans/<testPlanID>/testsets",
	Host:         "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:       "http",
	Method:       http.MethodGet,
	CheckLogin:   true,
	RequestType:  apistructs.TestPlanTestSetsListRequest{},
	ResponseType: apistructs.TestPlanTestSetListResponse{},
	Doc:          "summary: 获取测试计划下的测试集列表",
}
View Source
var UPDATE = apis.ApiSpec{
	Path:        "/api/testplans/<testPlanID>",
	BackendPath: "/api/testplans/<testPlanID>",
	Host:        "dop.marathon.l4lb.thisdcos.directory:9527",
	Scheme:      "http",
	Method:      http.MethodPut,
	CheckLogin:  true,
	RequestType: apistructs.TestPlanUpdateRequest{},
	Doc:         "summary: 更新测试计划",
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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