Adding Test Files to Xcode Project
suggest changeWhen creating the project
You should check “Include UI Tests” in the project creation dialog.
![](/essential/ios/img/12f7723faa7aa953ebc51fe02feadbc0f7301678.png)
After creating the project
If you missed checking UI target
while creating project, you could always add test target later.
Setps:
- While project open go to
File
->New
->Target
- Find
iOS UI Testing Bundle
![](/essential/ios/img/2a5deb8c697b78a19302e4d9814759b7c7aac14e.png)
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents