Ignore unit test condition on quality gate

Is there any way to exclude a file from the unit test condition on a quality gate? I’d like to have the other metrics so I don’t want to use sonar.exclusions to exclude it from everything but if possible just the unit test condition on the quality gate.

Hey there.

What do you mean by the “unit test” condition? Are you referring to code coverage?

Yes that’s correct

Yes I’m referring to code coverage. I’d like to be able to get measures but exclude certain files from the code coverage condition on the quality gate

is sonar.coverage.exclusions still valid ?