Why do widget tests look smaller on actual device and simulator?

50 views
Skip to first unread message

vaban

unread,
Apr 29, 2019, 3:33:01 PM4/29/19
to Flutter Dev
Hello,

We are learning widget testing and come across this advise:

When we try to run our widget test using flutter run test/your_test.dart, it appeared smaller in the device and not the actual size of the app when installed on an actual device.
Why isn't the app appearing on its actual size when widget test is run?

Additional question: is it possible to run integration test and widget test on the same installed build?

Thank you.

vaban

unread,
Apr 29, 2019, 3:36:37 PM4/29/19
to Flutter Dev
Here is an example.
Screen Shot 2019-04-29 at 12.34.30 PM.png
Reply all
Reply to author
Forward
0 new messages