Closed stuart-clark-exeter closed 1 year ago
Just found that changing the path to ^x/.*/types/.*\.go$
resolved the issue, a bit of bad regex by me :)
I guess tho that there is still a minor issue here as the threshold output is still wrong I think?
Just found that changing the path to ^x/./types/..go$ resolved the issue, a bit of bad regex by me :)
Regexp should be changed to what you are suggesting or ^x/.*/types/
(without $
sign at the end).
I guess tho that there is still a minor issue here as the threshold output is still wrong I think?
Yes, it appears so...
Thanks for reporting :)
@stuart-clark-exeter this should be fixed in v2.7.1, could you check if this issue is resolved?
Thanks for getting back so fast @vladopajic in the end I found I had to use ^x/.*/types(/|$)
and everything seems to be working fine now :)
Hiya thanks for your work on this tool :)
I think I have found a bug with the override option...
This is my testing command:
If I run with the following
.testcoverage.yml
:I get this output
I want to override the types directories so I am using this to do so (note I have uncommented the overrides key):
This gives me the following output
As you can see the threshold has been set to 20% for all files not just the ones that match the path given.
Again thanks for all the work, this is otherwise just what I have been looking for!