GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — Add ParameterizedTest#argumentCountValidation by JonasJebing · Pull Request #4045 · junit-team/junit-framework Conversation
|
| logger.warn(() -> String.format( | ||
| "Ignored invalid configuration '%s' set via the '%s' configuration parameter.", value, key)); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The error message should be the same as in EnumConfigurationParameterConverter. Unfortunately, we can't (easily) reuse that here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is there some way that we could make it more easily reusable across the project? Maybe I could add another PR to address that after merging this one.
For now, I basically copied the messages from EnumConfigurationParameterConverter.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Our guideline is to introduce new features as "experimental".
I think we should add a small sample to the User Guide otherwise the chance to get feedback is slim.
Documenting preconditions is mainly interesting for public API so we can omit it here since |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
# Conflicts: # junit-jupiter-params/src/main/java/org/junit/jupiter/params/ParameterizedTest.java # junit-jupiter-params/src/main/java/org/junit/jupiter/params/ParameterizedTestExtension.java
- add `writing-tests-parameterized-tests-argument-count-validation` section to the user guide. - cache configuration parameter in `ExtensionContext.Store` - adjust log and error messages Issue junit-team#3708
|
Thank you for all the pointers and comments on this PR @marcphilipp. I've addressed all your comments. Could you have another look? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making those changes! I think we're very close now. Please also add an entry to the 5.12.0-M1 release notes.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
release-notes-5.12.0-M1-junit-jupiter-new-features-and-improvements to be exact Issue junit-team#3708
Co-authored-by: Marc Philipp <[email protected]>
Co-authored-by: Marc Philipp <[email protected]>
Co-authored-by: Marc Philipp <[email protected]>
Co-authored-by: Marc Philipp <[email protected]>
65cd018 to
0bf0b05
Compare
There was an error while loading. Please reload this page.
|
@marcphilipp could you review again? I applied all suggestions and added a release note. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Marc Philipp <[email protected]>
Thanks! I'll make those changes you suggested today or tomorrow :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@marcphilipp could you merge the PR? And of course feel free to review the small change you suggested. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@JonasJebing Thank you for your contribution! 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
@ParameterizedTest ignores additional arguments beyond formal parameter list
There was an error while loading. Please reload this page.