Extensions > API reference > coverage

coverage

A configuration fragment representing the coverage configuration.

output_generator

Label coverage.output_generator

Returns the label pointed to by the --coverage_output_generator option if coverage collection is enabled, otherwise returns None. Can be accessed with configuration_field:
attr.label(
default = configuration_field(
fragment = "coverage",
name = "output_generator"
)
)
May return None.