Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.

Labels (2)
1 Reply
Anonymous
Not applicable
Author

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.