Testing completion handler code with Swift Testing

Publicado el: 18 octubre 2024
en el canal de: 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.


En esta página del sitio puede ver el video en línea Testing completion handler code with Swift Testing de Duración hora minuto segunda en buena calidad , que subió el usuario donny wals 18 octubre 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 561 veces y le gustó 10 a los espectadores. Disfruta viendo!