▲ | Night_Thastus 3 days ago | |
>Another thought... if I'm tasked with maintaining or adding features to existing code, should I feel responsible for writing tests for the existing codebase? Write tests for new additions to the code, when making major overhauls to sections of it, or when a bug is discovered that the old tests did not catch. Those are the 3 cases I would say you should add a test. #3 is most important, in my experience. |