Unit testing is one of those tasks that all junior developers are assigned, especially when they first join an existing project. It is expected that they get familiar with the source code as soon as possible. The problem, though, is that the purpose of unit testing is to provide security and certainty over the stability of your code so you know it’s bug-free after you change it. Unit testing is not intended to help you understand a codebase. Furthermore, a junior developer entering a team is not the ideal person to write these tests. They don’t know the code or the features they’re testing, so how can they truly cover every use case and edge case?