有没有开源的嘲弄框架类似TypeMock? [英] Is there any open source mocking framework resembling TypeMock?

查看:212
本文介绍了有没有开源的嘲弄框架类似TypeMock?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TypeMock是太贵了,像我这样的hobbist:)

起订量或RhinoMocks的下一个版本有听分析API没有计划,这是为什么?

编辑:这使功能,如:

  • 惩戒非虚方法和 属性(!)。
  • 嘲讽浏览器 环境。
  • 在简单的语法, 是不那么脆弱(和不具有去 槽mock对象)。
  • 惩戒静态方法 有时是有用的(大多在传统的方案中,涉及可怕的DateTime.Now)。
  • 更多 ..
解决方案
  

TypeMock为太贵   hobbist像我这样

这可能也过于昂贵,开发和发布是免费的。

TypeMock is too expensive for a hobbist like me :)

Moq or the next version of RhinoMocks have no plans on listening to the profiling API, why is that?

EDIT: This enables features such as:

  • Mocking non-virtual methods and properties (!).
  • Mocking browser environments.
  • simpler syntax which is less fragile (and not having to go trough mock objects).
  • Mocking static methods Sometimes is useful (Mostly in legacy scenarios, involving the dreaded DateTime.Now).
  • And more..

解决方案

TypeMock is too expensive for a hobbist like me

It's probably also too expensive to develop and release for free.

这篇关于有没有开源的嘲弄框架类似TypeMock?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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