concept widget test in category flutter

appears as: Widget tests, widget test, widget tests
Flutter in Action

This is an excerpt from Manning's book Flutter in Action.

  • Widget tests—When you want to do simple tests on widgets.
  • Widget tests in Flutter build on Dart unit tests. Rather than using the test package, however, you use the flutter_test package. The API is the same, but there are additional methods to test widgets and the UI. In general, the testing goes like this: