iOS Unit Testing by Example: Disable UI Tests (page 5)

The unit test does indeed run fast. But running the UI tests at the same time is slooooooow. Perhaps advise the reader to disable UI tests by control clicking on the AssertYourselfUITests and choosing “Disable ‘AssertYourselfUITests’” from the pop-up menu. Once I did this, the initial empty unit test ran almost instantly.

Yes, they do get in the way. Having a UI test target on new projects is new since I wrote the book. I plan to write a follow-up article describing how to remove them.

1 Like