Skip to content

Add skeleton for offline integration tests and add CLI flags #5027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 10, 2023

Conversation

kenzieschmoll
Copy link
Member

Adds directories live_connection and offline under integration_test/test to differentiate between integration tests that will be run against and live app and integration tests that will be run with offline data. Each directory contains a README.md file.

This PR also modifies the test runner script to

  1. Automatically detect whether the --offline and --enable-experiments flags should be added based on the test target path. (A follow up PR to add the Perfetto integration test will be under offline/experimental and will leverage this functionality.
  2. handle new flags --offline and --update-goldens (used in a future PR).

RELEASE_NOTE_EXCEPTION=[testing changes]

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner January 10, 2023 21:58
@kenzieschmoll kenzieschmoll requested review from polina-c and removed request for a team January 10, 2023 21:58
@kenzieschmoll kenzieschmoll merged commit d1c2880 into flutter:master Jan 10, 2023
@kenzieschmoll kenzieschmoll deleted the test-folders branch January 10, 2023 23:24
@CoderDake CoderDake mentioned this pull request Jan 24, 2023
7 tasks
@DartDevtoolWorkflowBot DartDevtoolWorkflowBot mentioned this pull request Jan 24, 2023
7 tasks
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