Oreilly - Testing in Xcode: Unit Testing, UI Testing, and Code Coverage
by Bill Mårtensson | Released July 2019 | ISBN: 9781484251928
Learn automatic testing in Xcode. Start by creating a simple test app that intentionally crashes in given scenarios. Then review the code to find obvious bad practices and issues. Discover why unit testing is important and perform a simple unit test. Work with test cases before adding functionality. Then increase code coverage and learn why it's important. Finally work with different parts of the app to test specific functionality. What You'll LearnSet up different UI tests for testing different parts of an appPerform simple unit test cases in a projectUse test cases before adding functionality to ensure quality appsWho This Video Is ForProfessional developers or experienced programmers who want to incorporate best practices for testing their apps before publishing them. Show and hide more Publisher resources Download Example Code
- Overview 00:01:31
- Build the App to be Tested 00:11:03
- Unit Testing 00:10:41
- Code Structure for Unit Testing 00:10:54
- Validating User Input 00:10:33
- Handling User Input Forms 00:05:13
- Code Coverage 00:05:58
- UI testing 00:10:56
- Error Labels 00:09:38
- Correcting the Test 00:06:34
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.