Home > Mobile >  Flutter Widget Testing, is it the widget on screen file or individual widget file?
Flutter Widget Testing, is it the widget on screen file or individual widget file?

Time:10-14

I have an assignment to do Flutter testing and I want to do Widget Testing, I've watched some youtube tutorial and read some article but I still confused, When I want to do a widget testing. does it means I test a widget from screen?(create custom component and put it on screen) or individual widget testing(do a test by making a dummy data for the custom component)?

CodePudding user response:

You should only test your custom widget.check this

  • Related