阅读背景:

如何正确模拟和单元测试

来源:互联网 

I'm basically trying to teach myself how to code and I want to follow good practices. There are obvious benefits to unit testing. There is also much zealotry when it comes to unit-testing and I prefer a much more pragmatic approach to coding and life in general. As context, I'm currently writing my first "real" application which is the ubiquitous blog engine using asp.net MVC. I'm loosely following the MVC Storefront architecture with my own adjustments. As such, this is my first real foray into mocking objects. I'll put the code example at the end of the question.I'm basically trying to teach myself how to cod




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: