Commit 5190dc0
committed
Fix test coverage for :junit-jupiter-params
Prior to this commit the coverage for `junit-jupiter-params` was missing
from the aggregated JaCoCo report because the tests were executed using
different class files than those used by downstream projects that use
`@ParameterizedTests`. The classes are different because we relocate
classes using the shadow plugin which modifies the bytecode. The code
in the buildscript that attempted to replace the classes directory with
the shadowed jar file for the project's `test` task was broken since the
migration to Kotlin DSL in 82eb832.
Note to self: `classpath.minus(files)` does not modify `classpath` but
returns a new one.1 parent b762d8f commit 5190dc0
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
0 commit comments