Designing Tests

Talend Software Development Life Cycle Best Practices Guide

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend MDM Platform
Talend Data Integration
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend Data Management Platform
task
Design and Development
Deployment
Administration and Monitoring
EnrichPlatform
Talend Repository Manager
Talend Studio
Talend Administration Center
Talend JobServer
Talend CommandLine
Talend Artifact Repository
While designing the processes (Jobs and Routes), developers need to think of how to test them: Talend recommends you to use the Test Case feature: it automatically creates a Test Case with a skeleton in a Test Instance.

A Test Case is an executable test that consists of an immutable part extracted from the initial Job or Route, along with other editable components that form the skeleton of the Test Case.

A Test Instance is a set of data that allows you to run the Test Case with different parameters that you define (input, reference files, etc.).

Best practices:
  • It is recommended to create and use a context adapted to your environment (a Test context to execute test Jobs with the metadata of this environment, and a Production context to execute Jobs in the Production environment).

  • When the feature is designed and tested, it is recommended to use Talend Repository Manager to pass items to the QA environment. See Continuous Integration: Deploying to QA and Production environments for more information.