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.

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.