
package working;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.DynamicTest.dynamicTest;

import java.util.stream.IntStream;
import java.util.stream.Stream;

import org.junit.jupiter.api.DynamicNode;
import org.junit.jupiter.api.TestFactory;
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(LoggingExtension.class)
@ExtendWith(TimingExtension.class)
class DynamicTests {

	@TestFactory
	Stream<DynamicNode> firstTenEvenIntegers() {
		return IntStream.iterate(0, n -> n + 2).limit(10)//
				.mapToObj(n -> dynamicTest("test" + n, () -> assertTrue(n % 2 == 0)));
	}

	@TestFactory
	Stream<DynamicNode> strings() {
		return Stream.of("A", "B", "C")//
				.map(str -> dynamicTest("test" + str, () -> assertTrue(str.charAt(0) < 'Z')));
	}

}

@@ -289,130 +289,8 @@
 ry;%0A
-import org.junit.jupiter.api.extension.ExtendWith;%0A%0A@ExtendWith(LoggingExtension.class)%0A@ExtendWith(TimingExtension.class)
 %0Acla

Remove logging and timing extensions from DynamicTests