其中C#的嘲弄框架需要.NET 4的最好的优势呢? [英] Which C# mocking framework takes best advantage of .NET 4?

查看:149
本文介绍了其中C#的嘲弄框架需要.NET 4的最好的优势呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会假设,.NET 4的更多的动态性将改善嘲讽的可能性。 (但我可能是错的)

I would assume that the more dynamic nature of .NET 4 would improve the possibility of mocking. (but I may be wrong)

有没有嘲笑那些利用.NET 4的框架? 如果是的话,这确实是最好的吗?

Are there mocking frameworks that take advantage of .NET 4? If yes, which does it best?

相反,在有嘲讽甚至不上.NET 4运行框架?

Conversely, are there mocking frameworks that do not even run on .NET 4?

推荐答案

我不认为任何框架,现在做到这一点。

I don't think any framework does this now.

如果我猜的话,我会投票给起订量。丹尼尔Cazzulino是先取优势在一个模拟框架新的LINQ语言特性。我没有看到任何更新特别提到了动态关键字,但我敢打赌,他思考它在这个非常时刻......

If I had to guess, I'd vote for Moq. Daniel Cazzulino was first to take advantage of the new linq language features in a mocking framework. I don't see any updates specifically mentioning the dynamic keyword, but I bet he's thinking about it at this very moment....

这篇关于其中C#的嘲弄框架需要.NET 4的最好的优势呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆