TestimoX

API Reference

Class

TestimoRunResult

Namespace TestimoX.Execution
Assembly TestimoX
Implements
IEquatable<TestimoRunResult>
Modifiers sealed

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 requiredposition: 0
Number of rules requested (after de-duplication).
FailedRules System.Int32 requiredposition: 1
Count of rules that produced a failing result.
SkippedRules System.Int32 requiredposition: 2
Count of rules that were skipped.
Errors System.Int32 requiredposition: 3
Total PowerShell error records across all rules.
Warnings System.Int32 requiredposition: 4
Total PowerShell warnings across all rules.
Elapsed System.TimeSpan requiredposition: 5
Wall-clock time spent executing the run.
Engine TestimoX.Testimo requiredposition: 6
Engine instance used for the run (inspect RulesCompleted for details).

Methods

public TestimoRunResult <Clone>$() #
Returns: TestimoRunResult
public Void Deconstruct(out Int32 RuleCount, out Int32 FailedRules, out Int32 SkippedRules, out Int32 Errors, out Int32 Warnings, out TimeSpan Elapsed, out Testimo Engine) #
Returns: Void

Parameters

RuleCount Int32 requiredposition: 0
FailedRules Int32 requiredposition: 1
SkippedRules Int32 requiredposition: 2
Errors Int32 requiredposition: 3
Warnings Int32 requiredposition: 4
Elapsed TimeSpan requiredposition: 5
Engine Testimo requiredposition: 6
public virtual Boolean Equals(TestimoRunResult other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

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).