Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code coverage report using Slather

I'm generating a code coverage report in Xcode 7.3 using Slather

slather coverage --show --scheme SchemaName --workspace WorkspaceName.xcworkspace ProjectName.xcodeproj

The problem is that, it generates the report for some of the Foundation class files as well. I want to generate report consisting only project files.

enter image description here

like image 808
Ankita Avatar asked Jan 29 '26 23:01

Ankita


1 Answers

You need to ignore those explicitly. Add --ignore '../*' to ignore everything outside of the root folder, for example. This will catch all of those.

like image 82
bkbeachlabs Avatar answered Jan 31 '26 20:01

bkbeachlabs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!