test-reporter
test-reporter copied to clipboard
Bug/add prefix
My use case is running the cc-test-reporter from the project root whereas my coverage files for the frontend are located in ./frontend/test-coverage/lcov.info. I managed to get format-coverage to work only by first cd frontend. Which led me to believe the ADD_PREFIX flag isn't really working. At least for lcov files, because loading the source file is attempted before any prefix is added. And if adding a prefix is required then this will naturally fail. 🤔 Or maybe I'm missing something...
I'm reverting some changes made in this PR: https://github.com/codeclimate/test-reporter/pull/232
- Add prefix before loading source file.
- Update tests.
- Add some logging.
This bug is also mentioned here: https://github.com/codeclimate/test-reporter/issues/422#issuecomment-1242757968 Possibly but not necessarily related: https://github.com/codeclimate/test-reporter/issues/487
Still running into this issue, whats the status of the PR?