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
Comments are closed.