Easier integration testing in OSGi: The open source osgi-test project

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



Duration: 27:58
577 views
6


Testing is important. Both unit testing and also integration testing. By integration tests in OSGi, we mean test cases executing in bundles running in an OSGi framework. Such tests allow you to test the actual OSGi behavior of code and that it properly handles running in an OSGi environment. In an OSGi environment, there are many things to properly handle when writing integration tests. The osgi-test project aims to provide support for the proper handling of basic OSGi things while letting you focus on writing the real test logic.

The osgi-test project at https://github.com/osgi/osgi-test is an OSGi Alliance-sponsored open source project and includes JUnit 4 and JUnit 5 support and AssertJ support. This session will introduce the project and its capabilities and how you can take advantage of the project while writing your integration tests.

Some basic understanding of JUnit testing and AssertJ is helpful but not necessary.

Please note that the example repo used in our demonstration has since moved to become part of the osgi-test repo:
https://github.com/osgi/osgi-test/tree/main/examples/osgi-test-example-mvn


Slides:
https://www.eclipsecon.org/sites/default/files/slides/OSGi_Test_EclipseCon2020_Presentation.pdf


Speaker(s):
BJ Hargrave (IBM)
Raymond Auge (Liferay Inc.)
Jeremy Krieg (Greek Orthodox Archdiocese of Australia - Greek Welfare Centre of SA)




Other Videos By Eclipse Foundation


2020-10-26High Speed Autonomous Driving with Autoware ROS 2 CycloneDDS #iac2021 #becauseracecar
2020-10-26AdoptOpenJDK - Making Java free again
2020-10-26Evolving Jakarta EE Applications in Kubernetes
2020-10-26Asychronous Communication in Distributed Environments - The new OSGi Messaging RFC
2020-10-26A harmonized open source platform for effectiveness assessment in the field of automated driving
2020-10-26Web-based modeling tools with EMF.cloud
2020-10-26Deploying a Modern Serverless Container as powered by Vert.x
2020-10-26A simple code generator for bespoke data models, web forms, and scientific workflows in Eclipse ICE
2020-10-26What Edge Computing Can Learn From the Moon Landings
2020-10-26Sustainability in Software Engineering
2020-10-26Easier integration testing in OSGi: The open source osgi-test project
2020-10-26Wellness Break: Mindfulness for Developers (Part 2)
2020-10-26Run your APPs on carrier edge: an open source solution
2020-10-26Ecore tools in the cloud - behind the scenes
2020-10-26Writing docs in your IDE - an AsciiDoc primer
2020-10-26Make your microservices as much robust as mission critical systems by MicroProfile and Jakarta EE
2020-10-26Building an Industrial IoT Solution - Open Source
2020-10-26From non-modular to modular Java programs - What you need to know
2020-10-26Beyond LSP: Getting Your Language into Theia and VS Code
2020-10-26Building a Language Server for Eclipse MicroProfile
2020-10-26Walking through the Eclipse IDE tooling support for new Java versions



Tags:
Eclipsecon 2020
OSGi
Integration testing