How-to organize integration tests and unit tests

こ雲淡風輕ζ 提交于 2019-12-10 10:55:54

问题


Is it ok to have integration tests and unit tests in one assembly (project) ? Or rather have them separate ?


回答1:


Personally I prefer to put them into separate assemblies. During continuous integration builds it is easier to distinguish between them because tools can be configured to execute all tests in a given assembly and you could for example want to run only unit tests or only integration tests which might take more time.



来源:https://stackoverflow.com/questions/3922548/how-to-organize-integration-tests-and-unit-tests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!