Adding test instances - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-29

About this task

Upon creation, a test case has one test instance named Default. You can add as many instances as you need to run the same test case with different sets of data files. From the Test Cases view, you run an instance individually or run all the instances of the test case at the same time. To add a test instance, do the following:

Procedure

  1. From the Repository tree view, select the test case or the Job for which you created the test case and go to the Test Cases view.
    Note: If you have created more than one test cases for a Job, when you select the Job from the Repository tree view, all its test cases are displayed in the Test Cases view.
  2. On the left panel of the Test Cases, right-click the test case you want to set up, and select Add Instance from the contextual menu.
    Add Instance option in the contextual menu.
  3. Type in a name for the instance or accept the proposed name.
    The newly created test instance appears under the test case name node.
    The test instance under the test case name node.
    You can remove the instance, add test data to all existing instances, or run the instance by right-clicking on the instance and select the relevant item of the contextual menu. You can also remove a test data item by right-clicking it and select Remove TestData from the context menu.
    Note:

    Note that if you remove a test data item from an instance, this item is also removed from all the other instances.

  4. Specify a new context for the newly created test instance. For more information, see the procedure below.