-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Improve JavaDoc for junit-platform-suite-api annotations #746
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
@smoyer64 could you please assign the issue to me? I don't have access to this feature. |
@Andrei94 I can not ... but perhaps one of the @junit-team/junit-lambda members will mark it |
so then if I want to work for it how should I do it? |
@Andrei94 I should have been more clear ... I'm not a member of the core team so I can't assign issues. In general, I find that the team is pretty happy to accept pull requests for tasks like this (javadocs and documentation don't tend to have architectural implications). If you fork the project, make the changes and submit a PR without having the issue assigned to you the only real risk is that someone else might also work on the task. In my last response, it appears that I can't invoke the team as a group - perhaps @sormuras, @marcphilipp or @sbrannen will chime in with an official opinion. |
Ok @smoyer64 Thank you very much for the clarification. I already forked the project. 😃 |
We have no intention of removing references to the JUnit 4 suite support on the platform. That's why I deliberately added a new JUnit 4 Suite Support as the last section of the JavaDoc for each of those annotations. If/when we introduce generic suite support (either in the Platform or in Jupiter), we will also reference those implementations from the suite API annotations. Having said that, if you think the current wording is confusing or misleading, we are open to suggestions. Cheers, Sam |
Well ... clearly the wording was confusing to me! On the other hand, now that I've reread the javadocs and noted the JUnit 4 Suite Support heading above the reference to JUnit 4 and the I'm tempted to close this issue but let's leave it open and see whether anyone has suggestions for changes. As an aside, I'm sorry I didn't look at the commit that changed the javadocs when the annotations were moved into |
My sentiments exactly! 😉 |
Sure. And... BTW, I'll most certainly revise the JavaDoc for the entire suite API once we have built-in support in the Platform (other than the current JUnit 4 support). |
No worries. I do my best to think things through, though I don't always succeed. |
I'm modifying the title and description of this issue accordingly. |
Any news on when the suite-api annotations will be supported in JUnit5 proper (platform, engine)? Would be great to have these work without the need to use the JUnit4 runner. |
This issue is closed. The issue that will introduce support for declarative test suites (#744) is currently slated for 5.1 M2. |
Uh oh!
There was an error while loading. Please reload this page.
Overview
With the adoption of a declarative suite mechanism in JUnit 5 proposed in #744, the annotations that were moved to the
junit-platform-suite-api
will be used more broadly than for test selection using the JUnit 4JUnitPlatform
runner.Original Proposal
junit-platform-suite-api
annotations consistent with their expanded use.Deliverables
Consider improving the JavaDoc for each of the following suite API annotations in order to better explain their generic purpose vs. usage with the
JUnitPlatform
runner for JUnit 4.The text was updated successfully, but these errors were encountered: