Skip to content

Conversation

@kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Dec 19, 2022

Work towards #4934.

This PR adds testing scripts for running DevTools integration tests:

  • _run_test.dart: this library contains a method runFlutterIntegrationTest that is responsible for parsing run arguments, spinning up a test app (if necessary), starting chromedriver to run the web integration test, and starting a process to run an integration test using the flutter drive command.
  • run_tests.dart: a script to run all integration tests or a single integration test by specifying a value for the flag --target. This script contains instructions at the top of the file for how to run tests, and the README.md has instructions as well.

There will be a follow up PR after this to add the first integration test and run it on the CI.

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner December 19, 2022 22:45
@kenzieschmoll kenzieschmoll requested review from CoderDake and removed request for a team December 19, 2022 22:45
@kenzieschmoll kenzieschmoll merged commit 340b771 into flutter:master Dec 20, 2022
@kenzieschmoll kenzieschmoll deleted the integration-test-2 branch December 20, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants