-
Notifications
You must be signed in to change notification settings - Fork 17
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.logartifact. - New
org.osgi.test.junit5.listeners.log.osgiartifact. - Added
ServiceRegistrationAssert. - Added Gradle examples.
- Refactored JUnit 5 extensions to have a base
InjectingExtensionclass which handles the common work. - The extensions in
org.osgi.test.junit5now supportPER_CLASStest lifecycle. - The extensions in
org.osgi.test.junit5now support constructor injection. - JUnit 5 injection annotations are now meta-annotated with the proper
@ExtendWithannotation so that, when using JUnit 5.8 or later, test classes using the injection annotations do not need to be annotated with the proper@ExtendWithannotations. As a result of this, theorg.osgi.test.common.annotationpackage has been moved from theorg.osgi.test.commonartifact to theorg.osgi.test.junit4artifact and a copy of theorg.osgi.test.common.annotationpackage updated with the proper@ExtendWithannotations is in theorg.osgi.test.junit5artifact. So care must be taken if bothorg.osgi.test.junit5andorg.osgi.test.junit4artifacts are needed in a testing environment. - The
org.osgi.test.common.streampackage is updated to addDropWhileandTakeWhilesupport for streams.
Dependency updates:
- The assertj projects now require
assertj-core3.22.0.