Press ESC to close

Flutter App : Simple Counter App in Flutter with unit, widget and integration tests

flutter_testing

Simple Counter App in Flutter with unit, widget and integration tests

  • A unit test tests a single function, method, or class.
  • A widget test (in other UI frameworks referred to as component test) tests a single widget.
  • An integration test tests a complete app or a large part of an app.

Getting Started

Run unit tests:

flutter test test/unit_test.dart

Run widget tests:

flutter test test/widget_test.dart

Run integration tests:

flutter test integration_test/integration_test.dart

GitHub

View Github

Footer Example