Bug 3772

Summary: Eclipse plugin should have a test framework
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Valentin Hangan <valentinx.hangan>
Status: CLOSED OBSOLETE QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: enhancement    
Priority: Medium+ CC: ada-mihaela.solcan, adrian.dudau, alexandra.safta, ioanax.grigoropol, jessica.zhang, valentinx.hangan, yp.ep.watcher, yp.watcher
Version: 1.4   
Target Milestone: 2.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Alexandru Georgescu 2013-01-22 12:19:39 UTC
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.
Comment 1 Jessica 2013-03-06 18:16:49 UTC
I think Alex figured out another way of doing this? If so, probably close this bug?
Comment 2 Alexandru Georgescu 2013-03-07 10:04:41 UTC
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.
Comment 3 Jessica 2013-11-15 00:12:54 UTC
Alex,

I'm assigning this to you since I think some intern is working on this?
Comment 4 Alexandru Georgescu 2013-11-15 10:28:59 UTC
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't get to any result so far).
Comment 5 Alexandru Georgescu 2013-11-28 11:01:59 UTC
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
Comment 6 Alexandru Georgescu 2015-10-12 10:26:41 UTC
Obsoleted by bug 5417.
Comment 7 Alexandru Georgescu 2015-10-12 10:27:06 UTC
Verified according to the previous comment.
Comment 8 Armin Kuster 2019-08-29 15:17:16 UTC
closing