convenient_test_dev library

Properties

convenientTestGeneralizedEditableTextInfos List<GeneralizedEditableTextInfo<Widget>>
getter/setter pair
convenientTestGetFinder ConvenientTestGetFinder
getter/setter pair
convenientTestRunAsyncEnhancedExceptionChecker ↔ void Function(Object?)
When running runAsyncEnhanced and see exception, will call this checker. For example, you may want to ignore certain kinds of exceptions, such as network timeout
getter/setter pair

Functions

compareUiImages(Image testImage, Image masterImage) Future<MyComparisonResult>
convenientTestLog(String title, String message, {LogSubEntryType? type, String? error, String? stackTrace, LiveTest? liveTest}) LogHandle
convenientTestMain(ConvenientTestSlot slot, FutureOr<void> testBody(), {ExecutionEnv executionEnv = ExecutionEnv.deviceTest}) Future<void>
Please make this the only method in your "main" method.
debugWidgetTestSaveScreenshot([Finder? finder, String stem = 'debug_screenshot']) Future<void>
matchesEnhancedReferenceImage(Image image, GoldenConfig config) → AsyncMatcher
testGroupsToName(List<Group> testGroups) String
tTestWidgets(String description, TWidgetTesterCallback callback, {bool skip = false, bool settle = true, Timeout? timeout}) → void
Wrapper around testWidgets.

Typedefs

ConvenientTestGetFinder = Finder Function(Object arg)
EnterTextWithoutReplaceLogCallback = void Function(TextEditingValue oldValue, TextEditingValue newValue)
LogSnapshot = Future<void> Function({List<int>? image, String name})
LogUpdate = void Function(String title, String message, {String? error, bool printing, String? stackTrace, required LogSubEntryType type})
TWidgetTesterCallback = Future<void> Function(ConvenientTest t)