-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Missing required module 'Testing' when trying to run UI Tests #1157
Comments
Hello, I have also experienced this issue. I have created a new repository to demonstrate the configuration and build error. https://github.com/fraune/IssueDemo1157 I hope this helps :) |
Hi! Also ran into this issue. Downgrading to 13.4.0 seems to work for me. It also looks like this is a similar issue with a possible fix: pointfreeco/swift-snapshot-testing#901 (reply in thread) |
I agree with @Primecutz that 13.4.0 is the latest version that works. |
This should now be fixed with the just-released 13.6.0 version of Nimble. |
What did you do?
I tried to run my UI tests.
What did you expect to happen?
I expected them to run.
What actually happened instead?
The build fails and tells me "Missing required module 'Testing'". I created a simple UI test for my app not using Nimble matchers, when I run the test without importing Nimble, the test runs and passes as expected. When I import Nimble, it fails with the error above.
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:
We also use CocoaPods, but not for Quick or Nimble, just in case it matters.
Project that demonstrates the issue
'''
import Nimble
import XCTest
final class NimbleTestUITests: XCTestCase {
}
'''
Thank you for looking at this! I have included a screenshot below as well, from a different project:
The text was updated successfully, but these errors were encountered: