codeclimate / python-test-reporter

DEPRECATED Uploads Python test coverage data to Code Climate
https://codeclimate.com
Other
19 stars 11 forks source link

Enable file processing debug output #33

Closed dblandin closed 7 years ago

dblandin commented 7 years ago

When the --debug flag is passed, output file path before processing payload.

This should provide valuable debug information when dealing with encoding errors or other file content issues.

$ codeclimate-test-reporter --debug
Processing file path=codeclimate_test_reporter/__init__.py
Processing file path=codeclimate_test_reporter/__main__.py
Processing file path=codeclimate_test_reporter/components/__init__.py
Processing file path=codeclimate_test_reporter/components/api_client.py
Processing file path=codeclimate_test_reporter/components/argument_parser.py
Processing file path=codeclimate_test_reporter/components/ci.py
Processing file path=codeclimate_test_reporter/components/file_coverage.py
Processing file path=codeclimate_test_reporter/components/formatter.py
Processing file path=codeclimate_test_reporter/components/git_command.py
Processing file path=codeclimate_test_reporter/components/payload_validator.py
Processing file path=codeclimate_test_reporter/components/reporter.py
Processing file path=codeclimate_test_reporter/components/runner.py

@codeclimate/review :mag_right:

dblandin commented 7 years ago

@pbrisbin Ready for another :mag_right:

pbrisbin commented 7 years ago

LGTM