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"
},
}