Test your E4 POJOs easily and efficiently | EclipseCon Europe 2018

Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=CEXoOUZTG68



Duration: 39:50
92 views
0


EclipseCon Europe 2018
Ludwigsburg, Germany · October 23 - 25, 2018
https://www.eclipsecon.org/europe2018

Speaker(s):
Olivier Prouvost (OPCoach)

https://www.eclipsecon.org/europe2018/sessions/test-your-e4-pojos-easily-and-efficiently

The E4 Runtime has been available for more over 6 years, and we have started to write our own POJOs bound to the application model.

Nevertheless, there are not a lot of easy solutions to test these POJOs as the current UI test system libraries are still bound to the full E3 RCP stack.

This talk is about pure E4 testing. It will remind you the basic principles of the E4 runtime and architecture regarding the application model and the contribution with fragments, and it will introduce the E4 tester tooling to help you in your test management.

UI Testing is usually a big issue and often the global application must be globally tested. With the E4 tester, it will be possible to combine your E4 views and/or handlers and check the expected behaviour.

Namely, it will show you how:

To write your tests using the JUnit 5 framework
To instantiate your POJO parts and combine them together in a single test case
To simulate a selection to check if your parts display the right information
To launch a handler and check the result
To check the content of any widget in your UI using a simple API
To use E4 Tester in your Tycho build

E4 Tester is a project delivered by OPCoach on GitHub (https://github.com/opcoach/E4Tester), under EPL license, with the appropriate P2 repository to make it easy to use in your development. It is still under development and it keeps getting better.




Other Videos By Eclipse Foundation


2018-11-19Cloud Native development with Eclipse MicroProfile on Kubernetes | EclipseCon Europe 2018
2018-11-19With Docker and k8's, this is not your grandparents' infra anymore! | EclipseCon Europe 2018
2018-11-19Building a tool for engineers based on EMF | EclipseCon Europe 2018
2018-11-19Path to Cloud-native Application Development: 8 steps (sponsor: Red Hat) | EclipseCon Europe 2018
2018-11-19Move Your Crate - How to optimize your mobility | EclipseCon Europe 2018
2018-11-19Thinking Cloud Native: Connect the dots w/ Project Gardener (sponsor: SAP) | EclipseCon Europe 2018
2018-11-19Parallel Builds in Eclipse IDE Workspaces | EclipseCon Europe 2018
2018-11-19MicroProfile and Jakarta EE -- What's Next? | EclipseCon Europe 2018
2018-11-19A Committer’s view on Eclipse’s Automatic Error Reporting System | EclipseCon Europe 2018
2018-11-19Next generation CI - building Eclipse projects on the new CBI build farm | EclipseCon Europe 2018
2018-11-19Test your E4 POJOs easily and efficiently | EclipseCon Europe 2018
2018-11-19Prototyping IoT systems with a hybrid OSGi/Node-RED platform | EclipseCon Europe 2018
2018-11-19Language Server for Apache Camel: Java/Eclipse plugin developer perspective | EclipseCon Europe 2018
2018-11-19Microservice Security via MicroProfile JWT | EclipseCon Europe 2018
2018-11-19OSGi CDI Integration Specification | EclipseCon Europe 2018
2018-11-19Integrating SLF4J and the new OSGi LogService 1.4 | EclipseCon Europe 2018
2018-11-19A real world use case with OSGi R7 | EclipseCon Europe 2018
2018-11-19Remote Management and Monitoring of Distributed OSGi Applications | EclipseCon Europe 2018
2018-11-19OSGi and Java 9+ | EclipseCon Europe 2018
2018-11-19It Was Twenty Years Ago Today - Building an OSGi based Smart Home System | EclipseCon Europe 2018
2018-11-19Fostering New Contributors In SWT: Lessons In Community Management | EclipseCon Europe 2018