Top "Xctestcase" questions

The primary class for defining test cases, test methods, and performance tests for iOS and Mac OS development.

How to run one-time setup code before executing any XCTest

I have the following problem. I want to execute a piece of code before all test classes are executed. For …

ios swift xctest xctestcase
XCTestCase to check if a method is called within a Struct

I am trying to test a piece of code where I check to see if an account has already created …

ios swift struct xctest xctestcase
XCTestCase: Wait for app to idle

My UI-test fails because the test waits endless until the app idles. I can not see that there is anything …

ios xcode7 xcode-ui-testing xctestcase