TemplateTestConfig class

Configuration model for the template test generation command.

This class encapsulates all configuration data needed for test generation, including paths, names, and configuration maps.

Constructors

TemplateTestConfig({String? appsName, required String featureName, required String pageName, required String searchFileJson2Dart, required String pathTestPage, required Map json2DartMap})
Creates a new TemplateTestConfig instance.
TemplateTestConfig.fromArgs(ArgResults argResults, String currentPath)
Creates a TemplateTestConfig from command arguments.
factory

Properties

appsName String?
Optional apps name for generating tests within apps context.
final
featureName String
Required feature name for generating tests.
final
hashCode int
The hash code for this object.
no setterinherited
json2DartMap Map
Map containing json2dart configuration data.
final
pageName String
Required page name for generating tests.
final
pathTestPage String
Path where test files will be generated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchFileJson2Dart String
Name of the json2dart configuration file to search for.
final

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