GCD

6 01, 2017

Testing Asynchronous Code in Swift 3

By | 2017-01-15T12:16:22+00:00 January 6th, 2017|Swift Programming|0 Comments

Hey, Charles Nyisztor here,
and I welcome you to this new video on Swift 3 programming. In this video, I am going to show you two ways to test asynchronous code using XCode 8 and Swift 3.

Testing your code is important.
The presence of unit tests shows that you really care about the quality of your code. High test coverage indicates that you’ll have less bugs to be fixed, and your codebase is easier to maintain.
 Testing asynchronous code used to be challenging. Developers had to use all kind of workarounds and 3rd party frameworks to implement unit tests for [...]