語言

FlakyTestAttribute.Tolerance 屬性

定義

表示測試可執行並失敗的次數,才會被報告為失敗測試。

[Android.Runtime.Register("tolerance")]
public int Tolerance { get; set; }
[<Android.Runtime.Register("tolerance")>]
member this.Tolerance : int with get, set

屬性值

允許的總得分數;預設值為 1。 如果容差因子小於1,測試只會執行一次。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於