ReSharper 和 NUnit 的多个域

ReSharper and NUnit's multiple domains

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

Use separate AppDomain for each assembly with tests

查看 NUnit 文档,我怀疑上面的选项使用参数 "domain/multiple" 执行 NUnit,为此 "a separate test domain is created for each assembly".

你能确认一下这是真的吗?

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

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