• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 7 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code Climate Test Reporter

code-climate-logo_black-200

Code Climate Test Reporter

Code Climate's test reporter is a binary that works in coordination with codeclimate.com to report test coverage data. Once you've set up test coverage reporting you can:

  • view test coverage reports for each file alongside quality metrics like complexity, duplication, and churn,
  • toggle between viewing code issues and test coverage line-by-line in the same source listings,
  • block PRs from being merged if they don't meet your team's standards for test coverage percentage.

Code Climate accepts test coverage data from virtually any location, including locally run tests or your continuous integration (CI) service, and supports a variety of programming languages and test coverage formats, including Ruby, JavaScript, Go, Python, PHP, Java, and more.

For installation instructions, check out our docs on Configuring Test Coverage and Test Coverage Troubleshooting Tips.

To sign up for Code Climate, head here.

Versioning

The test reporter's current version is documented in VERSIONING/VERSION, following the Semantic Versioning convention.

Binaries

Download

The test reporter is distributed as a pre-built binary named cc-test-reporter. You can fetch the pre-built binary from the following URLs:

Linux

Linux ARM64

Linux netcgo (recommended if you're using a VPN)

OS X

Windows

e.g

$ curl -L -O https://codeclimate.com/downloads/test-reporter/test-reporter-0.10.1-darwin-amd64

Verifying binaries

Along with the binaries you can download a file with a SHA 256 checksum for the given version from the link shown below, or you can attach it to your clipboard from the docs page.

To download the file containing the checksum using curl:

e.g

$ curl -L -O https://codeclimate.com/downloads/test-reporter/test-reporter-0.10.1-darwin-amd64.sha256

To check that a downloaded file matches the checksum, run it through shasum with a command such as:

$ grep test-reporter-${VERSION}-darwin-amd64  test-reporter-${VERSION}-darwin-amd64.sha256 | shasum -a 256 -c -

The GPG detached signature of SHA checksums can be download analogously from the following url:

You can use it with gpg to verify the integrity of your downloaded checksum. You will first need to import the GPG publick key. To import the key:

$ gpg --keyserver  keys.openpgp.org --recv-keys 9BD9E2DD46DA965A537E5B0A5CBF320243B6FD85

Then use the following command to verify the file's signature.

$ gpg --verify test-reporter-${VERSION}-darwin-amd64.sha256.sig test-reporter-${VERSION}-darwin-amd64.sha256

Copyright

See the LICENSE.

More Repositories

1

codeclimate

Code Climate CLI
Ruby
2,523
star
2

refactoring-fat-models

Ruby
209
star
3

codeclimate-duplication

Code Climate engine for code duplication analysis
Ruby
113
star
4

platform

Code Climate Engineering Data Platform
113
star
5

codeclimate-eslint

Code Climate Engine for ESLint
JavaScript
95
star
6

ruby-test-reporter

DEPRECATED Uploads Ruby test coverage data to Code Climate
Ruby
92
star
7

javascript-test-reporter

DEPRECATED Code Climate test reporter client for JavaScript projects
JavaScript
69
star
8

php-test-reporter

DEPRECATED PHP Test Reporter
PHP
65
star
9

velocity-deploy-action

A simple GitHub Action for tracking deployments in Velocity.
JavaScript
62
star
10

codeclimate-rubocop

Code Climate Engine for Rubocop
Ruby
59
star
11

codeclimate-fixme

A codeclimate engine for finding things you should fix.
JavaScript
35
star
12

codeclimate-phpcodesniffer

Code Climate Engine for PHP Code Sniffer
PHP
28
star
13

styleguide

Code Climate's Internal Style Guides
JavaScript
23
star
14

popeye

Generate an authorized_keys file from users stored in AWS IAM
Haskell
20
star
15

python-test-reporter

DEPRECATED Uploads Python test coverage data to Code Climate
Python
19
star
16

codeclimate-services

Code Climate services
Ruby
13
star
17

codeclimate-pmd

Groovy
13
star
18

minidoc

Lightweight MongoDB object document mapper
Ruby
13
star
19

codeclimate-bundler-audit

Code Climate Engine for bundler-audit
Ruby
12
star
20

codeclimate-phpmd

Code Climate PHPMD Engine
PHP
10
star
21

homebrew-formulae

Formulae repo for Code Climate Homebrew packages
Shell
9
star
22

codeclimate-golint

Code Climate Engine for golint
Go
7
star
23

cc-engine-go

Go library for Code Climate engines
Go
7
star
24

codeclimate-csslint

Code Climate Engine for CSSLint
JavaScript
6
star
25

docker-alpine-ruby

Docker image for Alpine Linux w/ Ruby
Shell
5
star
26

create-codeclimate-connector

Template for Code Climate Connectors
TypeScript
5
star
27

github_monkey

A monkey with access to several typewriters and the GitHub API. More plainly: a script to generate commit & PR traffic on a GH repo.
Ruby
5
star
28

codeclimate-sonar-python

Java
4
star
29

codeclimate-coffeelint

Code Climate Engine for CoffeeLint
Ruby
4
star
30

connector-sdk

SDK for building on the Code Climate Engineering Data Platform
TypeScript
4
star
31

codeclimate-checkstyle

A code climate engine for checkstyle
Ruby
3
star
32

codeclimate-sonar-java

Maintainability and reliability checks for Java
Java
3
star
33

cc-php-test-reporter-sandbox

PHP
2
star
34

codeclimate-grep

Ruby
2
star
35

kafka

Centralized Kafka client gem (temporary name)
Ruby
2
star
36

codeclimate-golangci-lint

Ruby
1
star
37

builder-gc

Garbage Collect Builder and Engine containers
Shell
1
star
38

codeclimate-connector-codecov

Code Climate Connector for Codecov
TypeScript
1
star
39

codeclimate-ss-analyzer-wrapper

Java
1
star
40

coding-exercise-rails-template

Templated application for Rails based interviewing coding exercise
Ruby
1
star
41

peek-grit

Ruby
1
star
42

community-styleguide

Collection of popular style guides
1
star
43

velocity-client-ruby

Ruby library to interact with velocity teams API
Ruby
1
star
44

codeclimate-statsd

Dockerized statsd
Dockerfile
1
star
45

codeclimate-swiftlint

Code Climate Swiftlint engine
Swift
1
star
46

velocity-agent-helm-chart

Helm chart for the Velocity Agent
Smarty
1
star