-
Notifications
You must be signed in to change notification settings - Fork 460
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
8296283: JUnit5 tests using Params API fails to compile #939
Conversation
👋 Welcome back arapte! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, pending my question about junit-platform-commons
.
@arapte This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
@kevinrushforth |
We have other tests which use Do we need to make changes in other tests? |
It could be a good idea in a follow-up PR to move the version numbers to a constant so that we don't need to update each separately, like the Junit "5.8.1" version. |
It is not about mixing. The JUnit5 test added in PR #910 which uses annotations from
This PR fixes that compilation error.
It won't need any changes in existing tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test looks good. I left a couple minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for clarifications.
No, this bug is about specific APIs that are part of the |
Yes, this is a good idea. @arapte can you file a follow-on issue? |
/integrate |
Going to push as commit b08f135. |
This issue was uncovered when running the test added in PR: #910
The JUnit5 tests using Params API fails to compile.
Fix:
Change dependency of
junit-jupiter-params
from runtime to compile time.From: https://junit.org/junit5/docs/current/user-guide/#overview-what-is-junit-5: it can be understood that packages of JUnit Jupiter other than
TestEngine
are required for test compilation andJUnit Platform serves as a foundation for launching testing frameworks
It seems that changing dependency of this one package is sufficient for this fix.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/939/head:pull/939
$ git checkout pull/939
Update a local copy of the PR:
$ git checkout pull/939
$ git pull https://git.openjdk.org/jfx pull/939/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 939
View PR using the GUI difftool:
$ git pr show -t 939
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/939.diff