All Projects → codeclimate → javascript-test-reporter

codeclimate / javascript-test-reporter

Licence: MIT license
DEPRECATED Code Climate test reporter client for JavaScript projects

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to javascript-test-reporter

python-test-reporter
DEPRECATED Uploads Python test coverage data to Code Climate
Stars: ✭ 18 (-73.53%)
Mutual labels:  quality, continuous-integration, coverage-report, test-coverage, code-quality, codeclimate
codeclimate-duplication
Code Climate engine for code duplication analysis
Stars: ✭ 96 (+41.18%)
Mutual labels:  quality, code-quality, codeclimate
Simplecov
Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites
Stars: ✭ 4,362 (+6314.71%)
Mutual labels:  coverage-report, test-coverage, code-quality
Codeclimate
Code Climate CLI
Stars: ✭ 2,273 (+3242.65%)
Mutual labels:  quality, code-quality, codeclimate
codeclimate-eslint
Code Climate Engine for ESLint
Stars: ✭ 86 (+26.47%)
Mutual labels:  quality, code-quality, codeclimate
codeclimate-phpcodesniffer
Code Climate Engine for PHP Code Sniffer
Stars: ✭ 27 (-60.29%)
Mutual labels:  quality, code-quality, codeclimate
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+64.71%)
Mutual labels:  continuous-integration, code-quality
Xcov
Nice code coverage reporting without hassle
Stars: ✭ 467 (+586.76%)
Mutual labels:  continuous-integration, coverage-report
Cross Platform Node Guide
📗 How to write cross-platform Node.js code
Stars: ✭ 1,161 (+1607.35%)
Mutual labels:  continuous-integration, code-quality
Test Each
🤖 Repeat tests. Repeat tests. Repeat tests.
Stars: ✭ 89 (+30.88%)
Mutual labels:  continuous-integration, code-quality
codeclimate-action
GitHub Action to send your code coverage to CodeClimate
Stars: ✭ 145 (+113.24%)
Mutual labels:  quality, codeclimate
elm-review
Analyzes Elm projects, to help find mistakes before your users find them.
Stars: ✭ 195 (+186.76%)
Mutual labels:  quality, code-quality
pipelinit-cli
Automatically generates pipelines for your project.
Stars: ✭ 36 (-47.06%)
Mutual labels:  continuous-integration, code-quality
koshry
Run on CI, Apply Rules on the Build and Get the Result back to the Pull Request.
Stars: ✭ 59 (-13.24%)
Mutual labels:  continuous-integration, test-coverage
Jscpd
Copy/paste detector for programming source code.
Stars: ✭ 2,397 (+3425%)
Mutual labels:  quality, code-quality
continuous-integration-with-python
How to test your python code. How to automatically run your tests for your Python code. How to get reports of the tests coverage
Stars: ✭ 25 (-63.24%)
Mutual labels:  continuous-integration, coverage-report
Android Guidelines
Project Guidelines for the Android Buffer App
Stars: ✭ 760 (+1017.65%)
Mutual labels:  quality, code-quality
code-assert
Assert that the java code of a project satisfies certain checks.
Stars: ✭ 94 (+38.24%)
Mutual labels:  test-coverage, code-quality
Chimp
Tooling that helps you do quality, faster.
Stars: ✭ 783 (+1051.47%)
Mutual labels:  quality, continuous-integration
memcheck-cover
An HTML generator for Valgrind's Memcheck tool
Stars: ✭ 30 (-55.88%)
Mutual labels:  continuous-integration, code-quality

codeclimate-test-reporter - [DEPRECATED]

These configuration instructions refer to a language-specific test reporter which is now deprecated in favor of our new unified test reporter client. The new test reporter is faster, distributed as a static binary, has support for parallelized CI builds, and will receive ongoing support by the team here. The existing test reporters for Ruby, Python, PHP, and Javascript are now deprecated.

npm version Build Status Coverage Status Code Climate Dependency Status

Supplies a script which accepts coverage data over standard input, formats the coverage data and sends it to Code Climate. Supports lcov and Go's cover formats.

Code Climate - https://codeclimate.com

Important FYIs

Across the many different testing frameworks, setups, and environments, there are lots of variables at play. Before setting up test coverage, it's important to understand what we do and do not currently support:

  • Single payload: We currently only support a single test coverage payload per commit. If you run your tests in multiple steps, or via parallel tests, Code Climate will only process the first payload that we receive. If you are using a CI, be sure to check if you are running your tests in a parallel mode.

    Note: There is one exception to this rule. We've specifically built an integration with Solano Labs to support parallel tests.

    Note: If you've configured Code Climate to analyze multiple languages in the same repository (e.g., Ruby and JavaScript), we can nonetheless only process test coverage information for one of these languages. We'll process the first payload that we receive.

  • Invalid File Paths: By default, our test reporters expect your application to exist at the root of your repository. If this is not the case, the file paths in your test coverage payload will not match the file paths that Code Climate expects.

Installation

This npm package requires having a user (but not necessarily a paid account) on Code Climate, so if you don't have one the first step is to create an account at: https://codeclimate.com. Then:

  1. Generate coverage data in lcov or Go's cover format.

    Lcov data can be generated by a number of JavaScript code coverage tools, including Istanbul and Lab test runner.

    Coverage for Go packages can be generated by passing the -cover flag to go test.

  2. Install codeclimate's NPM package

       $ npm install -g codeclimate-test-reporter
    
  3. Specifying your repo token as an environment variable, send lcov coverage data to the codeclimate npm script.

    For example, if your coverage data resides in a "lcov.info" file:

       CODECLIMATE_REPO_TOKEN=ABCD11110000000 codeclimate-test-reporter < lcov.info
    

The CODECLIMATE_REPO_TOKEN value is provided after you add your repo to your Code Climate account by clicking on "Setup Test Coverage" on the right hand side of your feed.

Please contact [email protected] if you need any assistance setting this up.

Usage

Usage: codeclimate [options] < <file>

Options:

  -h, --help       output usage information
  -V, --version    output the version number
  -S, --skip-cert  skips verification of the chain of certificate

Troubleshooting

If you're having trouble setting up or working with our test coverage feature, see our detailed help doc, which covers the most common issues encountered.

Contributions

Patches, bug fixes, feature requests, and pull requests are welcome on the GitHub page for this project: https://github.com/codeclimate/javascript-test-reporter

Copyright

See LICENSE.txt

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].