3 ms·
Yea, I've seen this get carried away even by just individual team members. My personal favorite was tests that a team member introduced for an object that had
by kevin_nisbet 3y ago
Yea, I've seen this get carried away even by just individual team members.
My personal favorite was tests that a team member introduced for an object that had all the default runtime parameters in it. Think like how long should a timeout be by default, before getting overridden by instance specific settings. This team member introduced a test that checked that each value was the same as it was configured to.
So if I wanted to update or add a default, I had to write it in two places, the actual default value, and the unit test that checked if the defaults were the same as the test required.