framework_stabilizers/testability library

Classes

AbstractTestability
Tesability base class that implements some of the rules for calling the IsStableCallbacks as defined by FrameworkStabilizers. The extending frameworks are responsible for providing their own implementation of isStable and they are responsible for calling checkStable whenever they have potentially moved from an unstable to a stable state.
NullTestability
A placeholder testability that does not perform any action. Can be injected into an app to disable the testability feature altogether.
Testability
Interface for Testabilities that frameworks can provide for tests to wait on the framework to be stable.

Properties

testabilitiesEnabled bool
Check if the enableTestabilities URL parameter is set to true.
final

Typedefs

FrameworkStabilizer = void Function(IsStableCallback callback)
Function provided by a framework to register an IsStableCallback that is invoked by the framework when it reaches a stable state.
IsStableCallback = void Function(bool didWork, String name)
Function invoked by a framework when it has reached a stable state. The didWork parameter indicates, if the framework did any work between callback registration and callback invocation.