-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Report warning when @SuiteDisplayName
is blank
#4822
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
Report warning when @SuiteDisplayName
is blank
#4822
Conversation
Report WARNING when @SuiteDisplayName contains blank or whitespace-only values.
@SuiteDisplayName
is blank
Indeed, we do not want to use Even though I did not explicitly state it in #4810, the intention was to make use of the discovery issue mechanism to report a warning like with Though, for 6.0 I personally think it should be an error instead of a warning. @marcphilipp, thoughts? |
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.
I took a quick glance and think this PR looks pretty good; however, I will probably let @marcphilipp review it as well.
In addition, I requested two very minor changes to Javadoc.
...sts/src/test/java/org/junit/platform/suite/engine/testsuites/BlankSuiteDisplayNameSuite.java
Outdated
Show resolved
Hide resolved
...rc/test/java/org/junit/platform/suite/engine/testsuites/WhitespaceSuiteDisplayNameSuite.java
Outdated
Show resolved
Hide resolved
@sbrannen |
...platform-suite-engine/src/main/java/org/junit/platform/suite/engine/SuiteTestDescriptor.java
Outdated
Show resolved
Hide resolved
@marcphilipp class SomethingDiscoveryIssueReporter implements DiscoveryIssueReporter {
// ...
@Override
public <T> Condition<T> createReportingCondition(Predicate<T> predicate, Function<T, DiscoveryIssue> issueCreator) {
return null;
}
// ....
} |
...platform-suite-engine/src/main/java/org/junit/platform/suite/engine/SuiteTestDescriptor.java
Outdated
Show resolved
Hide resolved
...platform-suite-engine/src/main/java/org/junit/platform/suite/engine/SuiteTestDescriptor.java
Outdated
Show resolved
Hide resolved
...platform-suite-engine/src/main/java/org/junit/platform/suite/engine/SuiteTestDescriptor.java
Outdated
Show resolved
Hide resolved
...platform-suite-engine/src/main/java/org/junit/platform/suite/engine/SuiteTestDescriptor.java
Outdated
Show resolved
Hide resolved
platform-tests/src/test/java/org/junit/platform/suite/engine/SuiteEngineTests.java
Outdated
Show resolved
Hide resolved
No, since that method is documented to never return |
Thank you for your contribution, @raccoonback! 👍 |
Nice work @raccoonback 🎉🎉🎉 |
Bumps `junit.version` from 5.13.4 to 6.0.0. Updates `org.junit.jupiter:junit-jupiter-engine` from 5.13.4 to 6.0.0 Release notes *Sourced from [org.junit.jupiter:junit-jupiter-engine's releases](https://github.com/junit-team/junit-framework/releases).* > JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0 > > See [Release Notes](https://docs.junit.org/6.0.0/release-notes/). > > New Contributors > ---------------- > > * [`@2897robo`](https://github.com/2897robo) made their first contribution in [junit-team/junit-framework#4525](https://github.com/junit-team/junit-framework/pull/4525) > * [`@strangelookingnerd`](https://github.com/strangelookingnerd) made their first contribution in [junit-team/junit-framework#4683](https://github.com/junit-team/junit-framework/pull/4683) > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r5.14.0...r6.0.0> > > JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3 > > See [Release Notes](https://docs.junit.org/6.0.0-RC3/release-notes/). > > New Contributors > ---------------- > > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3> > > JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2 > > See [Release Notes](https://docs.junit.org/6.0.0-RC2/release-notes/). > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2> > > JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1 > > See [Release Notes](https://docs.junit.org/6.0.0-RC1/release-notes/). > > New Contributors > ---------------- > > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M2...r6.0.0-RC1> > > JUnit 6.0.0-M2 = Platform 6.0.0-M2 + Jupiter 6.0.0-M2 + Vintage 6.0.0-M2 > > See [Release Notes](https://docs.junit.org/6.0.0-M2/release-notes/). > > New Contributors > ---------------- > > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M1...r6.0.0-M2> ... (truncated) Commits * [`4f79594`](junit-team/junit-framework@4f79594) Release 6.0.0 * [`55af30a`](junit-team/junit-framework@55af30a) Revert "Use `develop/6.x` branch for junit-examples during release build" * [`df3cfdd`](junit-team/junit-framework@df3cfdd) Release 5.14.0 * [`fcb84a2`](junit-team/junit-framework@fcb84a2) Disable backward compatibility check when offline * [`c9c8344`](junit-team/junit-framework@c9c8344) Prune 5.14.0 release notes * [`03d8a72`](junit-team/junit-framework@03d8a72) Update broken link to using API Gaurdian with bndtools * [`3a0b29b`](junit-team/junit-framework@3a0b29b) Use temporary JUnit 6 logo * [`6603caa`](junit-team/junit-framework@6603caa) Rename `eclipseClasspath` to `eclipseConventions` to avoid confusion * [`ab3470b`](junit-team/junit-framework@ab3470b) Make sealed `MediaType` work in Eclipse * [`a8cd41e`](junit-team/junit-framework@a8cd41e) Remove annotations not visible in Eclipse * Additional commits viewable in [compare view](junit-team/junit-framework@r5.13.4...r6.0.0) Updates `org.junit.jupiter:junit-jupiter-params` from 5.13.4 to 6.0.0 Release notes *Sourced from [org.junit.jupiter:junit-jupiter-params's releases](https://github.com/junit-team/junit-framework/releases).* > JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0 > > See [Release Notes](https://docs.junit.org/6.0.0/release-notes/). > > New Contributors > ---------------- > > * [`@2897robo`](https://github.com/2897robo) made their first contribution in [junit-team/junit-framework#4525](https://github.com/junit-team/junit-framework/pull/4525) > * [`@strangelookingnerd`](https://github.com/strangelookingnerd) made their first contribution in [junit-team/junit-framework#4683](https://github.com/junit-team/junit-framework/pull/4683) > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r5.14.0...r6.0.0> > > JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3 > > See [Release Notes](https://docs.junit.org/6.0.0-RC3/release-notes/). > > New Contributors > ---------------- > > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3> > > JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2 > > See [Release Notes](https://docs.junit.org/6.0.0-RC2/release-notes/). > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2> > > JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1 > > See [Release Notes](https://docs.junit.org/6.0.0-RC1/release-notes/). > > New Contributors > ---------------- > > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M2...r6.0.0-RC1> > > JUnit 6.0.0-M2 = Platform 6.0.0-M2 + Jupiter 6.0.0-M2 + Vintage 6.0.0-M2 > > See [Release Notes](https://docs.junit.org/6.0.0-M2/release-notes/). > > New Contributors > ---------------- > > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M1...r6.0.0-M2> ... (truncated) Commits * [`4f79594`](junit-team/junit-framework@4f79594) Release 6.0.0 * [`55af30a`](junit-team/junit-framework@55af30a) Revert "Use `develop/6.x` branch for junit-examples during release build" * [`df3cfdd`](junit-team/junit-framework@df3cfdd) Release 5.14.0 * [`fcb84a2`](junit-team/junit-framework@fcb84a2) Disable backward compatibility check when offline * [`c9c8344`](junit-team/junit-framework@c9c8344) Prune 5.14.0 release notes * [`03d8a72`](junit-team/junit-framework@03d8a72) Update broken link to using API Gaurdian with bndtools * [`3a0b29b`](junit-team/junit-framework@3a0b29b) Use temporary JUnit 6 logo * [`6603caa`](junit-team/junit-framework@6603caa) Rename `eclipseClasspath` to `eclipseConventions` to avoid confusion * [`ab3470b`](junit-team/junit-framework@ab3470b) Make sealed `MediaType` work in Eclipse * [`a8cd41e`](junit-team/junit-framework@a8cd41e) Remove annotations not visible in Eclipse * Additional commits viewable in [compare view](junit-team/junit-framework@r5.13.4...r6.0.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps `junit.jupiter.version` from 5.13.4 to 6.0.0. Updates `org.junit.jupiter:junit-jupiter` from 5.13.4 to 6.0.0 Release notes *Sourced from [org.junit.jupiter:junit-jupiter's releases](https://github.com/junit-team/junit-framework/releases).* > JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0 > > See [Release Notes](https://docs.junit.org/6.0.0/release-notes/). > > New Contributors > ---------------- > > * [`@2897robo`](https://github.com/2897robo) made their first contribution in [junit-team/junit-framework#4525](https://github.com/junit-team/junit-framework/pull/4525) > * [`@strangelookingnerd`](https://github.com/strangelookingnerd) made their first contribution in [junit-team/junit-framework#4683](https://github.com/junit-team/junit-framework/pull/4683) > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r5.14.0...r6.0.0> > > JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3 > > See [Release Notes](https://docs.junit.org/6.0.0-RC3/release-notes/). > > New Contributors > ---------------- > > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3> > > JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2 > > See [Release Notes](https://docs.junit.org/6.0.0-RC2/release-notes/). > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2> > > JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1 > > See [Release Notes](https://docs.junit.org/6.0.0-RC1/release-notes/). > > New Contributors > ---------------- > > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M2...r6.0.0-RC1> > > JUnit 6.0.0-M2 = Platform 6.0.0-M2 + Jupiter 6.0.0-M2 + Vintage 6.0.0-M2 > > See [Release Notes](https://docs.junit.org/6.0.0-M2/release-notes/). > > New Contributors > ---------------- > > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M1...r6.0.0-M2> ... (truncated) Commits * [`4f79594`](junit-team/junit-framework@4f79594) Release 6.0.0 * [`55af30a`](junit-team/junit-framework@55af30a) Revert "Use `develop/6.x` branch for junit-examples during release build" * [`df3cfdd`](junit-team/junit-framework@df3cfdd) Release 5.14.0 * [`fcb84a2`](junit-team/junit-framework@fcb84a2) Disable backward compatibility check when offline * [`c9c8344`](junit-team/junit-framework@c9c8344) Prune 5.14.0 release notes * [`03d8a72`](junit-team/junit-framework@03d8a72) Update broken link to using API Gaurdian with bndtools * [`3a0b29b`](junit-team/junit-framework@3a0b29b) Use temporary JUnit 6 logo * [`6603caa`](junit-team/junit-framework@6603caa) Rename `eclipseClasspath` to `eclipseConventions` to avoid confusion * [`ab3470b`](junit-team/junit-framework@ab3470b) Make sealed `MediaType` work in Eclipse * [`a8cd41e`](junit-team/junit-framework@a8cd41e) Remove annotations not visible in Eclipse * Additional commits viewable in [compare view](junit-team/junit-framework@r5.13.4...r6.0.0) Updates `org.junit.vintage:junit-vintage-engine` from 5.13.4 to 6.0.0 Release notes *Sourced from [org.junit.vintage:junit-vintage-engine's releases](https://github.com/junit-team/junit-framework/releases).* > JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0 > > See [Release Notes](https://docs.junit.org/6.0.0/release-notes/). > > New Contributors > ---------------- > > * [`@2897robo`](https://github.com/2897robo) made their first contribution in [junit-team/junit-framework#4525](https://github.com/junit-team/junit-framework/pull/4525) > * [`@strangelookingnerd`](https://github.com/strangelookingnerd) made their first contribution in [junit-team/junit-framework#4683](https://github.com/junit-team/junit-framework/pull/4683) > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r5.14.0...r6.0.0> > > JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3 > > See [Release Notes](https://docs.junit.org/6.0.0-RC3/release-notes/). > > New Contributors > ---------------- > > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3> > > JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2 > > See [Release Notes](https://docs.junit.org/6.0.0-RC2/release-notes/). > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2> > > JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1 > > See [Release Notes](https://docs.junit.org/6.0.0-RC1/release-notes/). > > New Contributors > ---------------- > > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M2...r6.0.0-RC1> > > JUnit 6.0.0-M2 = Platform 6.0.0-M2 + Jupiter 6.0.0-M2 + Vintage 6.0.0-M2 > > See [Release Notes](https://docs.junit.org/6.0.0-M2/release-notes/). > > New Contributors > ---------------- > > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M1...r6.0.0-M2> ... (truncated) Commits * [`4f79594`](junit-team/junit-framework@4f79594) Release 6.0.0 * [`55af30a`](junit-team/junit-framework@55af30a) Revert "Use `develop/6.x` branch for junit-examples during release build" * [`df3cfdd`](junit-team/junit-framework@df3cfdd) Release 5.14.0 * [`fcb84a2`](junit-team/junit-framework@fcb84a2) Disable backward compatibility check when offline * [`c9c8344`](junit-team/junit-framework@c9c8344) Prune 5.14.0 release notes * [`03d8a72`](junit-team/junit-framework@03d8a72) Update broken link to using API Gaurdian with bndtools * [`3a0b29b`](junit-team/junit-framework@3a0b29b) Use temporary JUnit 6 logo * [`6603caa`](junit-team/junit-framework@6603caa) Rename `eclipseClasspath` to `eclipseConventions` to avoid confusion * [`ab3470b`](junit-team/junit-framework@ab3470b) Make sealed `MediaType` work in Eclipse * [`a8cd41e`](junit-team/junit-framework@a8cd41e) Remove annotations not visible in Eclipse * Additional commits viewable in [compare view](junit-team/junit-framework@r5.13.4...r6.0.0) Updates `org.junit.jupiter:junit-jupiter-params` from 5.13.4 to 6.0.0 Release notes *Sourced from [org.junit.jupiter:junit-jupiter-params's releases](https://github.com/junit-team/junit-framework/releases).* > JUnit 6.0.0 = Platform 6.0.0 + Jupiter 6.0.0 + Vintage 6.0.0 > > See [Release Notes](https://docs.junit.org/6.0.0/release-notes/). > > New Contributors > ---------------- > > * [`@2897robo`](https://github.com/2897robo) made their first contribution in [junit-team/junit-framework#4525](https://github.com/junit-team/junit-framework/pull/4525) > * [`@strangelookingnerd`](https://github.com/strangelookingnerd) made their first contribution in [junit-team/junit-framework#4683](https://github.com/junit-team/junit-framework/pull/4683) > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r5.14.0...r6.0.0> > > JUnit 6.0.0-RC3 = Platform 6.0.0-RC3 + Jupiter 6.0.0-RC3 + Vintage 6.0.0-RC3 > > See [Release Notes](https://docs.junit.org/6.0.0-RC3/release-notes/). > > New Contributors > ---------------- > > * [`@mehulimukherjee`](https://github.com/mehulimukherjee) made their first contribution in [junit-team/junit-framework#4913](https://github.com/junit-team/junit-framework/pull/4913) > * [`@lslonina`](https://github.com/lslonina) made their first contribution in [junit-team/junit-framework#4629](https://github.com/junit-team/junit-framework/pull/4629) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC2...r6.0.0-RC3> > > JUnit 6.0.0-RC2 = Platform 6.0.0-RC2 + Jupiter 6.0.0-RC2 + Vintage 6.0.0-RC2 > > See [Release Notes](https://docs.junit.org/6.0.0-RC2/release-notes/). > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-RC1...r6.0.0-RC2> > > JUnit 6.0.0-RC1 = Platform 6.0.0-RC1 + Jupiter 6.0.0-RC1 + Vintage 6.0.0-RC1 > > See [Release Notes](https://docs.junit.org/6.0.0-RC1/release-notes/). > > New Contributors > ---------------- > > * [`@raccoonback`](https://github.com/raccoonback) made their first contribution in [junit-team/junit-framework#4822](https://github.com/junit-team/junit-framework/pull/4822) > * [`@currenjin`](https://github.com/currenjin) made their first contribution in [junit-team/junit-framework#4823](https://github.com/junit-team/junit-framework/pull/4823) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M2...r6.0.0-RC1> > > JUnit 6.0.0-M2 = Platform 6.0.0-M2 + Jupiter 6.0.0-M2 + Vintage 6.0.0-M2 > > See [Release Notes](https://docs.junit.org/6.0.0-M2/release-notes/). > > New Contributors > ---------------- > > * [`@eric6iese`](https://github.com/eric6iese) made their first contribution in [junit-team/junit-framework#4717](https://github.com/junit-team/junit-framework/pull/4717) > > **Full Changelog**: <junit-team/junit-framework@r6.0.0-M1...r6.0.0-M2> ... (truncated) Commits * [`4f79594`](junit-team/junit-framework@4f79594) Release 6.0.0 * [`55af30a`](junit-team/junit-framework@55af30a) Revert "Use `develop/6.x` branch for junit-examples during release build" * [`df3cfdd`](junit-team/junit-framework@df3cfdd) Release 5.14.0 * [`fcb84a2`](junit-team/junit-framework@fcb84a2) Disable backward compatibility check when offline * [`c9c8344`](junit-team/junit-framework@c9c8344) Prune 5.14.0 release notes * [`03d8a72`](junit-team/junit-framework@03d8a72) Update broken link to using API Gaurdian with bndtools * [`3a0b29b`](junit-team/junit-framework@3a0b29b) Use temporary JUnit 6 logo * [`6603caa`](junit-team/junit-framework@6603caa) Rename `eclipseClasspath` to `eclipseConventions` to avoid confusion * [`ab3470b`](junit-team/junit-framework@ab3470b) Make sealed `MediaType` work in Eclipse * [`a8cd41e`](junit-team/junit-framework@a8cd41e) Remove annotations not visible in Eclipse * Additional commits viewable in [compare view](junit-team/junit-framework@r5.13.4...r6.0.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Purpose
This PR adds a discovery-time validation for
@SuiteDisplayName
in the Suite Engine.If the annotation value is blank or whitespace-only, the engine now reports a
DiscoveryIssue
with WARNING severity.Related issue
@SuiteDisplayName
#4810Key Changes
SuiteTestDescriptor
: invokeinspectSuiteDisplayName(...)
during construction and report a warning when needed.(referred to DisplayNameUtils.validateAnnotation().)
Preconditions.notBlank()
to throw aPreconditionViolationException
when the value contains only whitespace.However, to maintain backward compatibility, I decided that reporting a warning would be more appropriate than throwing an exception.
Definition of Done
@API
annotations