Skip to content

chore: update dependency com.google.testparameterinjector:test-parameter-injector to v1.22#72

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/junit4.parameterinjector
Open

chore: update dependency com.google.testparameterinjector:test-parameter-injector to v1.22#72
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/junit4.parameterinjector

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 19, 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: (in timezone Europe/Ljubljana)

  • Branch creation
    • Between 05:00 PM and 11:59 PM, only on Tuesday (* 17-23 * * 2)
  • 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-actions
Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 52.99% 🍏

There is no coverage information present for the Files changed

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.

0 participants