<?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>3772</bug_id>
          
          <creation_ts>2013-01-22 12:19:39 +0000</creation_ts>
          <short_desc>Eclipse plugin should have a test framework</short_desc>
          <delta_ts>2019-08-29 15:17:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Valentin Hangan">valentinx.hangan</assigned_to>
          <cc>ada-mihaela.solcan</cc>
    
    <cc>adrian.dudau</cc>
    
    <cc>alexandra.safta</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>valentinx.hangan</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29030</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-01-22 12:19:39 +0000</bug_when>
    <thetext>Currently, Eclipse-plugin does not have support for automation testing (e.g. using JUnit). We should have a testing framework integrated with it so eclipse-plugin tests can be automated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30481</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-03-06 18:16:49 +0000</bug_when>
    <thetext>I think Alex figured out another way of doing this? If so, probably close this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30483</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-07 10:04:41 +0000</bug_when>
    <thetext>Hi Jessica,
The test we intend to do is using a UI recognition tool, but I would like to have also a more confident platform using JUnit like I specified, so I would like to ask you to leave this one open for the current time.

Thanks,
Alex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38802</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-11-15 00:12:54 +0000</bug_when>
    <thetext>Alex,

I&apos;m assigning this to you since I think some intern is working on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38816</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-11-15 10:28:59 +0000</bug_when>
    <thetext>Jessica,
I am making this an umbrella bug since more work may be done on this.
THe two areas that I am thinking is:
1. Have UI testing and validating as much as possible of the weekly tests (work in progress): https://bugzilla.yoctoproject.org/show_bug.cgi?id=5417
2. Have some kind of a plugin that mimics what the user is doing from the UI (Ioana tried something but didn&apos;t get to any result so far).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39121</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-11-28 11:01:59 +0000</bug_when>
    <thetext>Just adding few comments here.
The initial idea of the testing framework is the following, and we may continue the discussions based on it:

WHAT WE TEST RIGHT NOW?
- we test basic functionalities, like building C apps and delpoy
- create new BB commander projects
- create new yocto-bsp layers
- test the TOOLS (powertop, systemtap, etc)

WHAT WE WANT TO ACHIEVE?
- Yocto supports many arches, like ARM, PPC, x86 (and x86_64), MIPS. To test all the toolchains and their integration with Eclipse, a plugin may be created that mimics the UI interactions from the Developer and Eclipse. This is the coverage goal. The plugin should know what toolchains are installed on the host (from a config file), and should be able to interact with the current eclipse-plugin and create various types of projects (GTK, Hello world), compile them, and even deploy and debug them on target (QEMU or real HW).
- Another objective would be to cover the other eclipse-plugin functionalities like creating the BB commander projects, using the Yocto-bsp plugin and using the tools</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55164</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-10-12 10:26:41 +0000</bug_when>
    <thetext>Obsoleted by bug 5417.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55165</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-10-12 10:27:06 +0000</bug_when>
    <thetext>Verified according to the previous comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84790</commentid>
    <comment_count>8</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-08-29 15:17:16 +0000</bug_when>
    <thetext>closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>