您的位置:首页 > 移动开发 > IOS开发

Getting start with OCMock in you unit test

2016-07-13 17:08 309 查看
1、Write pod file — Add pod into your project
Attention:OCMock need to be added to the test target

Then,install your pods


2、Set header search path in test target



3、Set other linker flag to -ObjC



4、You can start use OCMock in you unit test!

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  OCMock使用 iOS