-
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.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 supportPER_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, theorg.osgi.test.common.annotation
package has been moved from theorg.osgi.test.common
artifact to theorg.osgi.test.junit4
artifact and a copy of theorg.osgi.test.common.annotation
package updated with the proper@ExtendWith
annotations is in theorg.osgi.test.junit5
artifact. So care must be taken if bothorg.osgi.test.junit5
andorg.osgi.test.junit4
artifacts are needed in a testing environment. - The
org.osgi.test.common.stream
package is updated to addDropWhile
andTakeWhile
support for streams.
Dependency updates:
- The assertj projects now require
assertj-core
3.22.0.