|
33 | 33 |
|
34 | 34 | ---
|
35 | 35 |
|
36 |
| -## ...so that means, write a unit test, implement it |
| 36 | +## ...so that means, write a __unit__ test, implement it |
37 | 37 | 
|
38 | 38 |
|
39 | 39 | ---
|
|
42 | 42 |
|
43 | 43 | ---
|
44 | 44 |
|
| 45 | +## On __unit__ tests... |
| 46 | + |
| 47 | +--- |
| 48 | + |
45 | 49 | ## But there was a problem...
|
46 | 50 |
|
47 | 51 | ---
|
|
50 | 54 |
|
51 | 55 | ---
|
52 | 56 |
|
53 |
| -## So I got better at writing integration tests... |
| 57 | +## So I got better at writing __integration__ tests... |
54 | 58 |
|
55 | 59 | ---
|
56 | 60 |
|
57 | 61 | ## __Integration tests__ gave me confidence that __my classes worked together__ as I expected
|
58 | 62 |
|
59 | 63 | ---
|
60 | 64 |
|
| 65 | +## On __integration__ tests... |
| 66 | + |
| 67 | +--- |
| 68 | + |
61 | 69 | 
|
62 | 70 |
|
63 | 71 | ---
|
|
123 | 131 |
|
124 | 132 | ---
|
125 | 133 |
|
126 |
| -## Isn't that what QA is for? |
| 134 | +## Isn't that what __QA__ is for? |
127 | 135 | 
|
128 | 136 |
|
129 | 137 | ---
|
130 | 138 |
|
131 |
| -## QA has better things to do |
| 139 | +## They have __better__ things to do |
132 | 140 |
|
133 | 141 | ---
|
134 | 142 |
|
135 |
| -## They're great at finding edge cases |
| 143 | +## They're great at finding __edge cases__ |
136 | 144 | 
|
137 | 145 |
|
138 | 146 | ---
|
139 | 147 |
|
140 |
| -## The __acceptance test__ tells you when you're __done__... immediately |
| 148 | +## They're great at identifying __wonky__ behavior |
141 | 149 |
|
142 | 150 | ---
|
143 | 151 |
|
144 |
| -## We're starting to pair with QA on these tests |
| 152 | +## They should be your __last__ line of defense, __not your first__ |
145 | 153 |
|
146 | 154 | ---
|
147 | 155 |
|
148 | 156 | 
|
149 | 157 |
|
150 | 158 | ---
|
151 | 159 |
|
| 160 | +## The __acceptance test__ tells you when you're __done__... immediately |
| 161 | + |
| 162 | +--- |
| 163 | + |
152 | 164 | ## Pattern becomes:
|
153 | 165 | - Write the __acceptance test__ to know when the feature is done
|
154 | 166 | - Test drive the implementation with __unit__ and __integration specs__
|
|
245 | 257 |
|
246 | 258 | ---
|
247 | 259 |
|
248 |
| -## Not scoping |
| 260 | +## Not scoping your finders |
| 261 | + |
| 262 | +--- |
| 263 | + |
| 264 | +## Asynchronous code |
| 265 | + |
| 266 | +--- |
| 267 | + |
| 268 | +## Mixing setup and actions |
249 | 269 |
|
250 | 270 | ---
|
251 | 271 |
|
|
651 | 671 |
|
652 | 672 | ---
|
653 | 673 |
|
654 |
| -## How do I start doing this? |
| 674 | +## How do I start? |
655 | 675 |
|
656 | 676 | ---
|
657 | 677 |
|
|
0 commit comments