Giter Club home page Giter Club logo

simplecov_json_formatter's Introduction

JSON formatter for SimpleCov

Note: To learn more about SimpleCov, check out the main repo at https://github.com/simplecov-ruby/simplecov

Generates a formatted JSON report of your SimpleCov ruby code coverage results on ruby 2.4+. Originally intended to add simplecov's results reading capacity to CI tools.

Overview

You can expect for this gem to produce a coverage.json file, located at the coverage folder.

Depending on your SimpleCoV's settings you will experiment different outcomes. Particularly depending on which type of coverage are you running SimpleCov with:

  • If you configure SimpleCov to run with branch coverage you should expect an output formatted like sample_with_branch.json
  • Otherwise you should expect an output formatted like sample.json

Development

We encourage you to use docker for common operations like running tests, or debugging your code. Running make sh will start a new container instance based on the Dockerfile provided at root, finally a shell prompt will be displayed on your terminal. Also, syncronization with your local files will be already set.

Tests

make test will trigger the excution of both running tests and running rubocop as linter, by simply running rake, this actions will be run inside a new container but using your local files.

Format

make format will run rubocop -a which stands for autocorrect and format your code according to the .rubocop.yml config file.

Copyright

See License

simplecov_json_formatter's People

Contributors

fede-moya avatar flavorjones avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.