@@ -94,16 +94,16 @@ Collection<DynamicTest> testFactory()
9494 {
9595 return Arrays .asList (
9696 JupiterApprovals .dynamicTest ("test 1" ,
97- () -> StackTraceNamerUtils .assertNamerForFramework (this .getClass ().getSimpleName (),
98- "testFactory.test_1" )),
97+ (o ) -> StackTraceNamerUtils .assertNamerForFramework (this .getClass ().getSimpleName (),
98+ "testFactory.test_1" , o . forFile (). getNamer () )),
9999 JupiterApprovals .dynamicTest ("test 3" ,
100- () -> StackTraceNamerUtils .assertNamerForFramework (this .getClass ().getSimpleName (),
101- "testFactory.test_3" )),
100+ (o ) -> StackTraceNamerUtils .assertNamerForFramework (this .getClass ().getSimpleName (),
101+ "testFactory.test_3" , o . forFile (). getNamer () )),
102102 JupiterApprovals .dynamicTest ("test 3" ,
103103 (o ) -> StackTraceNamerUtils .assertNamerForFramework (this .getClass ().getSimpleName (),
104104 "testFactory.test_3" , o .forFile ().getNamer ())),
105- JupiterApprovals .dynamicTest ("test 2" , () -> StackTraceNamerUtils
106- .assertNamerForFramework (this .getClass ().getSimpleName (), "testFactory.test_2" )));
105+ JupiterApprovals .dynamicTest ("test 2" , (o ) -> StackTraceNamerUtils
106+ .assertNamerForFramework (this .getClass ().getSimpleName (), "testFactory.test_2" , o . forFile (). getNamer () )));
107107 }
108108 @ TestFactory
109109 Collection <DynamicTest > testFactory2 ()
0 commit comments