Automated Testing in Xcode

Automated Testing in Xcode

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 32m | 424 MB

Implementing automated testing practices in your Xcode projects can help you collaborate with your colleagues more efficiently, speed up your development time, and reduce bugs. In this course, instructor Ron Buencamino dives into the topic of automated testing, with a focus on unit tests and user interface (UI) tests in Xcode. After Ron goes over the basics of unit and UI tests—including why automated testing is important—he covers unit tests, explaining how to create test targets; write, run, and debug tests; and mock HTTP response data. He then moves on to UI testing, discussing UI recording, code coverage, and how to write UI tests.

Topics include:

  • What are unit and UI tests?
  • Unit tests in Xcode
  • Creating test targets
  • Running tests
  • Debugging tests
  • Writing UI tests
  • Code coverage
Table of Contents

Introduction
1 Welcome
2 What you should know
3 Using the exercise files

Introduction to Automated Testing
4 What are unit tests
5 Unit testing basics
6 What are UI tests

Unit Tests in Xcode
7 Creating test targets
8 Writing and running tests
9 Debugging tests
10 HTTP requests and XCTExpectation
11 Mocking HTTP response data

User Interface Testing
12 Writing UI tests
13 UI recording
14 Measuring performance
15 Code coverage

Conclusion
16 What’s next