Things I wish I knew before I started writing unit tests
How am I ever going to test this method? If you are like me, you probably asked yourself this question far too often. Because a method forces you to create an enormous test case, have lots of setup code, or worse, change production code to facilitate testing.
Experience level:
Beginner