[Code Coverage] Codecov.io reports appear to be mostly broken #7015
Labels
help_wanted
Help the Open MCT project!
needs:test instructions
Missing testing notes
type:maintenance
tests, chores, or project maintenance
verified
Tested or intentionally closed
Milestone
Summary
I noticed that we had a codecov.io report for release/3.0.0 which had the following calculations:
e2e-stable
flage2e-full
flagunit
flagHow is it possible that our total is 48% but the e2e-stable tests cover 57%?
I switched back to 'master' and noticed something our lowest coverage was for 'plot/plugins/mctPlot.vue'. We which shouldn't near-zero (0.27%) as this area is heavily exercised in our e2e suites.
Opening the
plot/plugins/MctPlot.vue
revealed that the two lines which were covered appeared to be randomly distributedWe'll likely need to do a deeper investigation into why the code coverage is mostly inaccurate.
Probable causes:
npm run start:coverage
The text was updated successfully, but these errors were encountered: