Commit 1a9eae6
committed
feat(coverage): write the Clover report to an IDE-managed path
Drop the getCoverageFilePath override that hardcoded <project>/runtime/clover.xml
and pass the report path to the CLI via --coverage-clover=<path> instead. The
path now comes from the platform default (<system>/coverage/<project>@<config>.xml),
exactly like the PhpUnit/Codeception engines, so coverage no longer needs to land
in the project runtime dir. Testo's --coverage-clover flag (Symfony Console,
VALUE_REQUIRED) is confirmed in the framework source.1 parent b7232ca commit 1a9eae6
2 files changed
Lines changed: 14 additions & 11 deletions
File tree
- src/main/kotlin/com/github/xepozz/testo/coverage
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
0 commit comments