Each repository added to Code Climate is automatically assigned a unique test coverage token. When you run the test reporter, it submits your coverage data to Code Climate and includes this token (which it reads from the environment) so we can map the data to the correct repository.
New Test Reporter in Public Beta!
Using parallel builds? We have a new test reporter that can combine multiple test reports together into a single payload. For installation instructions, check out the docs.
Should I keep my test coverage secret?
Your repo's test coverage token is only used to identify your repo when submitting test coverage payloads. It can't be used to access any of your data. Find more details and instructions for resetting your token here.
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.
- From your Dashboard, choose the repository and choose the Settings tab from the repo's main navigation list.
- Select the Test Coverage tab.
- Your test coverage token will be displayed on the page.
Trouble setting up test coverage or not seeing the results you expect?
- Take a look at this help doc for troubleshooting tips.