ios单元测试工程建立
方法2
Create Test Target
You’ll want to create a separate Test target. Select the project file for your app in the Project Navigator. From there, select the Add Target + symbol at the bottom of the window.
Select iOS, Application, Window-based Application. Select Next.