How do you use Test-Driven Development for the view layer when there is no straightforward way to test SwiftUI views?

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Testing Static SwiftUI Views

  • Gio Lodi

摘要

How do you use Test-Driven Development for the view layer when there is no straightforward way to test SwiftUI views?