New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to profdata file format #92
Conversation
|
Fix broken path
@sync thank you for the usage sample! |
right now it seems that:
|
Thank you for the feedback, I've been working on some improvements. I'll push the modifications in some hours. |
…te/slather into feature-temp-profdata * 'feature-temp-profdata' of https://github.com/viteinfinite/slather: Remove useless file Fix tests Remove useless files Fix unit tests Add more precise path handling Add scheme and ignore Export coverage base info into modules Fix coveralls_spec Minor fixes in spec_helper Re-add coveralls support Re-add coveralls support Add tests [WIP] Refactor interface of coverage_file [WIP] Add unit tests [WIP] Add experimental support to swift
Add JSON support to profdata format
This is cool -- I'll check it out this week! |
Fix whitespace issues
@marklarr Any update on this? |
* petester42-master: Add spec for framework coverage Fix llvm-cov path and add framework coverage
Built and installed the Gem from source. Using the Cobertura reporting now and recording it in Jenkins. Works great.
One thing I noticed is it has to be run from the source root, otherwise the rest of the tree is displayed on the report, regardless of the |
Hey @viteinfinite -- I was out on vacation for a couple weeks. I'll get to looking at this later this week! |
@viteinfinite Is this ready to be merged? It looks good to me. We just need to resolve the conflicts. |
@marklarr I can close this PR and submit a new one resolving the conflicts or you manually merge them. Either way, the work on the feature itself is completed. |
…te/slather into feature-temp-profdata * 'feature-temp-profdata' of https://github.com/viteinfinite/slather: Remove useless file Fix tests Remove useless files Fix unit tests Add more precise path handling Add scheme and ignore Export coverage base info into modules Fix coveralls_spec Minor fixes in spec_helper Re-add coveralls support Re-add coveralls support Add tests [WIP] Refactor interface of coverage_file [WIP] Add unit tests [WIP] Add experimental support to swift
@tarbrain thanks for your feedback. I totally agree with you. |
…pecs Update specs to test against profdata output instead of gcov
@tarbrain So here it is. These last commits modify the specs in order to test against the Also, a verbose mode ( Finally, platform headers, such as |
@viteinfinite Looks sweet. I would say we all give it a try and if nobody finds a bug I will merge it soon. Good work 🎉 |
Add support to profdata file format
@viteinfinite Its done! |
🎉🎉🎉 |
@tarbrain BTW, gem's not pushed yet? |
I can not push the gem since I do not belong to the developers at venmo. We should ask @marklarr or @ayanonagon again. |
@tarbrain Is your email the one listed on GitHub? If so I’ll add you as an owner to the gem. Thanks for helping us out. We really appreciate it! 😃 |
@ayanonagon @marklarr Thanks for adding me to the list. But please do not rely on me for maintaining this repository. I wont have the time. I am just one of the many professional slather users who are waiting for the important profdata feature and feel somewhat let down by the venmo developers. You have a big user base and you should take responsibility for that. Regards |
As a user, I do hope that the gem will be pushed soon. It has been quite a long wait. I've been holding off on publishing a blog post about getting Xcode 7 to play nice with Jenkins because I want my instructions for installing slather to be simply |
@tarbrain We’re very sorry for the wait. It’s clear that we haven’t done a great job in maintaining this project. The main issues are that nobody on the current iOS team is fluent in Ruby and also that we are not currently using this project in our own workflow. It’s unfair to make other developers wait because of us, so we apologize again for that. On a happier note, our friend @neonichu has graciously offered to pick up maintaining the project. As you might have noticed, we pulled it out into a separate GitHub organization as well. Anyway, Thanks! |
@ayanonagon never apologize for doing OpenSource and giving such a great tool to the community for free 😉 @neonichu thx for picking up on the project maintenance 🎉 |
Allright, created a milestone for 2.0 https://github.com/SlatherOrg/slather/milestones/2.0.0, once the things in there are addressed, we can |
@ayanonagon thanks for the update. |
@ayanonagon @neonichu |
Hey,
I'm adding experimental support to the profdata file format (i.e. the format used in Xcode 7 beta).
The current implementation calls
llvm-cov
and reads the subsequent output.Two new configuration parameters have been added:
scheme
: allows the selection of a scheme; it is used to find the folder containing the correct instrumentation datainput-format
: in case the value isprofdata
, Slather will look for the Coverage.profdata file inside the build directoryBranch information is not included at the moment as I still have to figure out how (and if) this information is actually included in the Coverage.profdata file.
Please feel free to discuss or inquiry about any implementation detail.