|
|
|
|
|
by cratermoon
1726 days ago
|
|
At one place I consulted, the fte lead ignored flaky tests and attributed failures to the tests being wrong. A few months later... The code that was failing intermittently was found to be using floating point types for money. Yeah, I'm gonna wanna fix that. |
|
1. Fix the test
2. Fix the code that is being tested
3. Say "well we don't need this software to be reliable anyways so let just stop running tests"
But many places seem to adopt hidden option #4 "Run the tests and ignore failures"
A related issue is dialing the tunables for warnings up to 11 and then not reading any of the warnings. Once I saw a case where the build generated 1000s of warnings. Found a bug and said "this would be flagged as a warning even with relatively low warning settings" sure enough it was.
Obviously fixing warnings is good, but if they had just lowered the warning setting to be something reasonable, they would have had maybe 10 warnings total, one of which was a bug, which is a lot more useful than 1000s of warnings, at least one of which was a bug.