API Reference
Class
TestResult
Outcome of executing a single test.
Inheritance
- Object
- TestResult
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property RuleComplete.FailedTests
- Property RuleComplete.TestResults
- Property RuleComplete.TestResultsSource
Constructors
public TestResult() #Inherited Methods
Properties
public TestimoStatus Status { get; set; } #Severity/status derived from the result and scale.
public String ErrorMessage { get; set; } #Optional error message explaining a failure.
public String Message { get; set; } #Optional friendly message for rendering in reports/JSON. When a test fails, this usually mirrors ErrorMessage. When a test passes and the rule provided a pass message, that text is stored here.
public Nullable<Int32> Penalty { get; set; } #Optional penalty points contributing to aggregate scoring.