<?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 No tests to run when running maven on source code generated by Talend Studio in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/No-tests-to-run-when-running-maven-on-source-code-generated-by/m-p/2216129#M12267</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I am new to Talend Studio and am trying to run automated execution of Talend test cases. Tests are running as expected when executing them manually from the Talend Studio. But I am having issues when trying to automate the execution by using maven and by running &lt;STRONG&gt;mvn test&lt;/STRONG&gt; on the source code generated by Talend Studio.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Talend Studio Version:&lt;/STRONG&gt;&amp;nbsp;Talend Big Data 7.1.1&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Maven version&lt;/STRONG&gt;: 3.6.2&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Issue: (logged by maven)&lt;/STRONG&gt;&lt;BR /&gt;[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ routines ---&lt;BR /&gt;[INFO] No sources to compile&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ routines ---&lt;BR /&gt;[INFO] No tests to run.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know that there are documents on how to automate the execution through CI/CD (ref: &lt;A href="https://help.talend.com/reader/Zpzt_P_L6RrGuFyEnxwwqw/VLJEcbafyNanl0vaCFke2w" target="_self" rel="nofollow noopener noreferrer"&gt;Talend 7.1: Scheduling automatic executions on your build environment)&lt;/A&gt;&amp;nbsp;). But due to corporate and access restrictions, I don't have access to some credentials so I'm unable to follow all the steps in the document. While working with the restrictions, I followed the steps below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. Open Talend Studio. Right-click on the job with the test case to be automated, and select Build Job&lt;/P&gt; 
&lt;P&gt;2. Select the following build parameters and click&amp;nbsp;&lt;STRONG&gt;Finish&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sharex_20191216113448.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8MC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146511iFCE3DE5A143A7EF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8MC.png" alt="0683p000009M8MC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;3. Unzip the source code generated by Talend Studio.&lt;/P&gt; 
&lt;P&gt;4. Open Windows command line and navigate to the path of the unzipped source code&lt;/P&gt; 
&lt;P&gt;5. Run the following command:&lt;/P&gt; 
&lt;P&gt;mvn -Dcommandline.skip=true test -e&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After running the maven command, I am encountering the&amp;nbsp;&lt;STRONG&gt;No tests to run&lt;/STRONG&gt; issue. But test cases are running as expected when running it manually from the studio, or when building the job with the following options:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sharex_20191216120207.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8MH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130522i05621FFEA91536A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8MH.png" alt="0683p000009M8MH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone please advise if I am missing something?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:49:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T03:49:33Z</dc:date>
    <item>
      <title>No tests to run when running maven on source code generated by Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-tests-to-run-when-running-maven-on-source-code-generated-by/m-p/2216129#M12267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I am new to Talend Studio and am trying to run automated execution of Talend test cases. Tests are running as expected when executing them manually from the Talend Studio. But I am having issues when trying to automate the execution by using maven and by running &lt;STRONG&gt;mvn test&lt;/STRONG&gt; on the source code generated by Talend Studio.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Talend Studio Version:&lt;/STRONG&gt;&amp;nbsp;Talend Big Data 7.1.1&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Maven version&lt;/STRONG&gt;: 3.6.2&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Issue: (logged by maven)&lt;/STRONG&gt;&lt;BR /&gt;[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ routines ---&lt;BR /&gt;[INFO] No sources to compile&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ routines ---&lt;BR /&gt;[INFO] No tests to run.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know that there are documents on how to automate the execution through CI/CD (ref: &lt;A href="https://help.talend.com/reader/Zpzt_P_L6RrGuFyEnxwwqw/VLJEcbafyNanl0vaCFke2w" target="_self" rel="nofollow noopener noreferrer"&gt;Talend 7.1: Scheduling automatic executions on your build environment)&lt;/A&gt;&amp;nbsp;). But due to corporate and access restrictions, I don't have access to some credentials so I'm unable to follow all the steps in the document. While working with the restrictions, I followed the steps below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. Open Talend Studio. Right-click on the job with the test case to be automated, and select Build Job&lt;/P&gt; 
&lt;P&gt;2. Select the following build parameters and click&amp;nbsp;&lt;STRONG&gt;Finish&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sharex_20191216113448.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8MC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146511iFCE3DE5A143A7EF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8MC.png" alt="0683p000009M8MC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;3. Unzip the source code generated by Talend Studio.&lt;/P&gt; 
&lt;P&gt;4. Open Windows command line and navigate to the path of the unzipped source code&lt;/P&gt; 
&lt;P&gt;5. Run the following command:&lt;/P&gt; 
&lt;P&gt;mvn -Dcommandline.skip=true test -e&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;After running the maven command, I am encountering the&amp;nbsp;&lt;STRONG&gt;No tests to run&lt;/STRONG&gt; issue. But test cases are running as expected when running it manually from the studio, or when building the job with the following options:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sharex_20191216120207.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8MH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130522i05621FFEA91536A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8MH.png" alt="0683p000009M8MH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone please advise if I am missing something?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-tests-to-run-when-running-maven-on-source-code-generated-by/m-p/2216129#M12267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: No tests to run when running maven on source code generated by Talend Studio</title>
      <link>https://community.qlik.com/t5/Talend-Studio/No-tests-to-run-when-running-maven-on-source-code-generated-by/m-p/2216130#M12268</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is there any log in the executed TestCase?&lt;/P&gt;
&lt;P&gt;Are you able to find your files for test history are created in the path.&lt;BR /&gt;[workspace]\[projects]\tests\jobs\_xxxxxxxxxxxxxxxx\history_xxxxxxx_0.1?&lt;/P&gt;
&lt;P&gt;Please check lastGenerated.log in [workspace]\.Java&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 07:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/No-tests-to-run-when-running-maven-on-source-code-generated-by/m-p/2216130#M12268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-17T07:37:13Z</dc:date>
    </item>
  </channel>
</rss>

