WillACosta / flutter_ui_tests

Flutter UI tests showcase using golden, widget and integration (E2E) tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@flutter_ui_test



Flutter UI tests showcase using golden_toolkit, Finder API and integration tests (E2E).

About

UI tests are extremely important to guarantee the high quality of our interfaces for providing a better user experience throughout the application. For achieving this we can simply use the following approaches:

  • UI Regression tests with Golden testing using golden_toolkit
  • Widget tests using Finder API provided by Flutter framework
  • Integration tests using integration_tests also called E2E testing

Execute Tests

Execute widget and golden tests

flutter test

To update the generated golden files, just run:

flutter test --update-goldens

To run the integration tests, open an emulator and runs:

flutter test integration_test

About

Flutter UI tests showcase using golden, widget and integration (E2E) tests


Languages

Language:Dart 79.1%Language:Ruby 13.0%Language:Swift 6.4%Language:Kotlin 1.2%Language:Objective-C 0.4%