Help Center/ CodeArts TestPlan/ CLI Reference/ CLI Command Reference
Updated on 2026-09-21 GMT+08:00

CLI Command Reference

Test Plan Management

API Name

Command

Description

Operation

Adding Test Cases in Batches to a Plan

hcloud Cloudtest CreateTestCaseInPlan

Adds test cases in batches to a plan.

Go debug

Creating a Plan in a Project

hcloud Cloudtest CreatePlan

Create a plan in a project.

Go debug

Querying the Test Plan List in a Project

hcloud Cloudtest ShowPlans

Queries the test plan list in a project.

Go debug

Querying the Requirement Tree of a Test Plan

hcloud Cloudtest ShowIssuesByPlanId

Queries the requirement list in a test plan.

Go debug

Querying the Operation History of a Test Plan

hcloud Cloudtest ShowPlanJournals

Queries the operation history of a test plan.

Go debug

Querying the Test Plan List in a Project (V2)

hcloud Cloudtest ShowPlanList

Queries the test plan list in a project (V2).

Go debug

Custom Test Service Test Suite Management

API Name

Command

Description

Operation

Obtaining Details About Test Cases Associated with a Test Suite

hcloud Cloudtest ListTaskAssignCases

Obtaining Details About Test Cases Associated with a Test Suite

Go debug

ApigAutoInitController

API Name

Command

Description

Operation

Generating an API Test Suite by Importing Files from a Repository

hcloud Cloudtest CreateApiTestSuiteByRepoFile

Generates an API test suite by importing files from the repository.

Go debug

Obtaining the Environment Parameter Group List

API Name

Command

Description

Operation

Obtaining the Environment Parameter Group List

hcloud Cloudtest ListEnvironments

Obtains the environment parameter list of CloudTest.

Go debug