iOS 12 Development: Testing & Error Handling
iOS
| Beginner
- 13 videos | 1h 2m 54s
- Includes Assessment
- Earns a Badge
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.
WHAT YOU WILL LEARN
-
Create an enumeration to represent a set of related errors in an ios appThrow custom errors in a swift based ios 12 appUse a do/catch block to handle errors being thrownHandle errors internally in a methods body rather than propagate them furtherDecide which errors to throw and which handle internally in a methodConvert thrown errors into optional values when it makes sense to do soDisable error propagation in situations where we expect errors will not be thrown
-
Work with errors in methods that require error pointersUse the debugging features of xcode to find and fix bugs in an ios appCreate unit test targets and classes to support executing unit tests in an ios appExecute unit tests to validate app functionalityTest methods and operations that execute asynchronouslyCreate and throw errors in an ios app
IN THIS COURSE
-
2m 30sIn this video, you will learn how to create an enumeration to represent a set of related errors in an iOS app. FREE ACCESS
-
4m 12sIn this video, you will learn how to throw custom errors in a Swift based iOS 12 app. FREE ACCESS
-
5m 37sIn this video, you will use a try/catch block to handle errors being thrown. FREE ACCESS
-
5m 20sLearn how to handle errors internally in a method's body rather than propagate them further. FREE ACCESS
-
6m 8sDuring this video, you will learn how to decide which errors to throw and which to handle internally in a method. FREE ACCESS
-
2m 39sIn this video, you will learn how to convert thrown errors into optional values when it is sensible to do so. FREE ACCESS
-
4m 3sIn this video, find out how to disable error propagation in situations where we do not expect errors will be thrown. FREE ACCESS
-
3m 7sIn this video, you will work with errors in methods that require an error pointer. FREE ACCESS
-
9m 4sIn this video, you will learn how to use the debugging features of XCode to find and fix bugs in an iOS app. FREE ACCESS
-
4m 10sDuring this video, you will learn how to create unit test targets and classes to support executing unit tests in an iOS app. FREE ACCESS
-
7m 49sLearn how to execute unit tests to ensure app functionality. FREE ACCESS
-
5m 51sFind out how to test methods and operations that execute asynchronously. FREE ACCESS
-
2m 23sIn this video, you will learn how to create and throw errors in an iOS app. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.