NUnit3与RunInApplicationDomain属性一起应用时找不到F#测试

时间:2019-02-01 16:27:01

标签: f# nunit-3.0

我正在将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()

0 个答案:

没有答案