API Reference
Class
TestimoRunResult
Outcome of a Testimo run, with aggregate counters and a handle to the engine for detailed inspection.
Inheritance
- Object
- TestimoRunResult
Constructors
public TestimoRunResult(Int32 RuleCount, Int32 FailedRules, Int32 SkippedRules, Int32 Errors, Int32 Warnings, TimeSpan Elapsed, Testimo Engine) #Outcome of a Testimo run, with aggregate counters and a handle to the engine for detailed inspection.
Parameters
- RuleCount System.Int32
- Number of rules requested (after de-duplication).
- FailedRules System.Int32
- Count of rules that produced a failing result.
- SkippedRules System.Int32
- Count of rules that were skipped.
- Errors System.Int32
- Total PowerShell error records across all rules.
- Warnings System.Int32
- Total PowerShell warnings across all rules.
- Elapsed System.TimeSpan
- Wall-clock time spent executing the run.
- Engine TestimoX.Testimo
- Engine instance used for the run (inspect RulesCompleted for details).
Methods
public TestimoRunResult <Clone>$() #Returns:
TestimoRunResultpublic Void Deconstruct(out Int32 RuleCount, out Int32 FailedRules, out Int32 SkippedRules, out Int32 Errors, out Int32 Warnings, out TimeSpan Elapsed, out Testimo Engine) #Returns:
VoidParameters
- RuleCount Int32
- FailedRules Int32
- SkippedRules Int32
- Errors Int32
- Warnings Int32
- Elapsed TimeSpan
- Engine Testimo
public override Int32 GetHashCode() #Returns:
Int32public override String ToString() #Returns:
StringInherited Methods
Properties
public Int32 RuleCount { get; set; } #Number of rules requested (after de-duplication).
public Int32 FailedRules { get; set; } #Count of rules that produced a failing result.
public Int32 SkippedRules { get; set; } #Count of rules that were skipped.
public Int32 Errors { get; set; } #Total PowerShell error records across all rules.
public Int32 Warnings { get; set; } #Total PowerShell warnings across all rules.
public TimeSpan Elapsed { get; set; } #Wall-clock time spent executing the run.
public Testimo Engine { get; set; } #Engine instance used for the run (inspect RulesCompleted for details).