如何将配置应用于一组基于属性的测试?
我尝试了以下方法:
let config = { Config.Quick with MaxTest = 10000
QuietOnSuccess = true }
[<Property(Config=config)>] // Doesn't work because "Config" is a private member
let ``my property-based test`` () =
...
但是,该Config
成员被设置为私有并且不会编译。
有什么建议么?