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

Introduce new DynamicTests generators in class DynamicTest #3651

Closed
wants to merge 4 commits into from

Commits on Jan 20, 2024

  1. Introduce new interface NamedExecutable

    Introduce new interface NamedExecutable that associates a name, a
    payload and an Executable.
    
    This was introduced to help colocate test's diplayName, payload, and
    testExecutor in one place. Concrete usage of this interface is in the
    next commit.
    
    Issue: junit-team#3261
    mobounya committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    7ef835c View commit details
    Browse the repository at this point in the history
  2. Simplify the generation of DynamicTests stream

    Introduce two methods in the class DynamicTest to generate a stream of
    DynamicTests from a Stream/Iterator of NamedExecutables.
    
    Instead of passing an inputStream, a displayNameGenerator and a
    testExecutor separately, these two additional methods will allow you
    to pass one Iterator/Stream of a NamedExecutable.
    
    Unlike the Named interface, the NamedExecutable can colocate assertion
    callbacks in one container using the execute method.
    
    Issue: junit-team#3261
    mobounya committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    0930169 View commit details
    Browse the repository at this point in the history
  3. Document new changes

    Write new changes to the release notes for 5.11M1 and add a simple demo
    in DynamicTestsDemo.
    
    Issue: junit-team#3261
    mobounya committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    43b708f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Merge branch 'junit-team:main' into main

    Mohamed amine Bounya committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    365ac91 View commit details
    Browse the repository at this point in the history