Implementing Unit Testing with iOS

后端 未结 9 1040
轮回少年
轮回少年 2020-12-04 10:40

I\'ve followed this tutorial to setup unit testing on my app when I got a little stuck.

At bullet point 8 in that tutorial it shows this image, which is what I shou

9条回答
  •  無奈伤痛
    2020-12-04 11:20

    Menu: Project --> New Build Phase --> New RunScript Build Phase --> Paste the following into the empty text area:

    "${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" 1> /tmp/RunUnitTests.out

    Now try to build and you should get an error on failed unit tests.

提交回复
热议问题