iOS, Swift 3.0, Error Handling, try, Try-catch, Unit Tests, Unit-testing, Testing try-catch Blocks and Unit Tests - Swift 3.0 In the last post I wrote about implementing error handler in Swift 3.0 using try-catch block technique. In this post I will go over how to unit test it. Since we all
UI Testing, Testing, iOS, Tips, Tricks, Gotchas, UI Tests, Command Line, Terminal Running UI tests from command line Recently I ran into an interesting problem of writing UI tests. More interesting thing lied ahead when I had to run these tests on the command line. Here are some of the tips
Swift, Testing, Unit Tests, Unit-testing, Singleton, Xcode Swift - Testing singletons In this post we will see how you can test swift singletons easily. Disclaimer: I haven't discovered it myself, but I found it a while back on StackOverflow while looking for how to
Swift, Testing, Unit Tests, Unit-testing, Xcode, Tips, Protocols Swift testing with protocols In this post, we shall see how protocols work with unit testing. Say, you have a downloader class DownloadFileClass for fetching network data. It follows the protocol DownloadFileProtocol. The whole class and protocol
iOS, Testing, Unit Tests, Specta, OCMock, ViewController, ViewController Testing, Unit-testing iOS Testing - Input fields validation testing (Part 5) This is the part 5 in the series of articles on 'Unit Testing on iOS'. Below is the list of all articles and respective links to them. iOS Unit Tests - Testing models
iOS, Xcode, Testing, Unit Tests, Specta, Tutorial, Tips, Asynchronous, Async, Unit-testing iOS Testing - Testing asynchronous code (Part 4) This is the part 4 in the series of articles on 'Unit Testing on iOS'. Below is the list of all articles and respective links to them. iOS Unit Tests - Testing models
iOS, Xcode, Testing, Unit Tests, OCMock, Specta, Unit-testing iOS Unit Testing - Switching method implementations with OCMock (Part 3) This is the part 3 in the series of articles on 'Unit Testing on iOS'. Below is the list of all articles and respective links to them. iOS Unit Tests - Testing models
iOS, Objective-C, Unit Tests, Testing, Specta, OCMock, Unit-testing iOS Unit Testing - Testing View Controller (Part 2) This is the part 2 in the series of articles on 'Unit Testing on iOS'. Below is the list of all articles and respective links to them. iOS Unit Tests - Testing models
iOS, Objective-C, Unit Tests, Specta, OCMock, Expecta, Testing, Unit-testing iOS Unit Tests - Testing models creation (Part 1) This is the part 1 in the series of articles on 'Unit Testing on iOS'. Below is the list of all articles and respective links to them. iOS Unit Tests - Testing models