painstakingly using all of my brain cells to navigate a huge code refactor and the tests all pass—immediately suspicious
Zach Leatherman 2727 replies 6767 likes11 repost Original on Bluesky27 replies
-
me?? specifically? 😅
-
why would you say something so immediately and easily disproven given the large body of open source code I have published without it also being 100% accurate?
Yep. You and only you. For sure not something that has ever happened to anything us ever.
*any of us ever
*backs away slowly*
My favorite when this happens is when I find the test *never* actually tested anything, sometimes for *years* 😂
-
Same same 😂
-
-
The IDE: Everything's fine.
The build: Everything's fine.
The tests: Everything's fine.
Me:Funny enough, code coverage for my tests recently helped me find an issue I didn't know we had. We were trying to read an unused array that was left behind.
my code coverage is more like swiss cheese
1200 tests passing and I still don’t trust it
-
look, if I’m hungry I’m gonna eat the snacks either way
That ain't right
this test suite is too green to be true
Nah. Dude. You’re good. Push it live. What’s the worst that could happen.
I thought you were the angel but now I suspect both of my shoulders have devils
-
ahahahha 🤣
imma eat that egg too those were good arguments
Why would all the tests pass if you weren’t supposed to push it to main?
-
What are these "tests" you speak of?
oh no
Turns out feature flag and your entire code path is untested. You'll find out at 2AM. As is tradition.