0  comments

In the first part of this short tutorial series, you’ve learned everything regarding the basics and principles of testing in Flutter and also how to write unit tests together with test-driven development. In this second part, you’re going to learn a lot about widget tests and integration tests in Flutter.

VS Code Snippets

{
  "Flutter widget test boilerplate": {
    "prefix": "wTest",
    "body": [
      "testWidgets(",
      "  \"$1\",",
      "  (WidgetTester tester) async {$2},",
      ");"
    ],
    "description": "Flutter widget test boilerplate"
  },
}

About the author 

Matt Rešetár

Matt is an app developer with a knack for teaching others. Working as a Flutter freelancer and most importantly developer educator, he doesn't have a lot of free time 😅 Yet he still manages to squeeze in tough workouts 💪

You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>