-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Implement forking support in the JUnitPlatformProvider for Maven Surefire #363
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
Comments
@sbrannen may I help with this one? :) |
@lutovich, definitely... go for it! 👍 |
Hello @sbrannen, This is my first time working with surefire code so I'd like to double check with you couple things.
Is my understanding correct? I've done some preliminary coding here: lutovich@59de0a2. |
Looks good to me. However, I am not sure of the exact semantics of those two methods. Our plan was to get M1 out of the door and then get in touch with the Surefire maintainers again. Having said that, I think it certainly can't hurt to have a more complete "prototype" implementation. So, I'm in favor of merging a pull request with your changes. I know that there are currently no tests for the Surefire provider. Do you have time to add some? |
@marcphilipp thanks! I'll add tests and create a PR. There seem to be more features that current implementation does not support, like: Small question about Launcher API. Currently both |
Classpath scanning in |
@marcphilipp my understanding of surefire provider lifecycle is like this:
My question was mostly about Launcher. Both |
There are a bunch of reasons why discovery is done twice. First and foremost, If performance turns out to become a problem, we can think about a caching or session concept in Launcher. It could store the mapping from |
Sounds good, thanks for the explanation! |
Fixed by #382. |
This is a TODO in the JUnitPlatformProvider.
Related Issues
The text was updated successfully, but these errors were encountered: