DEV Community

Discussion on: Things Nobody Told Me About Being a Software Engineer

Collapse
 
smallbellows profile image
Sara Given

When I'm assigned a bug and there's not unit test that covers it, the first thing I do is write the test that fails, and then go about fixing it. And usually along the way discover additional cases that would cause similar failure that hadn't been covered yet.