DEV Community

Discussion on: Why write unit tests

Collapse
 
benchambule profile image
Benjamim Chambule

I totally agree with you. But I know a lot of people who would rather debug during development and/or if something is broken than writing a test. Specially when one is maintaining legacy code which was not built with unit tests in mind.

Collapse
 
jmcp profile image
James McPherson

That's an opportunity to bring things (and people) in from the cold. It's a mindset shift, but one which makes us better programmers/developers/engineers. That in turn means that we've got a "layer 8" problem - and that's where our person-to-person abilities need to be brought to bare.