Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.2k
Commitfec371b
authored
Pre-emptively prevent test fixtures from lingering global state (#616)
`count=2` is very effective at sniffing out global state/singletons that don't get unset properly by a test's cleanup.We started doing this at a previous employer and discovered all sorts of tests that were leaving global singleton artifacts around and other tests had started to depend on them... it took a while to untangle, but we were very glad once we finally got through it.1 parentaebc643 commitfec371b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments
Comments
(0)