It’s time to make a new project. Follow Create a Place to Play with Tests, but use the project name LoadViewControllers. Then delete the initial test file for this project, LoadViewControllersTests.swift.
There’s no need to apply the techniques from Chapter 4, Take Control of Application Launch to bypass the app delegate. That’s important to do in real code, but we’re just experimenting here. (But if you want the practice, go for it.)
With this project skeleton in place, we can set up a particular style of view controller, then learn how to load it from unit tests. We’ll do this for storyboards, XIB files, and code-based view controllers.