Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 213042

Summary: org.eclipse.zest.tests does not really have any tests
Product: [Tools] GEF Reporter: Anthony Hunter <ahunter.eclipse>
Component: GEF-Legacy ZestAssignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: nyssen
Version: 3.4   
Target Milestone: 4.0.0 / 3.11.0 (Neon) M2   
Hardware: All   
OS: All   
Whiteboard:

Description Anthony Hunter CLA 2007-12-14 11:35:22 EST
org.eclipse.zest.tests has a bunch of test snippets, very similar to the test snippets in org.eclipse.draw2d.examples. 

org.eclipse.zest.tests should really be renamed org.eclipse.zest.examples.

We can then bring this plug-in into the packaging, likely at the same time as Bug 213041
Comment 1 Anthony Hunter CLA 2007-12-14 11:36:06 EST
Since org.eclipse.zest.tests has not been packaged yet, we can rename to org.eclipse.zest.examples in CVS.
Comment 2 Ian Bull CLA 2008-01-24 16:49:33 EST
Yes, examples make much more sense. I do use these for regression testing.

Am I able to rename this, or is this something you (or webmaster) must do?
Comment 3 Anthony Hunter CLA 2009-07-24 11:19:58 EDT
I suggest we add this as a mandatory delivery to Helios.

At minimum we need some tests to exercise our public API that the community is using in their products.

Likely we can create tests that run all the snippets.
Comment 4 Ian Bull CLA 2009-08-11 10:43:38 EDT
(In reply to comment #3)
> I suggest we add this as a mandatory delivery to Helios.
> 
> At minimum we need some tests to exercise our public API that the community is
> using in their products.
> 
> Likely we can create tests that run all the snippets.
> 

I would like to have Automated tests for Helios.  How do the GEF/Draw2D bundles do their tests?  The problem with these snippets is that they require manual inspection, clicking around, making sure the nodes are the right colour, etc... Is GEF and Draw2D using any sort of testing framework to assist with this?
Comment 5 Anthony Hunter CLA 2009-08-11 11:47:17 EDT
(In reply to comment #4)
> I would like to have Automated tests for Helios.  How do the GEF/Draw2D bundles
> do their tests?  The problem with these snippets is that they require manual
> inspection, clicking around, making sure the nodes are the right colour, etc...
> Is GEF and Draw2D using any sort of testing framework to assist with this?

Nope, there is no "visual inspection" framework as you say. The tests run and you are right, the UI could be wrong. The tests do checks as best they can, like I said, more or less this would be an API / things are still working type test. 

Comment 6 Alexander Nyßen CLA 2015-01-22 02:45:20 EST
Re-assigning back to inbox, as Ian is no longer active committer.
Comment 7 Alexander Nyßen CLA 2015-09-05 07:20:42 EDT
Split zest.tests bundle into zest.tests and zest.examples bundles (which is undeployed). Pushed changes to origin/master. Resolving as fixed in 3.11.0 M2.