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
The Xcode 14.3 have been released. It has updates in XCTests frameworks that fixes issues with testing async functions. (Deadlocks). It introduces a new way of waiting for expectations:
await fulfillment(of: [exp], timeout: 5)
Instead of:
wait(for: [exp], timeout: 5)
URL for tool's homepage
default
Provide a basic test case to validate the tool's functionality.
This test should compile.
import XCTest
class Tests: XCTestCase {
func test_async_waiting() async {
let exp = expectation(description: "Wait")
exp.fulfill()
await fulfillment(of: [exp], timeout: 5)
}
}
### Platforms where you need the tool
- [ ] Azure DevOps
- [X] GitHub Actions
### Runner images where you need the tool
- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] macOS 11
- [X] macOS 12
- [ ] Windows Server 2019
- [ ] Windows Server 2022
### Can this tool be installed during the build?
```bash
No
Tool installation time in runtime
~30 min
Are you willing to submit a PR?
I have no idea how to do it =)
The text was updated successfully, but these errors were encountered:
Tool name
Xcode
Tool license
default
Add or update?
Desired version
14.3
Approximate size
No response
Brief description of tool
The Xcode 14.3 have been released. It has updates in XCTests frameworks that fixes issues with testing async functions. (Deadlocks). It introduces a new way of waiting for expectations:
Instead of:
URL for tool's homepage
default
Provide a basic test case to validate the tool's functionality.
Tool installation time in runtime
~30 min
Are you willing to submit a PR?
I have no idea how to do it =)
The text was updated successfully, but these errors were encountered: