Tests Pass After Refactoring
Me: *does major refactor* Tests: ✅ Me: I don't believe you Me: *deliberately breaks something, just to be sure* Tests: ✅ Me: oh no Me: *changes nothing* Tests: ❌ Me: oh no Me: *runs tests again* Tests: ✅ Me: oh no no no
A screenshot of a Twitter thread shows programmers reacting with increasing panic as automated tests pass after a major refactor, after deliberately breaking something, and even after changing nothing. The punchline is that passing tests are treated as suspicious when the developer no longer trusts the test suite.
- @right_wing_dev_squads / 5024 2022-10-02
- Template
- Twitter thread screenshot
- Type
- image
- Size
- 524×680 · 46.8 KiB
- Mood
- панический, саркастический
- Language
- en
- Added