Getting start with OCMock in you unit test

来源:互联网 发布:小米5怎么设置4g网络 编辑:程序博客网 时间:2024/05/14 05:05
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!

0 0
原创粉丝点击