-
Notifications
You must be signed in to change notification settings - Fork 17
Release Notes 1.3.0
Tim Ward edited this page Mar 13, 2024
·
6 revisions
Updates since 1.2.1:
- Refactoring and cleanup of ArgumentsProvider implementations
- Add cardinality member to ServiceSource
- Significant refactoring and bug fixing for junit5.cm
- Better lifecycle enforcement of configuration scopes, including resetting to previous configurations
- Speed improvements due improvements in the BlockingConfigurationHandler
- Reduction in "configuration churn" by using updateIfDifferent
- Avoid updating injected configurations when no
@Property
entries are defined - Configurations provided outside of junit5.cm are no longer edited
- Factory configurations can now use the default naming scheme
- Configuration Locations default to unset when not set.
- New features in junit5.cm
- Configuration properties can now be sourced from a variety of locations including System Properties and JUnit context
- Configuration properties can now use Java
Formatter
style templates when constructing values -
@WithConfiguration
and@WithFactoryConfiguration
can now be used as meta-annotations to create more readable tests
Dependency updates:
- bnd 6.3.1 -> 6.4.0
- AssertJ 3.23.1
- JUnit Jupiter 5.6 -> 5.8.2 (1.8.2 runtime)
The AssertJ and JUnit Jupiter version updates are necessary to set a consistent base level for JUnit across the project. As AssertJ's JUnit dependency is optional (but not really optional) the class graph can easily be broken if osgi-test permits older versions of JUnit Jupiter.