Why mocking in iOS tests may not stop network and DB activity entirely
An excellent iOS test suite isfast, reliable, precise, and reproducible. A common problem that makes automated testing in iOS slow and flaky is the presence of unexpected side-effects and artifacts during the execution of unit tests.
For example, unexpected state/artifacts will make:
- Some tests fail after running the…