How do I get developers to treat test code as "real" code?
- by womp
In the last two companies I've been at, there is an overriding mentality among developers that it's okay to write unit tests in a throw-away style. Code that they would never write in the actual product suddenly becomes OK in the unit tests. I'm talking
Rampant copying and pasting between tests
Code styling rules not followed
Hard-coded magic…