Hey everyone,
I'm looking to refine our unit testing approach for ViewControllers in our iOS applications. We're currently using XCTest, but I feel there are areas we can improve, especially around mocking dependencies and asserting UI states.
What are your favorite strategies for:
- Mocking networking calls and data managers?
- Testing user interactions and navigation flows?
- Asserting dynamic UI elements and states?
Any insights or favorite libraries would be greatly appreciated!