-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
Quick tests are not executed when there are some XCTestCase
tests in the target
#1190
Open
1 task done
Comments
I'm also facing the same issue. Are there any temporary workarounds? |
I've fully triaged it but what I've noticed is that within a mixed project (XCTest and Quick) swizzling doesn't work, hence no Quick tests are discovered: Quick/Sources/QuickObjectiveC/XCTestSuite+QuickTestSuiteBuilder.m Lines 41 to 44 in 16910e4
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you do?
I have some tests in my project written with Quick and some as
XCTestCase
. For some time they were working along each other just fine, but now whenever I run test target onlyXCTestCase
ones are being executed. If I comment allXCTestCase
tests,Quick
tests are being executed as expected.What did you expect to happen?
XCTestCase
andQuick
tests to be executed along each other.What actually happened instead?
Only
XCTestCase
are being executed when both types are present.Environment
List the software versions you're using:
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
Project that demonstrates the issue
https://github.com/tomekfab/quickandnormaltests (Quick and Nimble are added here with SPM but issue can still be observed)
The text was updated successfully, but these errors were encountered: