test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

after-build Usage

Open pbrisbin opened this issue 7 years ago • 0 comments

See #150 for updated description

Current help

Locate, parse, and re-format supported coverage sources. Upload pre-formatted coverage payloads to Code Climate servers.

Usage:
  cc-test-reporter after-build [flags]

Flags:
  -s, --batch-size int               batch size for source files (default 500)
  -e, --coverage-endpoint string     endpoint to upload coverage information to (default "https://api.codeclimate.com/v1/test_reports")
  -t, --coverage-input-type string   type of input source to use [simplecov, lcov, coverage.py, clover, gocov]
      --exit-code int                exit code of the test run
  -r, --id string                    reporter identifier
  -p, --prefix string                the root directory where the coverage analysis was performed (default "/home/patrick")

Global Flags:
  -d, --debug   run in debug mode

Proposed Changes

  • Don't show Global Flags
  • Use consistent case
  • Update --prefix description (slightly)
  • Give exit-code a short option
  • Change batch-size description
  • Can we get the text wrapping?
  • Non-inferred coverage input:
    • Do we support that here, if so we need a path option (probably can't be an argument because this is not a coverage-specific command)
    • If we don't (my preference), we should drop the coverage-input-type option here
Locate, parse, and re-format supported coverage sources. Upload pre-formatted
coverage payloads to Code Climate servers.

Usage:
  cc-test-reporter after-build [flags]

Flags:
  -s, --batch-size int               Batch size for uploads (default 500)
  -e, --coverage-endpoint string     Endpoint to upload coverage information to
                                     (default "https://api.codeclimate.com/v1/test_reports")
  -x, --exit-code int                Exit code of the test run
  -r, --id string                    Reporter identifier
  -p, --prefix string                Root directory where the coverage
                                     analysis was performed (default "/home/patrick")

pbrisbin avatar May 19 '17 12:05 pbrisbin