@@ -22,7 +22,7 @@ and the end of our journey with this To-Do app and its tests.
2222Let's recap our test structure so far:
2323
2424* We have a suite of "functional tests" that use Selenium to test that the whole app really works.
25- On several occations , the FTs have saved us from shipping broken code,
25+ On several occasions , the FTs have saved us from shipping broken code,
2626 whether it was broken CSS, a broken database due to filesystem permissions, or broken email integration.
2727
2828* And we have a suit of "unit tests" that use Django's test client,
@@ -220,7 +220,7 @@ Anything longer than a few seconds and you're going to let your attention wander
220220you context-switch, and the flow state is gone.
221221And the flow state is a fragile dream.
222222Once it's gone, it takes a long time to come back.footnote:[
223- Some people says it takes at least 15 minutes to get back into the flow state.
223+ Some people say it takes at least 15 minutes to get back into the flow state.
224224In my experience, that's overblown,
225225and I sometimes wonder if it's thanks to TDD.
226226I think TDD reduces the cognitive load of programming.
@@ -274,7 +274,7 @@ Functional/End-to-end tests::
274274
275275
276276Integration tests::
277- The purpose of an integration tests should be to checks that the code
277+ The purpose of integration tests should be to check that the code
278278 you write is integrated correctly with some "external" system or dependency.
279279
280280
@@ -561,7 +561,7 @@ What that's meant is that some of the more advanced uses of TDD,
561561particularly the interplay between testing and architecture,
562562have been beyond the scope of this book.
563563
564- But I hope that this chapter has been a bit a guide to find your way
564+ But I hope that this chapter has been a bit of a guide to find your way
565565around that topic as your career progresses.
566566
567567
0 commit comments