Can we create negative test cases in Talend

Seven Stars

Can we create negative test cases in Talend

Hi, 

I learnt that we can create unit test cases for components we use in job. Can we write negative test cases as well?

I mean, component fails for a particular input and we expect an error as result.

 

 

Thanks in advance,

Meghana.

Employee

Re: Can we create negative test cases in Talend

Hello,

Actually the test case only need a tAssert with a condition on it.
As long as you can catch the error, and set a variable to false.. you should be able to set the value in the tAssert later.

Nicolas.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads