testWidgetsGherkin function

void testWidgetsGherkin(
  1. String description, {
  2. required TestConfiguration testConfiguration,
  3. WidgetCucumberWorld? customWorld,
})

Implementation

void testWidgetsGherkin(String description, {required TestConfiguration testConfiguration, WidgetCucumberWorld? customWorld}) {
  testWidgets(description, (WidgetTester tester) async {
    await tester.runAsync(() async {
      await runTest(tester: tester, testConfiguration: testConfiguration, customWorld: customWorld);
    });
  }, tags: 'testWidget');
}