<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Integration/unit testing for Jobs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197236#M1063</link>
    <description>Ok I might be able to call the job from outside, but how I compare the result with some expected result. 
&lt;BR /&gt;I cannot compare the file generated (I generate PDF) but usually (in other development tool) I make Junit tests to call this unit and compare the output (before pdf generation) of this unit using different use cases according the expected result. 
&lt;BR /&gt;I do not want something fancy, only to be able to test parts of my jobs (of course continuous integration would be the ultimate goal)</description>
    <pubDate>Fri, 21 Mar 2014 06:36:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-21T06:36:06Z</dc:date>
    <item>
      <title>Integration/unit testing for Jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197234#M1061</link>
      <description>Hello, 
&lt;BR /&gt;I have a job which have several filters and some error handling. 
&lt;BR /&gt;I would like to have some integration testing on my Jobs. 
&lt;BR /&gt;In fact it is not complicated it reads file in directories, output some result: positive results, error, file generated, etc ? 
&lt;BR /&gt;I have defined a number of test case and I would like compare the test run with expected result. 
&lt;BR /&gt;I did read 
&lt;BR /&gt; 
&lt;A href="http://blog.nanthrax.net/2013/10/talend-esb-continous-integration-part1-using-camel-test-kit/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://blog.nanthrax.net/2013/10/talend-esb-continous-integration-part1-using-camel-test-kit/&lt;/A&gt; 
&lt;BR /&gt;and 
&lt;BR /&gt; 
&lt;A href="http://blog.nanthrax.net/2013/10/talend-esb-continous-integration-part2-maven-and-commandline/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://blog.nanthrax.net/2013/10/talend-esb-continous-integration-part2-maven-and-commandline/&lt;/A&gt; 
&lt;BR /&gt;But could not see a way to do such things with for Jobs ? 
&lt;BR /&gt;Is it possible, do you have some example? 
&lt;BR /&gt;Integration test, unit test is really important in any development environment, what is you advise to tackle such issues. 
&lt;BR /&gt;Best Regards, 
&lt;BR /&gt;Francois</description>
      <pubDate>Thu, 20 Mar 2014 07:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197234#M1061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Integration/unit testing for Jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197235#M1062</link>
      <description>You could use the exported job in your jUnit tests. A job can be called as command from from OS or you use the libraries and call from the entry class runInTos(String[] contextArgs) 
&lt;BR /&gt;One problem remains, in the Open Source release there is currently no way to build the job outside the studio.</description>
      <pubDate>Thu, 20 Mar 2014 14:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197235#M1062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-20T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Integration/unit testing for Jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197236#M1063</link>
      <description>Ok I might be able to call the job from outside, but how I compare the result with some expected result. 
&lt;BR /&gt;I cannot compare the file generated (I generate PDF) but usually (in other development tool) I make Junit tests to call this unit and compare the output (before pdf generation) of this unit using different use cases according the expected result. 
&lt;BR /&gt;I do not want something fancy, only to be able to test parts of my jobs (of course continuous integration would be the ultimate goal)</description>
      <pubDate>Fri, 21 Mar 2014 06:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197236#M1063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-21T06:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Integration/unit testing for Jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197237#M1064</link>
      <description>In this case you have to split your job into a job what create a comparable result and a job what creates the PDF file.</description>
      <pubDate>Fri, 21 Mar 2014 09:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197237#M1064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-21T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Integration/unit testing for Jobs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197238#M1065</link>
      <description>Well well, is there a way to get the schema values at run-time from outside?&lt;BR /&gt;Or the only way of doing that is to dump in a file and read the content of the file with a Talend Test Job?</description>
      <pubDate>Fri, 21 Mar 2014 10:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Integration-unit-testing-for-Jobs/m-p/2197238#M1065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-21T10:56:46Z</dc:date>
    </item>
  </channel>
</rss>

