Adding unit tests to an existing code base
At some point we all probably worked on an inherited code base where maintenance or adding new features can be difficult. A good approach for this situation is refactoring the code, breaking it into smaller pieces, making it easier to understand and maintain. However, as it is with every refactor, ...