iOS UI Testing Adding Test Files to Xcode Project

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

When creating the project

You should check "Include UI Tests" in the project creation dialog.

enter image description here

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

enter image description here



Got any iOS Question?