You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using --coverage-format=generic produces an XML report that is missing the coverage that is expected, and that is correctly reported when using --coverage-format=cobertura.
An example
This command:
elastic-package test pipeline -v --test-coverage --coverage-format=cobertura
when run for example on elastic/integrations#9077, will produce expected coverage numbers, like this:
The problem
Using
--coverage-format=generic
produces an XML report that is missing the coverage that is expected, and that is correctly reported when using--coverage-format=cobertura
.An example
This command:
when run for example on elastic/integrations#9077, will produce expected coverage numbers, like this:
But when the
generic
format is used as follows:The report will only show coverage for
default.yml
andaccount.yml
. That's causing SonarQube Quality Gate failures.Related issues
The text was updated successfully, but these errors were encountered: