AdaptiveTestConfiguration class

Singleton class that configures global variables for the test.

Notably:

Configure those variables in the testExecutable function inside the flutter_test_config.dart file.

See: https://api.flutter.dev/flutter/flutter_test/flutter_test-library.html

Properties

deviceVariant WindowVariant
no setter
enforcedTestPlatform TargetPlatform?
no setter
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
setDeviceVariants(Set<WindowConfigData> deviceConfigs) → void
Set the devices variant on which you want your test to run.
setEnforcedTestPlatform(TargetPlatform enforcedTestPlatform) → void
Images generated by golden test can have slight differences between the tests runtime platforms. Use this to enforce a specific platform across your team.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AdaptiveTestConfiguration
no setter