-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Make @API public to allow Extensions and TestEngines to adopt API semantics #317
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
Conversation
Interesting proposal! We'll consider it for M2. |
@smoyer64 if P.S. Ideally it should be in separate module/project in future allowing projects still in Java 7 to use it (it might still be true for current annotation location). Separate project might unite very different API tools #144 (including FindBug rules checking for internal API usage and maven plugins as code scanners / release notes builders). |
@volkovs The junit-jupiter-api module already has a dependency on junit-platform-commons. My initial thought was that I'd like to use @API and it's related tools elsewhere - in which case a completely standalone module would be better. When Java 9 is released, project jigsaw is supposed to take care of hiding internal-only API calls (per JEP 260: Encapsulate Most Internal APIs). Will we get enough tools to replace @API? I have no idea. |
@volkovs, moving I agree with @smoyer64: one viable option would be to move |
caa0c9b
to
f926228
Compare
Team Decision: make Experimental. |
Would you mind rebasing on |
We could just squash and merge through GitHub, couldn't we? |
I'm not sure if that new GitHub squash feature physically rebases on |
I tried to use git commit --squash (but now know I should stick with git rebase). Sorry! |
I usually do something like this:
Then I select "f" (for fix) for the last three commits and reword the remaining commit if necessary. |
c3bafa3
to
f9c4801
Compare
Okay ... I'm sticking with my favorite method (for branches) - it's back to a single commit!
|
Aye aye, captain! Whatever floats your boat... and gets your commits clean. 😉 |
Someone seems to have noticed my avatar? |
ummmmmmm no.... not consciously at least. But now that you mention it, perhaps that was my subconscious telling me what to type. 😉 |
FYI: this issue is related to #436. |
Making @API public allows Extension and TestEngine developers to adopt JUnit 5's API "typing". This also makes the API tools proposed in #144 more useful as they'd be applicable to the other projects.
I hereby agree to the terms of the JUnit Contributor License Agreement.