Reviews run for a minimum of one week. The outcome of the review is decided on this date. This is the last day to make comments or ask questions about this review.
Eclipse RedDeer
Testing GUI such as SWT/Eclipse applications is not an easy task. The task is much harder if you wish to automate the testing scenarios. Challenges while automating test scenarios are complexity, stability and maintenance.
Eclipse RedDeer has been created as an alternative to SWTBot, offering stability and providing own features (support for Eclipse Wizards, Preferences, Test requirements, Wait conditions, UI tooling). RedDeer aims to help developers to write complex test scenarios that interact with application user interface quickly and effectively.
RedDeer is being developed since 2012.
Scope of Eclipse RedDeer is to provide:
- Support for SWT applications and Eclipse IDE for Java EE Developers distribution
- API based on PageObjects design pattern
- Integration with JUnit - built on top of JUnit with customized test flow and test tracking
- Wait conditions - wait for UI or Eclipse state
- Test Requirements - annotation driven configuration to prepare required test environment
- Graphical support (GEF/Graphiti)
- Support for running tests in a Jenkins CI environment
- Support for Windows, MacOSX, Linux
- UI tooling facilitating test development
The Eclipse RedDeer project is an extensible framework used for development of automated SWT/Eclipse tests which interacts with application’s user interface. RedDeer provides the PageObjects API for comfortable testing of standard SWT (Buttons, Trees..), JFace (UIForms), Workbench (Views, Editors, ..) and Eclipse (Wizards, Preferences,...) components and also allows creating and extending your own components. RedDeer also provides capabilities to work with graphical editors based on GEF or Graphiti.
Eclipse RedDeer is extensively tested on 3 major platforms - Windows, MacOSX and Linux to ensure that all nuances in the SWT implementations are handled correctly. Examination of test results in CI environment is easier thanks to capturing screenshots on test failures and collecting Eclipse Platform log.
The contributed codes are licensed under the Eclipse Public License 1.0 and Red Hat is the copyright owner.
Any project which uses SWT/Eclipse Platform would be able to easily utilize this testing framework.
The project could attract more contributors and users to improve stability and overall quality of RedDeer itself. This project will also benefit from the Eclipse Foundation's high standard of IP control and strong governance.
- Cover all wizards, preferences and views in Eclipse IDE for Java EE Developers
- Selenium integration for testing internal Eclipse browser
- Code generator
Q2 2017 - initial contribution and release of RedDeer 2.0
The initial contribution is donated by Red Hat. RedDeer is actively developed on its github repository.
RedDeer consists of several plugins which are built on top of each other. Plugins cover the following functionality:
- Manipulation with SWT, JFace and UIForms components. All operations are thread-safe.
- Work with Eclipse IDE related features such as projects, servers, views, preferences, dialogs and wizards.
- Support GEF and Graphiti components.
- Test Requirements used for configuring test environment such as JRE, Server, Cleaning Workspace etc
- Extensions which could be executed before or after tests, such as closing shells, closing welcome screen, manipulating with preferences etc.
- Tool to parse log file from filesystem based on defined parse rules and display result of parsing nicely formatted within Eclipse editor.
- Spy Eclipse widgets and track currently mouse-hovered widget. Spy feature provides information about class, contained text, descendants, parents and siblings and possible RedDeer implementations.
- Spy capabilities for GEF based widgets in Eclipse.
- UI for RedDeer such as launch configurations, launchers, wizards.
- Log in to post comments
- Log in to post comments
RedDeer for External Applications written in Java(SWT)
Submitted by António Luís Marques on Thu, 04/04/2019 - 13:12
Hi,
Can I use this project for test automation in an external Desktop application written in Java?
Thank you
António Marques