Testing UIViewController Transitions with Quick and Swift
The examples below are using the Quick test framework, but the principals we're going to talk about can be used in any setup. We have some complicated logic further down our user registration flow. I want to make sure that the right UIViewControllers are appearing when they are supposed to. I've been reading a few different approaches on how to handle this. Below is where I've ended up, and I'm pretty happy with it. For simplicity's sake, I'm going to show how to test if the user has tapped "Login" or…