MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/90ew6o/every_time/e2qpcgd/?context=3
r/ProgrammerHumor • u/kajri • Jul 20 '18
749 comments sorted by
View all comments
Show parent comments
22
Which proves that this "testing" fad is not reliable enough for real business.
11 u/rangeDSP Jul 20 '18 If your testing can't catch errors like these it implies that at least one of the following is truel:The tests are badly writtenThe code isn't easily testableif(2==true), then there are messy dependency issues in the code 1 u/squngy Jul 20 '18 if(2==true), then there are messy dependency issues in the codejavascript: I don't get it... 1 u/rangeDSP Jul 20 '18 Actually that would've been fine in JavaScript, didn't want to go into truthy or falsey debate, your linter would complain though 😛
11
If your testing can't catch errors like these it implies that at least one of the following is truel:
The tests are badly written
The code isn't easily testable
if(2==true), then there are messy dependency issues in the code
1 u/squngy Jul 20 '18 if(2==true), then there are messy dependency issues in the codejavascript: I don't get it... 1 u/rangeDSP Jul 20 '18 Actually that would've been fine in JavaScript, didn't want to go into truthy or falsey debate, your linter would complain though 😛
1
javascript: I don't get it...
1 u/rangeDSP Jul 20 '18 Actually that would've been fine in JavaScript, didn't want to go into truthy or falsey debate, your linter would complain though 😛
Actually that would've been fine in JavaScript, didn't want to go into truthy or falsey debate, your linter would complain though 😛
22
u/dododindon Jul 20 '18
Which proves that this "testing" fad is not reliable enough for real business.