Nimble icon indicating copy to clipboard operation
Nimble copied to clipboard

Add support for async/await

Open tahirmt opened this issue 2 years ago • 3 comments

  • [x] I have read CONTRIBUTING and have done my best to follow them.

What did you do?

I think we should add support for swift Concurrency framework (async/await) especially now that it has been back deployed to iOS 13 and macOS 10.15.

Environment

List the software versions you're using:

  • Quick: 3.0.0
  • Nimble: 9.0.0
  • Xcode Version: 13.2 (13C90) (Open Xcode; In menubar: Xcode > About Xcode)
  • Swift Version: Xcode Default (Open Xcode Preferences; Components > Toolchains. If none, use Xcode Default.)

Please also mention which package manager you used and its version. Delete the other package managers in this list:

  • Swift Package Manager 5.5.0 (swiftpm-???) (Use swift build --version in Terminal)

tahirmt avatar Dec 09 '21 04:12 tahirmt

Closing this since we already have https://github.com/Quick/Quick/issues/1084

tahirmt avatar Dec 09 '21 04:12 tahirmt

I think this could stay open as Nimble would also need its own changes to properly support swift concurrency. For example expect(...) doesnt support being passed an awaiting function call.

CraigSiemens avatar May 18 '22 04:05 CraigSiemens

That’s a good point. I’ll reopen.

tahirmt avatar May 18 '22 09:05 tahirmt

This was addressed in https://github.com/Quick/Nimble/pull/1004!

younata avatar Oct 22 '22 18:10 younata