Overview/Description
Testing and error-handling are an important part of understanding the user experience. This course explores how iOS 12 apps should be built alongside a solid suite of tests to make them maintainable. Begin by learning how to set up tests for an iOS project and how to work with app errors. Next, devise an enumeration test to represent a set of related errors in an iOS app. Observe how to throw custom errors in a Swift based iOS 12 app. Use a do/catch block to handle thrown errors. Learn how to handle errors internally. Work with specific errors, error pointers, and optional value errors. Disable error propagation. Debug apps. Create and execute unit tests. Finally, set up asynchronous test methods.