At this moment I am working on creating an environment for unit-testing on my job, and it seems there is a lack of mocking libraries (like OCMock in Objective-C), which makes writing tests even harder. This problem, if I understand correctly, has own reasons, but the need to test Swift code still exists, so I would be happy to hear about your experience: how you write unit-tests, what approaches, libraries, tools you use, etc.
As for me, I see only two solutions: writing mocks manually and using SwiftyMocky. The first one seems to lead to boilerplate, the second one increases complexity of environment, including generated source files, adding scripts to start it, problems while working with pods, etc. In other words, now I have not found anything suitable enough
Thank you in advance!