OcMock vs OcMockito - what are the pros and cons

For testing iOS tdd / bullying what structure would you recommend? I heard that OcMock has been longer and weighs more. Can someone provide some examples of the pros and cons or a demonstration of some of the advantages of each. I'm just looking for a standard fake framework, but I would like to know all the disadvantages / advantages of each of them.

+6
source share
1 answer

Sorting already exists at http://www.objc.io/issue-15/mocking-stubbing.html

It basically boils down to:

OCMock has much more functionality than OCMockito, which, depending on your personal preferences, can be an advantage or a disadvantage.

Both are installed through CocoaPods, so they are easy to integrate with your existing test setup.

I'm new to iOS testing, so I just leave it here to point someone in the right direction until someone else provides a more complex answer.

+7
source

Source: https://habr.com/ru/post/984016/


All Articles