You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a lot of boilerplate, and it makes it harder to scan for the test intent.
48
48
49
-
[UpdateTestableView.swift](https://github.com/jonreid/TestableView/blob/main/UpdateTestableView.swift) provides an XCTestCase extension to take care of that boilerplate.
49
+
[InspectChangingView.swift](https://github.com/jonreid/TestableView/blob/main/InspectChangingView.swift) provides an XCTestCase extension to take care of that boilerplate.
50
50
51
51
## Adding it to your project
52
52
@@ -68,7 +68,7 @@ The new XCTestCase method relies on a TestableView type to define the hook for V
68
68
69
69
### Test code
70
70
71
-
1. Copy [UpdateTestableView.swift](https://github.com/jonreid/TestableView/blob/main/UpdateTestableView.swift) into your test code.
71
+
1. Copy [InspectChangingView.swift](https://github.com/jonreid/TestableView/blob/main/InspectChangingView.swift) into your test code.
72
72
2. Change the `YourModule` placeholder so it does an `@testable import` from the module that defines `TestableView`.
0 commit comments