Using UI Tests to develop new functionality for our App seems so obvious now. I thought I’d need to do a lot of refactoring to make the App testable, but it turns out using an embedded web server in the test bundle was the right answer.