github.com/0xKiwi/rules_go@v0.24.3/tests/core/nogo/coverage/README.rst (about)

     1  nogo test with coverage
     2  =======================
     3  
     4  .. _nogo: /go/nogo.rst
     5  .. _go_tool_library: /go/core.rst#_go_tool_library
     6  .. _#1940: https://github.com/bazelbuild/rules_go/issues/1940
     7  .. _#2146: https://github.com/bazelbuild/rules_go/issues/2146
     8  
     9  Tests to ensure that `nogo`_ works with coverage.
    10  
    11  coverage_test
    12  -------------
    13  Checks that `nogo`_ works when coverage is enabled. All covered libraries gain
    14  an implicit dependencies on ``//go/tools/coverdata``, which is a
    15  `go_tool_library`_, which isn't built with `nogo`_. We should be able to
    16  handle libraries like this that do not have serialized facts. Verifies `#1940`_.
    17  
    18  Also checks that `nogo`_ itself can be built with coverage enabled.
    19  Verifies `#2146`_.