Commit 2d34508
Devon Stewart
Exploratory commit to rough out what could constitute a useful test
I don't like this strategy, but I'm interested to see what codecov (and others) think about this approach.
I've basically just reimplemented the business logic in the test, but short of mocking out the whole git repo
in order to extract state, I'm not sure how best to represent what I'm trying to test.1 parent b68d179 commit 2d34508
File tree
3 files changed
+55
-19
lines changed- modules/core/src
- main/scala/org/scalasteward/core/nurture
- test/scala/org/scalasteward/core
- nurture
3 files changed
+55
-19
lines changedLines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | 158 | | |
171 | 159 | | |
172 | 160 | | |
173 | 161 | | |
174 | 162 | | |
175 | 163 | | |
176 | 164 | | |
177 | | - | |
178 | | - | |
| 165 | + | |
179 | 166 | | |
180 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
181 | 170 | | |
182 | 171 | | |
183 | 172 | | |
| |||
267 | 256 | | |
268 | 257 | | |
269 | 258 | | |
270 | | - | |
271 | | - | |
| 259 | + | |
272 | 260 | | |
273 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
274 | 264 | | |
275 | 265 | | |
276 | 266 | | |
| |||
295 | 285 | | |
296 | 286 | | |
297 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
298 | 298 | | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
45 | 74 | | |
0 commit comments