Jon Reid · @qcoding
641 followers · 314 posts · Server techhub.social

Man, I love the Construction Builder pattern for making test fixtures that vary.

#UnitTesting #microtesting

Last updated 2 years ago

Jon Reid · @qcoding
268 followers · 86 posts · Server techhub.social

Watched “iOS micro testing with ViewInspector, introduced by creator Alexey Naumov” youtu.be/ylGhs1Unz7c — a good intro to ViewInspector, the only tool for ! I learned:
- How Alexey came up with the idea
- Why certain inspectors need an index (confused me before)
- Alexey uses ViewInspector’s microtests to stay on top of underlying changes to SwiftUI

Since this interview, ViewInspector gained `find` so tests can be ignorant of view structure
@TheSwiftDojo

#microtesting #swiftui #tw

Last updated 2 years ago