Closed efueger closed 6 years ago
demo of failing test here: https://github.com/codeclimate/test-reporter/pull/360
User reports switching to lcov and is now able to complete the entire process (format + sum + upload) and it completes successfully with the result "Test report uploaded successfully to Code Climate". 👍
Closing out this issue, as the bug is documented here: https://github.com/codeclimate/test-reporter/pull/360
Follow up for how to exclude files and directories for Jest:
A repo with multiple tests resulted in an error formatting its frontend results. (backend results did process fully.)
After
/cc-test-reporter format-coverage backend/clover.xml --input-type clover --output coverage/codeclimate.backend.json
./cc-test-reporter format-coverage frontend/clover.xml --input-type clover --output coverage/codeclimate.frontend.json
Customer sent the output when running these two commands with --debug and the contents of the coverage files.
[contact @efueger for the files]
Eventually, we saw the format of the frontend-clover.xml file was slightly different from the backend-clover.xml.
This:
Versus: