Skip to content
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

Issue: #3708 add ParameterizedTest#argumentCountValidation #4045

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Commits on Oct 5, 2024

  1. Issue: junit-team#3708 add ParameterizedTest#argumentCountValidation

    This allows parameterized tests to fail
    when there are more arguments provided than declared by the test method.
    This is done in a backwards compatible way
    by only enabling that validation when the new
    `junit.jupiter.params.argumentCountValidation` is set to `strict`
    or `ParameterizedTest#argumentCountValidation` is set to
    `ArgumentCountValidationMode.STRICT`.
    jonas-jebing-at-ebay authored and JonasJebing committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    2e56d56 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Merge branch 'main' into argument-count-validation-mode

    # 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
    JonasJebing committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3d40ebe View commit details
    Browse the repository at this point in the history
  2. address PR comments

    - 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
    JonasJebing committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    98cdf69 View commit details
    Browse the repository at this point in the history
  3. gradle spotlessApply

    JonasJebing committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    89a7443 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5c71632 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    edd9f46 View commit details
    Browse the repository at this point in the history
  6. gradle spotlessApply

    JonasJebing committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    beb53ab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b117b69 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    37216f8 View commit details
    Browse the repository at this point in the history
  2. add change to release-notes 5.12.0-M1

    release-notes-5.12.0-M1-junit-jupiter-new-features-and-improvements
    to be exact
    
    Issue junit-team#3708
    JonasJebing committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f87404f View commit details
    Browse the repository at this point in the history
  3. fix ArgumentCountValidationMode javadoc typo

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    14a071b View commit details
    Browse the repository at this point in the history
  4. improve ParameterizedTest javadoc

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    762c39a View commit details
    Browse the repository at this point in the history
  5. use underscores for unused lambda parameter

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8a84dc2 View commit details
    Browse the repository at this point in the history
  6. use root context store for caching config value

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    09ced82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0bf0b05 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    f189f07 View commit details
    Browse the repository at this point in the history
  2. @ParameterizedTests to Parameterized tests

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    36e7729 View commit details
    Browse the repository at this point in the history
  3. improve release note

    Co-authored-by: Marc Philipp <mail@marcphilipp.de>
    JonasJebing and marcphilipp authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    851a4db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a986bba View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    2dafffb View commit details
    Browse the repository at this point in the history
  2. move argument count validation to happen later

    This should result in invocations with valid argument counts still
    being executed and only invocations with invalid argument counts fail.
    
    Issue junit-team#3708
    JonasJebing committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e70240c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d84b9f View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. retrigger checks

    JonasJebing committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    dd6b55a View commit details
    Browse the repository at this point in the history