TestPlan
Call the TestPlan extension to use CodeArts TestPlan capabilities.
Adding the Extension with GUI
Add the TestPlan extension when you orchestrate a pipeline. Set parameter as shown in Table 1.
Parameter |
Description |
---|---|
Name |
Extension name, which can be customized.
|
Select Task |
Select an API automation test suite whose code source is the same repository as the pipeline you are configuring. |
Parameters |
|
Environment |
When Parameter is set to Use global parameters of selected environment, select Default Environment. |
Adding the Extension with YAML
Add the TestPlan extension when you orchestrate a pipeline. Configure the YAML syntax as follows:
- TestPlan
uses: CodeArtsTestPlan with: jobId: vb180000vnrgoeib environmentModel: 1 environmentId: 7c2eff2377584811b7981674900158e8
- jobId: ID of the API test task.
- environmentModel: parameter source.
- 0: Use new execution parameters.
- 1: Use the global parameters of the selected environment.
- environmentId: environment ID when environmentModel is set to 1.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot