Finding Your Test Coverage ID

Each repository added to Code Climate is automatically assigned a unique Test Reporter ID. When you run the test reporter, it submits your coverage data to Code Climate and includes this ID (which it reads from the environment) so we can map the data to the correct repository.

How To

For an organization-owned repository, you must be in an organization's Owners group to perform the actions described below. Alternatively, if you added the repository in question by clicking Add Open Source Repo, you must have GitHub-rights to administer the repository.

  1. From your Dashboard, choose the repository and choose the Settings tab from the repo's main navigation list.
807
  1. Select the Test Coverage tab.
874
  1. Your test coverage ID will be displayed on the page.

Regenerating a Repo's Test Reporter ID

Since we don't consider a repo's test reporter ID a sensitive value, regenerating it shouldn't be necessary in most cases. However you may regenerate the ID in the repo's Settings section under Test Coverage. After regenerating the ID, any existing CI jobs reporting test coverage will stop working until you update their configuration to use the new test reporter ID.

Trouble With Test Coverage?

Trouble setting up test coverage or not seeing the results you expect?

Should I keep my Test Reporter ID secret?

Your repo's test coverage ID is only used to identify your repo when submitting test coverage payloads. It can't be used to access any of your data.