Commit 747e806
authored
test codewhisperer coverage changes (aws#5334)
* fix: Codewhisperer underreporting codecoverage
Problem:
- Codewhisperer was underreporting code coverage because c8 couldn't "see" the code in core
Solution:
- Use --allowExternal which allows c8 to report codecoverage on code outside of the cwd
Other notes:
- As far as I can tell/understand include isn't really necessary since we're using the "all" flag which considers all files in the cwd, --allowExternal which allows for src files to be outside of the amazonq directory (so it can see and report on the amazonq/codewhisperer test files), and exclude which specifically excludes certain files from the report1 parent 1c1b0bf commit 747e806
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments