Appdevcon 2017

Test the Heck out of your Swift Code

Are you testing your Swift code? Are you able to get a decent coverage of your project? Testing is not a hipster trend, but a tool for increasing productivity (Yes, I mean that!) and reducing risk. So if you are not fully happy with your tests or you aren’t testing yet, I think that it is worth spending some time to improve that.

In this hands on session we will be writing code for a sample app. We will start with how to write unit tests and cover many of the pain points of unit testing and how to do that in Swift
– What do I test?
– How do I test that?
– Why do I need test doubles?
– What kind of test doubles can I use?
– How do I implement them in Swift?
– Even a little bit about architecture and how it helps testing.
I “assert” that this session is going to be awesome. Will you join me to make the test pass?

Date: 16 March 2017    

Related videos