flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.59k stars 326 forks source link

[Feature Request] - Test generator inside dev tools #5839

Open M97Chahboun opened 1 year ago

M97Chahboun commented 1 year ago

My suggestion about new tab on Flutter Inspector app for generate tests from UI by using inspect with follow scenario as example:

  1. Select some widget
  2. Open new tab (Test generator) as on image
  3. as example if widget button one of options onTap test as action, if TextField entreText action or check if we have some text on this widget (find.text())... finally generate file with all tests created by user

New Tab : Screenshot 2023-05-23 at 20 29 32

WIP

jacob314 commented 1 year ago

Fyi @kenzieschmoll. This is an interesting case to consider when thinking about future ways DevTools should be integrated with IDEs.

M97Chahboun commented 2 weeks ago

as example https://maestro.mobile.dev/getting-started/maestro-studio