You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR: Should parallel execution of tests work (by choosing Xcode parallelization)?
I can provide a minimum working example but I guess it's not needed as this does not seem to be a setup-dependent issue. But here is how to reproduce, trying to achieve test execution:
In Xcode, choose „Edit Scheme…“ (be sure to select the right one)
select the „Test“ tab
Select „Options“
select „Execute in parallel (if possible)“
Try to run tests as usual
My observation:
Xcode will start a new emulator „Cone 1 […]“.
The app is built
Tests won't run
In the logs, you'll find this and only this:
DATE CucumberSwiftParallelUITests-Runner[7950:157096] Running tests...
XCode will show the following execution feedback:
PROJECT | Build Succeeded | Today at TIME
My expectation:
If you define two .feature Files and run tests in parallel as stated above, the two .feature files should be executed in parallel
The text was updated successfully, but these errors were encountered:
Short answer, yeah it should work. Can I get more information from you about what version of Xcode, CucumberSwift, and Swift you are using? Unfortunately Apple doesn't provide very good tie-ins to XCTest for this so, like many other libraries, I've got some swizzling happening to try and support parallel test execution and inject the Cucumber tests.
This is a bit of a tricky feature since that's prone to break with new releases, and because it's so darn hard to write a test for.
Alright after further investigation parallel test execution is working for unit testing targets, not working for UI testing targets. I suspect there's another method I need to swizzle in order to support it, I'll leave this as an enhancement request.
TLDR: Should parallel execution of tests work (by choosing Xcode parallelization)?
I can provide a minimum working example but I guess it's not needed as this does not seem to be a setup-dependent issue. But here is how to reproduce, trying to achieve test execution:
My observation:
DATE CucumberSwiftParallelUITests-Runner[7950:157096] Running tests...
PROJECT | Build Succeeded | Today at TIME
My expectation:
If you define two
.feature
Files and run tests in parallel as stated above, the two.feature
files should be executed in parallelThe text was updated successfully, but these errors were encountered: