Skip to content
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

Get Rid of GcovTestObserver #394

Open
fabb opened this issue Oct 19, 2016 · 2 comments
Open

Get Rid of GcovTestObserver #394

fabb opened this issue Oct 19, 2016 · 2 comments

Comments

@fabb
Copy link

fabb commented Oct 19, 2016

XCTestObserver is deprecated, so another way should be found for unit tests. As far as I have understood this is just needed for generating unit test coverage reports, is that correct? In that case maybe the newer ways of Xcode can be used instead to generate that reports: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/07-code_coverage.html

@robertjpayne
Copy link
Member

@fabb is this still relevant after #392 merging?

@fabb
Copy link
Author

fabb commented Oct 31, 2016

Yes, actually #392 was the motivation for this issue. See line 500 in the travis build log: https://travis-ci.org/SnapKit/Masonry/builds/168862088#L500

⚠️  /Users/travis/build/SnapKit/Masonry/Tests/GcovTestObserver.m:11:31: 'XCTestObserver' is deprecated [-Wdeprecated-declarations]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants