惩戒工具C#.NET的 [英] Mocking tools for c# on .NET
本文介绍了惩戒工具C#.NET的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
林新的C#/。NET。但是,我一直在做TDD相当长的一段时间了。我想那是什么,可用于在写测试,C3嘲讽对象的最佳框架
Im new to C#/.NET . But Ive been doing TDD for quite some time now. I wanted to what is the best framework that can be used for mocking objects while writing tests in c3
推荐答案
热门选项
- Rhino
- Moq
- TypeMock Isolator
起订量和犀牛都是常规的模拟/存根框架。 TypeMock隔离的情况比较特殊,因为它修改IL允许类型的嘲弄,你无法控制。有些人喜欢这个有很多。其他人觉得这是太冒昧。
Moq and Rhino are both regular mock/stub framework. TypeMock Isolator is a bit special, as it modifies the IL to allow mocking of types you have no control over. Some like this a lot. Others feel it is too intrusive.
这篇关于惩戒工具C#.NET的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文