Testing completion handler code with Swift Testing

Veröffentlicht am: 18 Oktober 2024
auf dem Kanal: donny wals
561
10

Level up your concurrency skills with my book: https://practicalswiftconcurrency.com/

Or join one of my workshops: https://www.donnywals.com/workshops/

Find the blog post for this video here: https://www.donnywals.com/testing-com...

In this video, I dive into an interesting challenge I faced while updating my Swift Concurrency book, specifically when converting tests from XCTest to Swift Testing. While Apple’s migration guide offers solutions, I encountered a unique case involving a completion handler-based API that wasn’t fully addressed. Join me as I walk through how to handle this scenario, explain where I went wrong, and show how to use continuations to properly test asynchronous behavior in Swift.


Auf dieser Seite können Sie das Online-Video Testing completion handler code with Swift Testing mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer donny wals 18 Oktober 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 561 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!