SlatherOrg / slather

Generate test coverage reports for Xcode projects & hook it into CI.
MIT License
1.56k stars 237 forks source link

Files being sent to Coveralls #143

Open heitortsergent opened 8 years ago

heitortsergent commented 8 years ago

I'm getting a different behaviour when running slather locally and with the Travis CI -> Coveralls integration. When running slather coverage -s locally I get this output with my project:

Slathering...
KeenClient/HTTPCodes.m: 11 of 180 lines (6.11%)
KeenClient/KeenClient.m: 455 of 679 lines (67.01%)
KeenClient/KeenConstants.m: 0 of 0 lines (100.00%)
KeenClient/KeenProperties.m: 8 of 8 lines (100.00%)
KeenClient/KIODBStore.m: 438 of 609 lines (71.92%)
KeenClient/KIOQuery.m: 19 of 32 lines (59.38%)
Test Coverage: 61.74%
Slathered

But when integrating with Travis CI and sending the information to Coveralls by running slather at the end of the build process, Coveralls include other files such as:

Updating the . slather.yml file ignore section fixes most of it, but I was wondering if this is the expected behaviour or if it should actually behave just as it was running locally. (and then it might be something wrong with how I'm building the project)

neonichu commented 8 years ago

Personally haven't seen this divergence, but sounds more like a bug than a misconfiguration to me.