File tree Expand file tree Collapse file tree 5 files changed +8
-5
lines changed Expand file tree Collapse file tree 5 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
### Changed
9
9
- cyril-verloop/codingame-configuration 1.13.0 => 1.13.1.
10
10
11
+ ### Fixed
12
+ - generation of tests files when the name of a test contains "* /".
13
+
11
14
## [ 6.4.0] - 2025-03-31
12
15
### Changed
13
16
- cyril-verloop/codingame-configuration 1.12.0 => 1.13.0.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ final class CGTest extends CGTestCase
26
26
{% for test in configuration . testConfigurations % }
27
27
28
28
/**
29
- * Tests the code with "{{ test.name|raw }}".
29
+ * Tests the code with "{{ test.name|replace({' */ ' : ' * / ' })| raw }}".
30
30
*/
31
31
#[
32
32
PA\Group(' {{ configuration . group }}_ {{ test . group }}' ),
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function testGenerateTheTestFile(): void
66
66
'01 - test file.txt '
67
67
);
68
68
$ TestConfiguration2 = new TestConfiguration (
69
- 'Test name 2 ' ,
69
+ 'Test name with */ ' ,
70
70
'testGroup2 ' ,
71
71
'TestMethod2 ' ,
72
72
'02 - test file 2.txt '
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ public function testTestMethod(): void
40
40
}
41
41
42
42
/**
43
- * Tests the code with "Test name 2 ".
43
+ * Tests the code with "Test name with * / ".
44
44
*/
45
45
#[
46
46
PA \Group('anAlphanumName_testGroup2 ' ),
47
- PA \TestDox('Test name 2 ' )
47
+ PA \TestDox('Test name with */ ' )
48
48
]
49
49
public function testTestMethod2 (): void
50
50
{
Original file line number Diff line number Diff line change 10
10
"file" : " 01 - test file.txt"
11
11
},
12
12
{
13
- "name" : " test name 2 " ,
13
+ "name" : " test name with */ " ,
14
14
"alphanumName" : " testAlphanumName2" ,
15
15
"file" : " 02 - test file 2.txt"
16
16
}
You can’t perform that action at this time.
0 commit comments