TestimoX

API Reference

Class

TestParameters

Namespace TestimoX.Definitions
Assembly TestimoX

Assertion parameters for a Test. Supports both C# and PowerShell filtering styles.

Inheritance

  • Object
  • TestParameters

Constructors

public TestParameters() #

Properties

public Object ExpectedValue { get; set; } #

Expected value for comparisons (Equals, GreaterThan, etc.).

public ScriptBlock ExpectedValueScript { get; set; } #

Optional PowerShell script evaluated at runtime to compute ExpectedValue for dynamic thresholds (for example, relative Get-Date expressions). When set, the engine invokes this script before comparing values.

public Object ExpectedCount { get; set; } #

Expected number of matching items after filtering.

public OperationType OperationType { get; set; } #

Comparison or logical operator to apply.

public String Property { get; set; } #

Property path to evaluate on each item (for C# filtering).

public String PropertyExtendedValue { get; set; } #

Optional computed/display value for the property when rendering.

public String OverwriteName { get; set; } #

Override the test name in reports.

public ScaleDefinition Scale { get; set; } #

Severity scale definition used to map counts to statuses.

public ScriptBlock WhereObject { get; set; } #

PowerShell Where-Object filter used for PowerShell rules.

public Func<Object, Boolean> Filter { get; set; } #

C# predicate used to filter items for C# rules.

public Nullable<Boolean> ExpectedOutput { get; set; } #

For existence checks: expect any output (true) or none (false).

public Nullable<Boolean> ExpectedResult { get; set; } #

Legacy boolean exists/non-exists check after WhereObject.

public String SecondaryProperty { get; set; } #

Secondary numeric property used for percentage comparisons.

public Nullable<Double> PercentOfSecondary { get; set; } #

Threshold as a percentage of SecondaryProperty.

public Boolean RoundUpPercentThreshold { get; set; } #

Round up the computed percentage threshold.

public Object SecondaryMinValue { get; set; } #

Conditional threshold for operators like GE when the secondary meets a minimum.

public Object RangeMin { get; set; } #

Lower bound (inclusive) for Between comparisons.

public Object RangeMax { get; set; } #

Upper bound (inclusive) for Between comparisons.

public String FilterProperty { get; set; } #

Single property used for simple dataset-level filtering.

public Object FilterEqualsValue { get; set; } #

Expected value for the FilterProperty.

public Nullable<FilterOperator> FilterOperator { get; set; } #

Operator applied to FilterProperty and FilterEqualsValue.

public List<FilterCondition> Filters { get; set; } #

Additional AND-ed filters applied before evaluating assertions.