log4Net issues with NUnit (Tried v2.5.7, 2.5.2, 2.4.8, 2.4.7)

人盡茶涼 提交于 2019-12-01 19:56:51

One solution (although pretty disruptive and not solving the root issue) would be to have your production assembly talk to an interface that wraps the SimplyAccount SDK instead of talking directly to it. Then your production code doesn't need to reference the SDK dll and you could test it freely by passing in a fake imlementation of the interface you created.

This has the design benefit of being decoupled from that SDK, but like I said, it could be quite disruptive to your codebase.

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