Skip to content

Release Notes 1.1.0

BJ Hargrave edited this page Mar 9, 2022 · 4 revisions

Release Notes 1.1.0

Updates since 1.0.1:

  • New org.osgi.test.assertj.log artifact.
  • New org.osgi.test.junit5.listeners.log.osgi artifact.
  • Added ServiceRegistrationAssert.
  • Added Gradle examples.
  • Refactored JUnit 5 extensions to have a base InjectingExtension class which handles the common work.
  • The extensions in org.osgi.test.junit5 now support PER_CLASS test lifecycle.
  • The extensions in org.osgi.test.junit5 now support constructor injection.
  • JUnit 5 injection annotations are now meta-annotated with the proper @ExtendWith annotation so that, when using JUnit 5.8 or later, test classes using the injection annotations do not need to be annotated with the proper @ExtendWith annotations. As a result of this, the org.osgi.test.common.annotation package has been moved from the org.osgi.test.common artifact to the org.osgi.test.junit4 artifact and a copy of the org.osgi.test.common.annotation package updated with the proper @ExtendWith annotations is in the org.osgi.test.junit5 artifact. So care must be taken if both org.osgi.test.junit5 and org.osgi.test.junit4 artifacts are needed in a testing environment.
  • The org.osgi.test.common.stream package is updated to add DropWhile and TakeWhile support for streams.

Dependency updates:

  • The assertj projects now require assertj-core 3.22.0.
Clone this wiki locally