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
Copy file name to clipboardExpand all lines: Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/03-SyncUpForm/TestingSyncUpForm.tutorial
+1-1
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@
101
101
}
102
102
103
103
There are two ways one can fix this test. You can use the library's "non-exhaustive" testing
104
-
tools (see <doc:Testing#Non-exhaustive-testing> for more info), which allows you to assert
104
+
tools (see <doc:TestingTCA#Non-exhaustive-testing> for more info), which allows you to assert
105
105
on only the bits of state you care about. That can be handy, but we don't feel it is
106
106
appropriate in such a simple feature like `SyncUpForm`. We think non-exhaustive testing is
107
107
best saved for testing the integration of features, and that exhaustive testing is best for
Copy file name to clipboardExpand all lines: Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/04-PresentingSyncUpForm/TestingSyncUpFormPresentation.tutorial
+1-1
Original file line number
Diff line number
Diff line change
@@ -211,7 +211,7 @@
211
211
This means in non-exhaustive test stores you do not have make any mutations in the trailing
212
212
closure if you do not want to. And anything you _do_ set in the trailing closure must match
213
213
what was already there in order for the test to pass. See the dedicated article
214
-
<doc:Testing#Non-exhaustive-testing> for more information.
214
+
<doc:TestingTCA#Non-exhaustive-testing> for more information.
215
215
216
216
@Step {
217
217
Emulate the user making edits to the sync-up, but again do not provide a trailing closure.
Copy file name to clipboardExpand all lines: Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/03-TestingPresentation/02-03-TestingPresentation.tutorial
+2-2
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
as the reducer that is being tested.
26
26
27
27
> Note: See <doc:01-03-TestingYourFeature> for a tutorial on testing, as well as the article
0 commit comments