Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
If the first SWT Bot tests are available, I will enable them in the build.

Original comment by [email protected] on 2 Sep 2011 at 2:24

from spray.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Found useful post here: 
http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00466.html

Original comment by [email protected] on 13 Sep 2011 at 6:59

from spray.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024

Original comment by [email protected] on 13 Sep 2011 at 7:34

  • Changed state: Started

from spray.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Execution of the SWT Bot tests are now included in the build.

For the CI Build they are disabled (by activating profile "skip-ui-tests".

Original comment by [email protected] on 13 Sep 2011 at 12:39

from spray.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Currently the example one example SWTBot Test is very fragile. It works only on 
certain machines, sometimes if cannot found actual visible elements in the 
dialog and thus abort and so on.

Some problems may fix with more use of async access blocks and sleeps. But if 
this is enough, one should consider evaluating one of these tools instead: 
 * http://code.google.com/intl/de-DE/javadevtools/wintester/html/index.html
 * http://www.eclipse.org/jubula/

The testing of UI is still very important as some problems only occur in a 
running Eclipse (ok, some of these issues may be covered by Simple JUnit 
plug-in tests). The UI test tool to choose, should produce predictable results 
and should be able to test GEF based stuff.

Original comment by [email protected] on 9 Nov 2011 at 1:25

from spray.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
There is a test case for the default use of the Spray wizard to create a new 
Spray project, then inserting the custom Spray Xtext definition and then 
running the generator:

http://code.google.com/a/eclipselabs.org/p/spray/source/browse/tests/org.eclipse
labs.spray.examples.one.tests/src/org/eclipselabs/spray/examples/one/tests/Wizar
dTest.java

There is still lot to do, e.g. currently there is no validation of the results 
of the UI test, the special cases are not covered yet (different configurations 
in the wizard, although the test infrastructure allows customization easily).

Another things, that a Maven Tycho build is currently not able to set up a 
PDE/OSGi enabled Eclipse test instance, so you cannot run a UI test that 
creates plug-in projects that needs dependency resolving or even more to use 
these just created plug-in projects to start a further Eclipse instance, e.g. 
to check if your able to create Graphiti diagram from the generated projects.

So these test steps have to be split up:
1. Test the generation and use of the Spray diagram project
2. Test the usability of the just before generated and Spray diagram project to 
create a Graphiti diagram (this would be a further UI Test process using the 
generated Spray diagram project as plug-in dependency - so this project must be 
available from somewhere, e.g. from a tmp directory)

As this task is to big to track, it will splitted in smaller issues. Thus this 
issue will be marked as fixed in context of providing a reusable test 
infrastructure.

Original comment by [email protected] on 13 Apr 2012 at 9:32

  • Changed state: Fixed

from spray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.