FlutterTestConfiguration class

Implementers

Constructors

FlutterTestConfiguration()

Properties

createWorld ↔ CreateWorld?
An optional function to create a world object for each scenario.
getter/setter pairinherited
customStepParameterDefinitions Iterable<CustomParameter>?
Any user defined step parameters
getter/setter pairinherited
defaultTimeout Duration
The default step timeout - this can be override when definition a step definition
getter/setter pairinherited
featureDefaultLanguage String
The default feature language
getter/setter pairinherited
featureFileMatcher ↔ FeatureFileMatcher
Lists feature files paths, which match features patterns.
getter/setter pair
featureFileReader ↔ FeatureFileReader
The feature file reader. Takes files/resources paths from featureFileIndexer and returns their content as String.
getter/setter pair
features Iterable<Pattern>
The path(s) to all the features. All three Patterns are supported: RegExp, String, Glob.
getter/setter pair
getAttachmentManager ↔ CreateAttachmentManager
used to get a new instance of an attachment manager class that is passed to the World context
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hooks Iterable<Hook>?
Hooks that are run at certain points in the execution cycle
getter/setter pairinherited
order ↔ ExecutionOrder
The execution order of features - this default to random to avoid any inter-test dependencies
getter/setter pair
reporters Iterable<Reporter>?
a list of reporters to use. Built-in reporters:
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsEnabled bool
Enable semantics in a test by creating a SemanticsHandle. See: testWidgets and WidgetController.ensureSemantics.
getter/setter pair
stepDefinitions Iterable<StepDefinitionGeneric<World>>?
The user defined step definitions that are matched with written steps in the features
getter/setter pairinherited
stopAfterTestFailed bool
the program will stop after any test failed
getter/setter pairinherited
tagExpression String?
a filter to limit the features that are run based on tags see https://docs.cucumber.io/cucumber/tag-expressions/ for expression syntax
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare() → void
used to allow for custom configuration to ensure framework specific configuration is in place
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

DEFAULT(Iterable<StepDefinitionGeneric<World>> steps, {String featurePath = 'integration_test/features/*.*.feature', String targetAppPath = 'test_driver/integration_test_driver.dart'}) FlutterTestConfiguration
Provide a configuration object with default settings such as the reports and feature file location Additional setting on the configuration object can be set on the returned instance.