In this chapter, we'll explore the fundamentals of testing and debugging and see how we can use the excellent tools already built into Xcode to achieve this.
We'll learn how to incorporate XCTest into our Recipe app for both UI and Unit Test and then go on to write our very own test that we can run against our project.
Finally, we'll cover debugging and how we can stop the process of our app in real-time and use certain tools and commands to inspect elements right within Xcode.
The following topics will be covered in this chapter:
- Creating our first UI test project and tests
- Creating our first Unit Test project and tests
- Debugging in SwiftUI