Skip to content
Marek Fořt edited this page Aug 30, 2018 · 2 revisions

Actually not so much to say here 😊 We use unit tests to test usually services/managers and viewModels. Thanks to the fact that we "hide" all implementation behind protocols and we use simple protocol based DI, it's pretty easy to mock objects and dependencies. Also moving all the logic to VMs lets us test almost all the app features with unit tests 💪

You probably know a lot of useful tools for testing and mocking like Quick, Nimble, Kiwi and more. We realized using these tools means more problems than benefits for us, so we went back to vanilla XCTest 👴 It works well and it's easy and understandable.

So project is set up and ready for tests, but you won't find there any new ground-braking approach.