One Star

unit testing with Talend Forge

Hello
I would like to know if there is some "junit like" framework or way to do unit testing with talend
sorry if my question seems to be dumb,i m new to talend, for instance is there a widget which that two xml file are equal ?
thanks in advance
4 REPLIES
Community Manager

Re: unit testing with Talend Forge

Hello
Thanks for your interest in TOS.
To test for two xml are equal, you can use the tFileCompare+tAssert component(which can be used with the tAssertCatcher).
Please download the user documentation and learn the usage of them.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Employee

Re: unit testing with Talend Forge

As described by shong, we use tAssert for unit testing (at job level). Find more information on our automated test platform on my blog : Automated test results on talendforge.org
One Star

Re: unit testing with Talend Forge

the problem with tFileCompare, is that is there is only a difference of a space or tab, the test will be declared false ? is there a way to use tFileCompare without considering this
is colibri an open source project ?
One Star

Re: unit testing with Talend Forge

tAssert and tAssertCatcher are not included in the documentation. How do these work?