我正在将VS2017与NUnit Test Adapter 3.12.0和
一起使用nuget NUnit 3.10.1 framework: >= net45
nuget NUnit.ApplicationDomain 11.1.0
nuget NUnit.Runners 3.9.0
我想在单独的域中运行每个测试,但是将[RunInApplicationDomain]
属性应用于测试时,在VS Test Explorer中找不到该测试。删除属性即可找到它。有解决方法吗?
例如,找不到下面的测试。
namespace Foo
open NUnit.ApplicationDomain
open NUnit.Framework
[<TestFixture>]
type ThreeNodeTests() =
[<Test; RunInApplicationDomain>]
member __.Test1() =
Assert.Pass()