visola/go-http-cli

Instrument binaries for integration test

Opened this issue · 0 comments

Description

When running the integration tests, there's no way to collect coverage information as is. But it is possible to wrap the binary in a unit test so that it would spit the coverage to a file.

Acceptance Criteria

  • Binaries used during integration tests are instrumented with coverage measurement
  • A coverage file is generated after each integration test finishes
  • The final coverage report is generated from data merged from all files, integration and unit tests