Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[junit5.cm] handle just configurations from annotations #777

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

stbischof
Copy link
Contributor

@stbischof stbischof commented Jan 18, 2024

Fix: handle just configurations from annotations

@timothyjward the pom structure has one version for all bundles. should we switch to independent bundleversions. defind in parent-poms properties?

Signed-off-by: Stefan <stbischof@bipolis.org>
@timothyjward
Copy link
Contributor

@timothyjward the pom structure has one version for all bundles. should we switch to independent bundleversions. defind in parent-poms properties?

That depends - if we think that we might release them independently then yes, but I'm not sure whether that is currently possible?

@timothyjward
Copy link
Contributor

We should definitely add some new tests for the desired behaviour.

@stbischof
Copy link
Contributor Author

would be great is you could add the tests

timothyjward and others added 2 commits January 22, 2024 16:15
* The annotation scanning for the ConfigurationExtension was being applied to early - test method configuration was available in BeforeEach methods
* The configuration lifecycle was too long - by waiting for the ExtensionContext to close we could not restore configurations at the right time
* The ConfigurationExtension relied on static state. This has been removed, apart from one static which must persist until deprecated methods can be removed

Signed-off-by: Tim Ward <timothyjward@apache.org>
Add lifecycle testing and fixes for the ConfigurationExtension
@timothyjward timothyjward merged commit abc0469 into osgi:main Jan 22, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants