<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9133</bug_id>
          
          <creation_ts>2016-02-17 21:28:18 +0000</creation_ts>
          <short_desc>QA: Eclipse plugin testing integrate into AB</short_desc>
          <delta_ts>2019-05-23 15:06:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>9597</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>tim.orling</cc>
    
    <cc>valentinx.hangan</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59171</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2016-02-17 21:28:18 +0000</bug_when>
    <thetext>We need to integrate eclipse plugin testing into AB/buildbot,

Current work at,

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=vhangan/eclipse-framework</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59229</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-02-18 21:10:04 +0000</bug_when>
    <thetext>Hi Anibal, Can you add a bug for the Fedora only testing issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63875</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-07-12 20:28:25 +0000</bug_when>
    <thetext>Re-assigning to Edwin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65051</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-08-11 03:25:23 +0000</bug_when>
    <thetext>This makes sense for a Linux only plugin, but since it depends on pygobject and GNOME-python it won&apos;t work on the Windows and Mac clients we are trying to add. It&apos;s great that it uses python for the tests, but requiring GNOME is a deal breaker for the larger picture. Hopefully, in the not too distant future, the Eclipse EASE project will allow us to return to using python for the test scripts (http://www.eclipse.org/ease/).

Many Eclipse plugins use SWTBot for UI testing (http://www.eclipse.org/swtbot/). The newest player in the Eclipse testing world is RCPTT (http://www.eclipse.org/rcptt/), but the C/C++ Development Tools (CDT) project has found debugging of RCPTT tests themselves to be difficult. Since most of what we are providing is CDT related, for now it makes the most sense to stick with SWTBot (&quot;swat-bot&quot;).

Very preliminary testing using SWTBot is available in the following branch:
http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky-contrib/log/?h=timo/neon-master-ui-tests-wip

For now, the tests can be run in the IDE, semi-automatically (the IDE has to be launched manually, but the test suite runs automatically). Using Xvnc and metacity the tests can be run fully automatically and &quot;headless&quot;, and many Eclipse projects do this on Hudson CI (http://wiki.eclipse.org/SWTBot/Automate_test_execution). The test cases themselves are (unfortunately) written in Java and require knowledge of the underlying SWT widgets, but the learning curve is not too steep. SWTBot provides a Recorder/Generator that can help with creating new test cases (http://wiki.eclipse.org/SWTBot/Generator), although it is limited to the UI thread in which it is launched. This means, for instance, that dialog boxes become difficult to generate test cases for. It is possible that the RCPTT UI tools may be able to help bridge the gap (helping to capture events from multiple UI threads), but this has not yet been tested.

The test suite results from SWTBot can be output to XUnit format and should therefore be &quot;easy&quot; to consume into a larger scoped QA report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65521</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-08-25 17:34:45 +0000</bug_when>
    <thetext>This enhancement wont be ready for M3, and M4 is just for bugs. Moving to 2.3M1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68039</commentid>
    <comment_count>5</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-11-07 19:25:27 +0000</bug_when>
    <thetext>As in bug 9140, Benjamin needs to figure out current status.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68047</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-11-07 21:51:33 +0000</bug_when>
    <thetext>RCPTT (Rich Client Platform Testing Tool) is Java/Eclipse based and therefore does not care about the distro or even platform (Mac/Windows/Linux). BZ#9597

The current in-process implementation uses a Docker container to run the tests. The container can be run on the AB, but the launcher script for the Docker container can be run bare-metal/natively as well. It does require some setup for QEMU in the background.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68150</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-11-08 19:05:15 +0000</bug_when>
    <thetext>The direction here is to collaborate with Tim on the RCPTT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68152</commentid>
    <comment_count>8</comment_count>
    <who name="Benjamin Esquivel">benjamin.esquivel</who>
    <bug_when>2016-11-08 19:10:46 +0000</bug_when>
    <thetext>Reassigning back to José so he can choose someone from QA To work on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68154</commentid>
    <comment_count>9</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-11-08 19:32:54 +0000</bug_when>
    <thetext>Assign it to Humberto as he is teh current owner of QA of Eclipse Plugin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70151</commentid>
    <comment_count>10</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2017-01-25 20:18:20 +0000</bug_when>
    <thetext>Still waiting for 9597 to be done. Moving to M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70561</commentid>
    <comment_count>11</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2017-02-08 21:04:07 +0000</bug_when>
    <thetext>Depends on a different bug and it doesn&apos;t look like it will be ready on time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76292</commentid>
    <comment_count>12</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-08-29 21:54:09 +0000</bug_when>
    <thetext>Moving to 2.5, due to limited resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76294</commentid>
    <comment_count>13</comment_count>
    <who name="Jair Gonzalez">jair.de.jesus.gonzalez.plascencia</who>
    <bug_when>2017-08-29 22:02:31 +0000</bug_when>
    <thetext>Returning version to 2.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83903</commentid>
    <comment_count>14</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-05-23 15:00:09 +0000</bug_when>
    <thetext>eclipse has been dropped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83921</commentid>
    <comment_count>15</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-05-23 15:06:51 +0000</bug_when>
    <thetext>closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>