-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fixes sbt#121: Suite task naming no longer crashes; or mangles vintage test names #122
Conversation
… Vintage tests in Suites have their names properly formatted.
@@ -13,6 +13,7 @@ object Dependencies { | |||
val testInterface = "org.scala-sbt" % "test-interface" % testInterfaceVer | |||
val junitJupiterParams = "org.junit.jupiter" % "junit-jupiter-params" % junitJupiterVer | |||
val junitVintageEngine = "org.junit.vintage" % "junit-vintage-engine" % junitVintageVer | |||
val junitPlatformSuite = "org.junit.platform" % "junit-platform-suite" % junitPlatformVer |
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.
Alternatively, only junit-platform-suite-api
and junit-platform-suite-engine
are actually needed, if you prefer more specific dependencies
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.
Thanks!
Fixed the formatting issue (I think!) and merged in the main branch - what are the next steps to get this merged in? |
Rerunning CI now. |
And you did a release too! :) Thanks. |
…o 5.11.3 ### What changes were proposed in this pull request? This pr aims to upgrade `jupiter-interface` from 0.13.0 to 0.13.1 and Junit5 to the latest version(Platform 1.11.3 + Jupiter 5.11.3). ### Why are the changes needed? The new version of `jupiter-interface` brings two fixes: - sbt/sbt-jupiter-interface#122 - sbt/sbt-jupiter-interface#116 Simultaneously upgraded Junit dependencies to Platform 1.11.3 + Jupiter 5.11.3: - sbt/sbt-jupiter-interface#119 The full release notes of `jupiter-interface` as follows: - https://github.com/sbt/sbt-jupiter-interface/releases/tag/v0.13.1 and the full release notes between Junit 5.11.0 to 5.11.3 as follows: - https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.3 - https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.2 - https://junit.org/junit5/docs/5.11.3/release-notes/#release-notes-5.11.1 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes #48834 from LuciferYang/junit5-5.11.3. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Fixes (and tests!) the two related issues in #121:
@Suite
s were used, a RuntimeException would be thrown when trying to report the test status:Test class path.to.my.TestClass is not enclosed by path.to.my.SuiteClass