Skip to content

JUnit5 DynamicContainer are not working #1617

@mapio

Description

@mapio

With this test

@TestFactory
public Stream<DynamicContainer> testContainers() {
  return Stream.of(dynamicContainer("Container", List.of(
    dynamicTest("Test", () -> {assertTrue(false);})
  )));
}

Gradle outputs the result, but VSCode runs the test and reports just an empty bullet, not picking the failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions