Gio Lodi 3/12/2019

Better tests for delegates

Read Original

This technical article discusses strategies for effectively testing delegate interactions in Swift, using examples like UITableViewDelegate. It explains how to use spy test doubles to track method calls and argues for focusing tests on behavioral outcomes rather than implementation details to create a more maintainable and refactor-friendly test suite.

Better tests for delegates

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser