Move string-based argument conversion tests to platform-test#4305
Merged
marcphilipp merged 1 commit intojunit-team:mainfrom Feb 12, 2025
Merged
Move string-based argument conversion tests to platform-test#4305marcphilipp merged 1 commit intojunit-team:mainfrom
platform-test#4305marcphilipp merged 1 commit intojunit-team:mainfrom
Conversation
Contributor
Author
|
What if I wrap this invocation in a package-private method: and I use Mockito to verify the delegation, cleaning up all the equivalent test cases from |
a8f5b4a to
528b570
Compare
6 tasks
Member
SGTM 👍 |
fe36544 to
afe8ec1
Compare
Prior to this commit, `platform-tests` had no dedicated tests for `ConversionSupport`. Instead, `DefaultArgumentConverterTests` from `jupiter-tests` provided the corresponding coverage. Now, string-based tests are moved to `ConversionSupportTests`, while `DefaultArgumentConverterTests` verify that the delegation to `ConversionSupport` happens correctly.
afe8ec1 to
0e5b639
Compare
marcphilipp
approved these changes
Feb 12, 2025
Member
|
Thanks, @scordio! 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Prior to this commit,
platform-testshad no dedicated tests forConversionSupport. Instead,DefaultArgumentConverterTestsfromjupiter-testsprovided the corresponding coverage.Now, string-based tests are moved to
ConversionSupportTests, whileDefaultArgumentConverterTestsverify that the delegation toConversionSupporthappens correctly.See #4219 (comment).
For an easier review, here's the diff between
DefaultArgumentConverterTestsfrommainandConversionSupportTestsfrom this PR:Diff
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@APIannotations