Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.17 KB

README.md

File metadata and controls

26 lines (21 loc) · 1.17 KB

Build & Test Workflow Status Badge

examples.enbnt.dev

This is a Monorepo for https://www.enbnt.dev blog post examples, which uses Bazel to build and test all artifacts.

tracing-and-testing

This project is an example Finatra project, which illustrates some of the built-in distributed trace annotation testing utilities. See the Distributed Tracing and Testing blog post for a deeper look into this project.

Command Reference

To generate a code coverage report (requires lcov and genhtml to be installed):

$ bazel coverage --cache_test_results=no\
    --combined_report=lcov \
    --coverage_report_generator="@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main" \
    --instrumentation_filter="-/src/test/scala[/:]" \
    //...
$ genhtml --output genhtml "$(bazel info output_path)/_coverage/_coverage_report.dat"
$ open genhtml/index.html