Header
(8.3.X) Configure Qualitia-Get Test Assembly Task
You must first configure your CI-CD pipeline accordingly to run test cases mapped to Azure DevOps test cases as a build process. Configuring CI-CD includes adding two custom tasks into the CI-CD pipeline and configure it for Qualitia automated test case execution. The section below details out steps to add and configure Qualitia-Get Test Assembly Task.
Adding Task in CI-CD Pipeline
- Log on to your Azure DevOps instance.
- Add new CI-CD pipeline or edit the existing pipeline.
To create new pipeline, select required repository or use the Select classic view option.
For more information on creating and configuring CI-CD pipelines, refer to the Azure DevOps documentation. - Click the + icon to add new task.
- Search and select the Qualitia-Get Test Assembly and add it.
- Set this task to execute prior to VS Test Task.
Your task is now ready for use in the CI-CD pipeline.
Configure Qualitia-Get Test Assembly Task
After you add it the custom task into the CI-CD pipeline, you must configure it adding some details.
Display Name | Enter the desired display name for this task. |
---|---|
Qualitia Server IP | Enter the hostname or IP of the machine where Qualitia server is installed. |
Qualitia Server Port | By default, this will use port 8887. |
Path to save Qualitia Test Project | This is the local path on the DevOps agent machine where the Qualitia test assemblies are downloaded. These test assemblies contain unit test methods created by Qualitia during test case linking process to invoke the Qualitia remote agent from the automated unit test method. By default, this field comes pre-populated with $(System.DefaultWorkingDeirectory). This location need not be changed if the Qualitia tests are to be executed in release pipelines as well. It is recommended not to edit/update content from this field. For more information on updating value set under this variable, refer to Azure DevOps documentation. |
Control Options | |
Enabled | This shows the current state of this customized task. This option gives you control over this customized task. By default, this option is selected. Clear this option to disable a task. It is useful when you want to temporarily take task out of the process for testing or for specific deployments. |
Continue on error | Select this option if you want to continue Qualitia test case execution even after getting any error in the pipeline. By default, this option is not enabled. |
Timeout | Set the timeout for the task in minutes. Default is 0 which refers to infinite timeout. Value set here overrides the value set for the parent task job. |
Run this task | Here you can set the condition to run this task. You can use one of the pre-designed options in the list or you can create new customized condition. You may refer to Azure DevOps documentation for more information on creating custom conditions as expressions. |
Attach Zip to Test Results | Select this option to view test results consolidated as a ZIP file in Azure DevOps. |
Qualitia Get Assembly Version Details | For Qualitia version 7.3.5 and above, select 2. |
Footer