Write Unit tests into an assembly or in a separate assembly?

后端 未结 5 790
轮回少年
轮回少年 2020-12-16 13:08

When writing unit tests, do you place your tests inside the assembly you wish to test or in a separate test assembly? I have written an application with the tests in classes

5条回答
  •  情歌与酒
    2020-12-16 13:20

    You can keep them in separate assemblies in the solution, and ILMerge them later for debugging, and don't ILMerge them for release.

提交回复
热议问题