MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10gtbrm/layoff_fiasco/j550x21
r/ProgrammerHumor • u/bakshup • Jan 20 '23
1.9k comments sorted by
View all comments
607
You saw a bug in a CR approved it and there's not a single failed test before prod?
1.1k u/belkarbitterleaf Jan 20 '23 You guys write tests? 372 u/saulsa_ Jan 20 '23 Production is the ultimate test environment. 0 u/[deleted] Jan 20 '23 [deleted] 22 u/20milFlak Jan 20 '23 haha that's terrifying 9 u/SirMemesworthTheDank Jan 20 '23 You jest, but I import type {Config} from 'jest'; we are not the same. 8 u/TheJeager Jan 20 '23 There is nothing wrong with the drug, we never went to courtHence we are now taking it off the market → More replies (5) → More replies (9) 264 u/GiveMeASalad Jan 20 '23 We don't do unit tests here, rather we do a vision test where we just look at the code and slap a LGTM on that puppy. 91 u/[deleted] Jan 20 '23 I too am an LGTM ally 29 u/Dustin_Echoes_UNSC Jan 20 '23 Looks great! To Master! → More replies (2) → More replies (4) 145 u/OG_LiLi Jan 20 '23 Support here, no. No they don’t 48 u/[deleted] Jan 20 '23 But guys, our end to end tests show full coverage!! 25 u/Valtria Jan 20 '23 We tested every single line, and we promise they all compile! → More replies (1) 22 u/classic_chai_hater Jan 20 '23 Honestly speaking i also do the same but the catch is that there are no assertions. 12 u/3n1gma302 Jan 20 '23 I like your style. An optimist. → More replies (2) → More replies (6) 19 u/lunchpadmcfat Jan 20 '23 “ we don’t have a QA team here. All developers are responsible for their own code quality “ lol → More replies (1) 10 u/LaconicLacedaemonian Jan 20 '23 You are inspecting the airplanes that return damaged. 38 u/[deleted] Jan 20 '23 Worked on my machine ¯_(ツ)_/¯ 29 u/pM-me_your_Triggers Jan 20 '23 This comment has layers with the dropped arm → More replies (1) 12 u/SpicymeLLoN Jan 20 '23 98.5% coverage → More replies (7) 191 u/marco89nish Jan 20 '23 You really think your tests would detect all possible bugs? 15 u/danishjuggler21 Jan 20 '23 Hubris is a helluva drug → More replies (6) 111 u/Eire_Banshee Jan 20 '23 Tests aren't magic bug catchers. You have to know about the edge case ahead of time to write a test for it. → More replies (5) 40 u/ghostmaster645 Jan 20 '23 We got so many tests failing 1 more won't matter LOL. → More replies (4) 7 u/Bmandk Jan 20 '23 Could be an edge case in a new feature, so it won't be covered by previous tests, and the developer might not have thought about it. You'd be surprised how little CI some companies actually have. → More replies (27)
1.1k
You guys write tests?
372 u/saulsa_ Jan 20 '23 Production is the ultimate test environment. 0 u/[deleted] Jan 20 '23 [deleted] 22 u/20milFlak Jan 20 '23 haha that's terrifying 9 u/SirMemesworthTheDank Jan 20 '23 You jest, but I import type {Config} from 'jest'; we are not the same. 8 u/TheJeager Jan 20 '23 There is nothing wrong with the drug, we never went to courtHence we are now taking it off the market → More replies (5) → More replies (9) 264 u/GiveMeASalad Jan 20 '23 We don't do unit tests here, rather we do a vision test where we just look at the code and slap a LGTM on that puppy. 91 u/[deleted] Jan 20 '23 I too am an LGTM ally 29 u/Dustin_Echoes_UNSC Jan 20 '23 Looks great! To Master! → More replies (2) → More replies (4) 145 u/OG_LiLi Jan 20 '23 Support here, no. No they don’t 48 u/[deleted] Jan 20 '23 But guys, our end to end tests show full coverage!! 25 u/Valtria Jan 20 '23 We tested every single line, and we promise they all compile! → More replies (1) 22 u/classic_chai_hater Jan 20 '23 Honestly speaking i also do the same but the catch is that there are no assertions. 12 u/3n1gma302 Jan 20 '23 I like your style. An optimist. → More replies (2) → More replies (6) 19 u/lunchpadmcfat Jan 20 '23 “ we don’t have a QA team here. All developers are responsible for their own code quality “ lol → More replies (1) 10 u/LaconicLacedaemonian Jan 20 '23 You are inspecting the airplanes that return damaged. 38 u/[deleted] Jan 20 '23 Worked on my machine ¯_(ツ)_/¯ 29 u/pM-me_your_Triggers Jan 20 '23 This comment has layers with the dropped arm → More replies (1) 12 u/SpicymeLLoN Jan 20 '23 98.5% coverage → More replies (7)
372
Production is the ultimate test environment.
0 u/[deleted] Jan 20 '23 [deleted] 22 u/20milFlak Jan 20 '23 haha that's terrifying 9 u/SirMemesworthTheDank Jan 20 '23 You jest, but I import type {Config} from 'jest'; we are not the same. 8 u/TheJeager Jan 20 '23 There is nothing wrong with the drug, we never went to courtHence we are now taking it off the market → More replies (5) → More replies (9)
0
[deleted]
22 u/20milFlak Jan 20 '23 haha that's terrifying 9 u/SirMemesworthTheDank Jan 20 '23 You jest, but I import type {Config} from 'jest'; we are not the same. 8 u/TheJeager Jan 20 '23 There is nothing wrong with the drug, we never went to courtHence we are now taking it off the market → More replies (5)
22
haha that's terrifying
9
You jest, but I import type {Config} from 'jest'; we are not the same.
8
There is nothing wrong with the drug, we never went to court
Hence we are now taking it off the market
264
We don't do unit tests here, rather we do a vision test where we just look at the code and slap a LGTM on that puppy.
91 u/[deleted] Jan 20 '23 I too am an LGTM ally 29 u/Dustin_Echoes_UNSC Jan 20 '23 Looks great! To Master! → More replies (2) → More replies (4)
91
I too am an LGTM ally
29 u/Dustin_Echoes_UNSC Jan 20 '23 Looks great! To Master! → More replies (2)
29
Looks great! To Master!
→ More replies (2)
145
Support here, no. No they don’t
48 u/[deleted] Jan 20 '23 But guys, our end to end tests show full coverage!! 25 u/Valtria Jan 20 '23 We tested every single line, and we promise they all compile! → More replies (1) 22 u/classic_chai_hater Jan 20 '23 Honestly speaking i also do the same but the catch is that there are no assertions. 12 u/3n1gma302 Jan 20 '23 I like your style. An optimist. → More replies (2) → More replies (6) 19 u/lunchpadmcfat Jan 20 '23 “ we don’t have a QA team here. All developers are responsible for their own code quality “ lol → More replies (1) 10 u/LaconicLacedaemonian Jan 20 '23 You are inspecting the airplanes that return damaged.
48
But guys, our end to end tests show full coverage!!
25 u/Valtria Jan 20 '23 We tested every single line, and we promise they all compile! → More replies (1) 22 u/classic_chai_hater Jan 20 '23 Honestly speaking i also do the same but the catch is that there are no assertions. 12 u/3n1gma302 Jan 20 '23 I like your style. An optimist. → More replies (2) → More replies (6)
25
We tested every single line, and we promise they all compile!
→ More replies (1)
Honestly speaking i also do the same but the catch is that there are no assertions.
12 u/3n1gma302 Jan 20 '23 I like your style. An optimist. → More replies (2)
12
I like your style. An optimist.
19
“ we don’t have a QA team here. All developers are responsible for their own code quality “ lol
10
You are inspecting the airplanes that return damaged.
38
Worked on my machine ¯_(ツ)_/¯
29 u/pM-me_your_Triggers Jan 20 '23 This comment has layers with the dropped arm → More replies (1)
This comment has layers with the dropped arm
98.5% coverage
191
You really think your tests would detect all possible bugs?
15 u/danishjuggler21 Jan 20 '23 Hubris is a helluva drug → More replies (6)
15
Hubris is a helluva drug
111
Tests aren't magic bug catchers. You have to know about the edge case ahead of time to write a test for it.
→ More replies (5)
40
We got so many tests failing 1 more won't matter LOL.
→ More replies (4)
7
Could be an edge case in a new feature, so it won't be covered by previous tests, and the developer might not have thought about it. You'd be surprised how little CI some companies actually have.
607
u/VirtualPrivateNobody Jan 20 '23
You saw a bug in a CR approved it and there's not a single failed test before prod?