Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[testing_app] Update and fix the testing app #2334

@kenzieschmoll

Description

@kenzieschmoll
  • Does not follow guidance for where to place the test driver file. integration_test documentation and Flutter documentation suggest that the test driver should be under test_driver/integration_test.dart.
  • Readme does not provide documentation for how to run integration tests for the Web (e.g. adding -d [web-server | chrome] and starting chromedriver).
  • Running a simple integration test on chrome fails with opaque message
    flutter drive \
      --driver=integration_test/driver.dart \
      --target=integration_test/app_test.dart \
      -d chrome
    ...
    Rejecting promise with error: TypeError: Cannot read properties of undefined (reading 'group')
    
  • Missing examples of benchmark testing
  • Open question: I could not tell from looking at the code. Are integration tests ran on the Flutter CI? Are they ran on web on the CI?
  • Investigate testing_app hangs on Windows #1000, close if its no longer an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions