TestimoX

API Reference

Class

RuleSelectionParsing

Namespace TestimoX.Execution
Assembly TestimoX
Modifiers static

Helper methods for parsing rule selection inputs supplied by hosts.

Inheritance

  • Object
  • RuleSelectionParsing

Methods

public static Category[] ParseCategories(String value) #
Returns: Category[]

Parses a comma-delimited category list into Category values.

Parameters

value System.String requiredposition: 0
public static GroupingMode ParseGroupingMode(String value, GroupingMode defaultValue = Category) #
Returns: GroupingMode

Parses grouping mode for interactive rule selection.

Parameters

value System.String requiredposition: 0
defaultValue TestimoX.Execution.GroupingMode = Category optionalposition: 1
public static Nullable<RuleSelectionProfile> ParseProfile(String value) #
Returns: Nullable<RuleSelectionProfile>

Parses a curated rule-selection profile.

Parameters

value System.String requiredposition: 0
Profile name.

Returns

The parsed profile or null when not provided or invalid.

public static Nullable<RuleCost> ParseRuleCost(String value) #
Returns: Nullable<RuleCost>

Parses a rule cost filter.

Parameters

value System.String requiredposition: 0
public static List<String> ParseRuleNames(String value) #
Returns: List<String>

Parses a comma-delimited rule list. Returns null when no valid names are provided.

Parameters

value System.String requiredposition: 0
public static String[] ParseTags(String value) #
Returns: String[]

Parses a comma-delimited tag list into string values.

Parameters

value System.String requiredposition: 0