10000 Fix a test failure occurred in Xcode 9 beta by ikesyo · Pull Request #730 · Quick/Quick · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix a test failure occurred in Xcode 9 beta #730

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

Merged
merged 3 commits into from
Jul 28, 2017
Merged

Conversation

ikesyo
Copy link
Member
@ikesyo ikesyo commented Jul 28, 2017

Use XCTestRun.totalFailureCount instead of failureCount. It seems that in Xcode 9, unexpectedExceptionCount (and thus totalFailureCount) collects desired failure count.

https://developer.apple.com/documentation/xctest/xctestrun/1449657-totalfailurecount#

The total number of test failures and uncaught exceptions recorded during the run.

ikesyo added 2 commits July 28, 2017 14:04
Use `XCTestRun.totalFailureCount` instead of `failureCount`. It seems that in Xcode 9, `unexpectedExceptionCount` (and thus `totalFailureCount`) collects desired failure count.
@modocache
Copy link
Member

LGTM. Does that mean that master branch tracks the latest Xcode 9 beta?

@ikesyo
Copy link
Member Author
ikesyo commented Jul 28, 2017

Thanks @modocache!

Does that mean that master branch tracks the latest Xcode 9 beta?

Not necessarily. I'm trying to support both Xcode 8.3 and Xcode 9 for now.

@ikesyo ikesyo merged commit 5966bb5 into master Jul 28, 2017
@ikesyo ikesyo deleted the xcode9-fix-test-failure branch July 28, 2017 17:21
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

Successfully merging this pull request may close these issues.

2 participants
0