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

Upgrade to latest surefire-API #3247

Open
laeubi opened this issue Dec 12, 2023 · 0 comments
Open

Upgrade to latest surefire-API #3247

laeubi opened this issue Dec 12, 2023 · 0 comments

Comments

@laeubi
Copy link
Member

laeubi commented Dec 12, 2023

Currently Tycho implements a rather old surefire API, one problem is that it does not support the execution of individual tests selected by advanced patterns as described here:
https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#test

Currently the parsing is done in AbstractTestMojo.scanForTests() but not completely delegate to TestListResolver, furthermore later on AbstractEclipseTestMojo.createSurefireProperties(TestFrameworkProvider, ScanResult) only incomplete results are passed to the forked framework.

Surefire actually also contains org.apache.maven.surefire.booter.BooterConstants that are used in org.apache.maven.surefire.booter.BooterDeserializer and org.apache.maven.plugin.surefire.booterclient.BooterSerializer (what sadly is package protected and part of the maven plugin) to have some kind of API that org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(String[], Properties) should actually reuse.

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

No branches or pull requests

1 participant