TestCaseConverter class
Intelligent converter that transforms loose, high-level, or informal user test descriptions
(e.g. test login, test dashboard, test add to cart, shorthand commands, or conversational steps)
into canonical, structured, and executable Visual Test Runner specifications.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convert(
String looseText, {String defaultScenarioName = 'App User Journey Flow', String? scenarioTags = '@smoke'}) → String - Convert informal/loose user text into a canonical formatted test spec markdown string.
-
registerTemplate(
Pattern pattern, List< String> expander(Match match)) → void - Register a custom shorthand pattern to expand into structured test steps.
-
toTestSuite(
String looseText, {String suiteName = 'App Test Suite', String? scenarioTags = '@smoke'}) → TestSuite - Directly convert loose user text into an executable TestSuite.