<?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 Test routines with TDD (Test-Driven Development) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314151#M84947</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case I have to develop specific code, using specific jars, not included in Talend, I create a Maven project, the code, and package the jar. I can test my code in TDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would like to know if there is a way to test my routines code directly in the Studio ?&lt;/P&gt;&lt;P&gt;I do something like what is explained here : &lt;A href="http://bekwam.blogspot.com/2011/06/test-driven-development-and-talend-open.html" target="_blank"&gt;http://bekwam.blogspot.com/2011/06/test-driven-development-and-talend-open.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and it works but I would like to know if it can be done like in a classic Maven project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:43:07 GMT</pubDate>
    <dc:creator>Alpha549</dc:creator>
    <dc:date>2024-11-15T22:43:07Z</dc:date>
    <item>
      <title>Test routines with TDD (Test-Driven Development)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314151#M84947</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case I have to develop specific code, using specific jars, not included in Talend, I create a Maven project, the code, and package the jar. I can test my code in TDD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would like to know if there is a way to test my routines code directly in the Studio ?&lt;/P&gt;&lt;P&gt;I do something like what is explained here : &lt;A href="http://bekwam.blogspot.com/2011/06/test-driven-development-and-talend-open.html" target="_blank"&gt;http://bekwam.blogspot.com/2011/06/test-driven-development-and-talend-open.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and it works but I would like to know if it can be done like in a classic Maven project. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314151#M84947</guid>
      <dc:creator>Alpha549</dc:creator>
      <dc:date>2024-11-15T22:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Test routines with TDD (Test-Driven Development)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314152#M84948</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you looked at the build in test cases: https://help.talend.com/r/en-US/8.0/studio-user-guide-esb/ci-test-cases&lt;/P&gt;&lt;P&gt;It's similar to what you linked, however this automatically takes care of the JUnit test creation.&lt;/P&gt;&lt;P&gt;These JUnits are validated during the build. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also there's a new concept you might not be aware:&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/Cloud/studio-user-guide-api-services-platform/creating-custom-routine-jars &lt;/P&gt;&lt;P&gt;This allows you to specify multiple classes for the same set of jars.&lt;/P&gt;&lt;P&gt;It currently doesn't have the ability to specify a GaV but there is an internal feature request for this TUP-30674 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;  Balázs&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 11:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314152#M84948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-24T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Test routines with TDD (Test-Driven Development)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314153#M84949</link>
      <description>&lt;P&gt;Hello @Balazs Gunics​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;Unfortunatelly, I use Talend Open Studio for ESB. Test case feature is not available.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 21:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314153#M84949</guid>
      <dc:creator>Alpha549</dc:creator>
      <dc:date>2022-07-24T21:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Test routines with TDD (Test-Driven Development)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314154#M84950</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Currently when we try to build the Talend job, it is only executing the component specific test cases, not the ones written using Routines.&lt;/P&gt;&lt;P&gt;In Talend, you could create the routine and use some assertion for each user case(basically you created a very simple job to run the test, eg, tMap, as you're coding your routines directly in Talend, but separately from the use of that routine in ETL job).&lt;/P&gt;&lt;P&gt;Or You can use Eclipse to driven test and construct your routine.&lt;/P&gt;&lt;P&gt;Export in jar format , add jar to Talend lib or load jar file with Talend component (eg. tLibraryLoad) and Test with different user cases.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 04:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314154#M84950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-25T04:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Test routines with TDD (Test-Driven Development)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314155#M84951</link>
      <description>&lt;P&gt;Thank you for your answer Sabrina, perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question solved&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 20:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Test-routines-with-TDD-Test-Driven-Development/m-p/2314155#M84951</guid>
      <dc:creator>Alpha549</dc:creator>
      <dc:date>2022-07-25T20:52:10Z</dc:date>
    </item>
  </channel>
</rss>

