ReSharper 和 NUnit 的多个域 [英] ReSharper and NUnit's multiple domains

查看:67
本文介绍了ReSharper 和 NUnit 的多个域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近不得不在 ReSharper 中启用此选项:

I recently had to enable this option in ReSharper:

为每个带有测试的程序集使用单独的 AppDomain

Use separate AppDomain for each assembly with tests

查看 NUnit 文档,我怀疑上面的选项使用参数域/多个"执行 NUnit,为此为每个程序集创建一个单独的测试域".

Looking at the NUnit documentation, I suspect the option above executes NUnit with the parameter "domain/multiple", for which "a separate test domain is created for each assembly".

你能证实我这是真的吗?

Could you please confirm me that is true?

推荐答案

是的,这个选项对应于 /domain=Multiple 命令行参数.

Yes, this option corresponds to the /domain=Multiple command line parameter.

请注意,ReSharper 不使用控制台运行程序.相反,它直接链接 NUnit 程序集.

Note that ReSharper doesn't use the console runner. Instead it directly links the NUnit assemblies.

这篇关于ReSharper 和 NUnit 的多个域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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