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