Skip to content

Change return type to Stream<? extends TestTemplateInvocationContext> #3577

Description

Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContexts(ExtensionContext context);

Michael wrote:

I mean I tried to do Stream.generate(() -> new MyInvocationContext()).limit(/*number*/)
This does not work.
but Stream.generate(() -> new MyInvocationContext()).limit(/*number*/).map(e -> e) works...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions