One Star

Junit Testcases for Talend Job

Hi ,,
I am new to talend.I have some doubts about unit testing for talend job.
1)Where i need to integrate new testcase class.
2)Is there is any jar file require? if it so, where i need to integrate?
Please clarify my doubts.
thanks in advance
ranga
2 REPLIES
One Star

Re: Junit Testcases for Talend Job

Hi,
I put up a blog post on using JUnit with Talend Open Studio. This is testing Routines. I'm not extending TestCase or using @Test, but I am using the Assert.* functions.
http://bekwam.blogspot.com/2011/06/test-driven-development-and-talend-open.html
You will need a JAR file for JUnit to call a TestSuite. Use the tLibraryLoad component to access the JAR file from within a job. Call the suite from a tJava.
-Carl
Employee

Re: Junit Testcases for Talend Job

Thanks for the good blog post walkerca!
Best,
Pcoffre.