Improving coverage

Further in this question:

Is there a way to change the 80% threshold to another value?

Or is there a way to wrap a block of code to be ignored when calculating test coverage?



Welcome to the community!

I’ve split your post into a separate topic since it was slightly off-topic from the thread you resurrected.

You’re not going to be able to edit the built-in Quality Gate, but you can copy it into a new Quality Gate and edit the condition to require a higher threshold than 80%. (Note that you’ll want to make sure you set it as the default once it’s configured.)

This is only possible at the file level, not the block level.