开源/ Typemock隔离器的免费替代 [英] Open Source / Free alternative of Typemock Isolator

查看:297
本文介绍了开源/ Typemock隔离器的免费替代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Typemock隔离.NET 任何F / OSS的选择吗?

Is there any F/OSS alternative of Typemock Isolator .NET?

推荐答案

免责声明:我在Typemock工作

Typemock隔离器采用了CLR事件探查器API执行IL改写,从而使你假(模拟)静态方法和具体的类。据我所知,摩尔确实在使用Profiler来嘲笑那些东西方面类似的事情来隔离,而且是免费的(但不开源)。

Typemock Isolator utilizes the CLR Profiler API to perform IL rewriting, thus allowing you to fake (mock) static methods and concrete classes. As far as I know, Moles does similar things to Isolator in terms of using the Profiler to mock those things, and it's free (but not open source).

使用动态代理实现在运行时的接口和抽象类,因此,它们不能嘲笑密封/静态类的所有其他开源框架。

All other open source frameworks using the Dynamic Proxy to implement interfaces and abstract classes in runtime, therefore they cannot mock sealed/static classes.

这篇关于开源/ Typemock隔离器的免费替代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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