How to start unit testing or TDD?

后端 未结 14 1847
离开以前
离开以前 2020-12-04 07:18

I read a lot of posts that convinced me I should start writing unit test, I also started to use dependency injection (Unity) for the sake of easier mocking, but I\'m still n

14条回答
  •  死守一世寂寞
    2020-12-04 07:38

    Read Pragmatic Unit Testing in C# with NUnit. It has comprehensive information about starting writing testes and structuring the code to make it more unit testing friendly.

提交回复
热议问题