<?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 Designing Unit Tests ETL Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Designing-Unit-Tests-ETL-Job/m-p/2287741#M61297</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do know what is the purpose of a unit test and I know how to write them, but I have trouble getting my head around the structure of Talend Test Jobs...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to test a tMap job that take a tMSSQLInput and return a tMSSQLOutput. So far nothing extraordinary.&lt;/P&gt;
&lt;P&gt;I created a test case and I'm stuck on how to configure everything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I need to mimic the data coming from a database using a tMSSQL I/O, if so do I need to create mock data ? If that's the case it seems painfully long...&lt;/P&gt;
&lt;P&gt;I understand that I need to compare it to a reference file, do I have to use a csv file ? Do I have to also create that reference file ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that in a unit test I give as input all the cases that my method covers, and checks what it returns, but in a tMap operation spanning across several databases with computation in between... That seems like a super tedious task, which is not the point of a unit test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, an advice, or insightful words of wisdom are appreciated. Share your knowledge with me and I'll&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:38:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:38:30Z</dc:date>
    <item>
      <title>Designing Unit Tests ETL Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Designing-Unit-Tests-ETL-Job/m-p/2287741#M61297</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do know what is the purpose of a unit test and I know how to write them, but I have trouble getting my head around the structure of Talend Test Jobs...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to test a tMap job that take a tMSSQLInput and return a tMSSQLOutput. So far nothing extraordinary.&lt;/P&gt;
&lt;P&gt;I created a test case and I'm stuck on how to configure everything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I need to mimic the data coming from a database using a tMSSQL I/O, if so do I need to create mock data ? If that's the case it seems painfully long...&lt;/P&gt;
&lt;P&gt;I understand that I need to compare it to a reference file, do I have to use a csv file ? Do I have to also create that reference file ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that in a unit test I give as input all the cases that my method covers, and checks what it returns, but in a tMap operation spanning across several databases with computation in between... That seems like a super tedious task, which is not the point of a unit test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, an advice, or insightful words of wisdom are appreciated. Share your knowledge with me and I'll&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Designing-Unit-Tests-ETL-Job/m-p/2287741#M61297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Designing Unit Tests ETL Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Designing-Unit-Tests-ETL-Job/m-p/2287742#M61298</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are supposing that you have read this online document about:&lt;A title="TalendHelpCenter:Designing tests" href="https://help.talend.com/reader/oUqZk~3EN84NbOFGfquJKA/7WnC7DzjJD_gvNOwfkcIGA" target="_self" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter: Designing tests&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Are you trying to use the Test Case feature which automatically creates a Test Case with a skeleton in a Test Instance?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 10:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Designing-Unit-Tests-ETL-Job/m-p/2287742#M61298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-03T10:01:13Z</dc:date>
    </item>
  </channel>
</rss>

