Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
BUILD.bazel | D | 04-Jul-2025 | 234 | 12 | 9 | |
README.rst | D | 04-Jul-2025 | 806 | 24 | 18 | |
coverage_test.go | D | 04-Jul-2025 | 1.7 KiB | 66 | 43 | |
gen_code_test.go | D | 04-Jul-2025 | 3.2 KiB | 131 | 95 |
README.rst
1nogo test with coverage 2======================= 3 4.. _nogo: /go/nogo.rst 5.. _#1940: https://github.com/bazelbuild/rules_go/issues/1940 6.. _#2146: https://github.com/bazelbuild/rules_go/issues/2146 7 8Tests to ensure that `nogo`_ works with coverage. 9 10coverage_test 11------------- 12Checks that `nogo`_ works when coverage is enabled. All covered libraries gain 13an implicit dependencies on ``//go/tools/coverdata``, which is a 14`go_tool_library`_, which isn't built with `nogo`_. We should be able to 15handle libraries like this that do not have serialized facts. Verifies `#1940`_. 16 17Also checks that `nogo`_ itself can be built with coverage enabled. 18Verifies `#2146`_. 19 20gen_code_test 21------------- 22Checks how `nogo`_ should not run on source code that was generated as part of 23rules_go's coverage implementation. 24