Is it possible to only run when source directive is clover:on ?

Eric Myers July 1, 2016

This is a bit of an odd use case, but we are trying to make changes in an adversarial environment and it would be good if we could only show coverage for marked methods.  I know there are the source directives; on, off, flush, void.  

I was wondering if there was a way to configure it to only run when clover:on is set?

1 answer

1 accepted

1 vote
Answer accepted
Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 4, 2016

There's no such possibility, however, you can control which files should be instrumented by using include/exclude patterns, take a look at this documentation.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events