Coder Social home page Coder Social logo

whizard / bazel-coverage-report Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hchauvin/bazel-coverage-report

0.0 1.0 0.0 707 KB

**NOT MAINTAINED** A multi-language coverage report generator for Bazel

Home Page: https://hchauvin.github.io/bazel-coverage-report/index.html

License: Apache License 2.0

Python 23.13% C 10.20% Java 7.20% Go 3.89% R 1.87% C++ 0.94% TypeScript 1.92% JavaScript 2.14% Shell 15.14% Kotlin 4.42% Starlark 29.15%

bazel-coverage-report's Introduction

bazel-coverage-report

Not maintained: Please look at forks instead!

Build Status

bazel-coverage-report is a multi-language coverage report generator for Bazel. It is based on genhtml.

See the example report generated for the //test/... targets.

Bug reports and feature requests are welcome.

Usage

In your WORKSPACE:

git_repository(
    name = "hchauvin_bazel_coverage_report",
    remote = "https://github.com/hchauvin/bazel-coverage-report.git",
    commit = "{HEAD}",
)
load("@hchauvin_bazel_coverage_report//report:defs.bzl", "bazel_coverage_report_repositories")
bazel_coverage_report_repositories()  # lcov, ...

Then:

  1. Generate coverage data with bazel coverage //your/targets/... --instrumentation_filter=<...>
  2. Build the coverage report generator: bazel build @hchauvin_bazel_coverage_report//report:bin
  3. Generate the report: bazel-bin/external/hchauvin_bazel_coverage_report/report/bin --dest_dir=<dest dir>

Supported languages

  • C, C++
  • Golang
  • Javascript, Typescript
  • Java, Kotlin
  • R

See ./WORKSPACE for the version of the rules that are supported. Some of these versions are pending Push Requests.

bazel-coverage-report's People

Contributors

hchauvin avatar

Watchers

James Cloos 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.