Skip to content

Update dependency com.google.testparameterinjector:test-parameter-injector to v1.22#678

Merged
JakeWharton merged 1 commit intomainfrom
renovate/com.google.testparameterinjector-test-parameter-injector-1.x
Apr 7, 2026
Merged

Update dependency com.google.testparameterinjector:test-parameter-injector to v1.22#678
JakeWharton merged 1 commit intomainfrom
renovate/com.google.testparameterinjector-test-parameter-injector-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 7, 2026

This PR contains the following updates:

Package Change Age Confidence
com.google.testparameterinjector:test-parameter-injector 1.211.22 age confidence

Release Notes

google/testparameterinjector (com.google.testparameterinjector:test-parameter-injector)

v1.22

  • Kotlin default parameters: Added support for an alternative way to specify
    test values in Kotlin:

    Examples:

import com.google.testing.junit.testparameterinjector.KotlinTestParameters.testValues
import com.google.testing.junit.testparameterinjector.KotlinTestParameters.namedTestValues
import com.google.testing.junit.testparameterinjector.KotlinTestParameters.testValuesIn

@​TestParameter limit: Int = testValues(20, 100),

@​TestParameter testCase: AgeCheckTestCase = namedTestValues(
    "teenager"  to AgeCheckTestCase(17, false),
    "young adult"  to AgeCheckTestCase(22, true),
),

@​TestParameter invalidRequest: Request =
    testValuesIn(readRequestsFromFile("invalid_requests.json")),
  • Minor breaking change: Because of the above, Kotlin test methods with
    default parameters will no longer work. These defaults would never have been
    used anyway.
  • Minor breaking change: TestParameterInjector will now fail tests that
    specify both @TestParameters on the method and @TestParameter on a
    parameter.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-advanced-security

This comment was marked as spam.

@JakeWharton JakeWharton merged commit a8fca8e into main Apr 7, 2026
6 checks passed
@JakeWharton JakeWharton deleted the renovate/com.google.testparameterinjector-test-parameter-injector-1.x branch April 7, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants