Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[integration_test] Test drivers should end with _test.dart #3063

Merged
merged 4 commits into from Sep 22, 2020

Conversation

jiahaog
Copy link
Member

@jiahaog jiahaog commented Sep 21, 2020

After working on tooling to migrate existing apps (draft #3046), I think it makes more sense for the driver files to keep the _test.dart suffix. This makes globbing by tooling easier.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • No, this is not a breaking change.

@jiahaog
Copy link
Member Author

jiahaog commented Sep 21, 2020

Please ignore the CI failures for now – I have opened flutter/plugin_tools#108 which will update the plugin tools to support this.

@jiahaog jiahaog marked this pull request as ready for review September 21, 2020 13:00
@dnfield
Copy link
Contributor

dnfield commented Sep 21, 2020

I'm not sure why this is failing, looks like things passed?

@jiahaog
Copy link
Member Author

jiahaog commented Sep 21, 2020

Thanks! It is failing because the CI script doesn't support this yet – please see flutter/plugin_tools#108!

This makes globbing by tooling easier.

Also fix the documentation for running them natively with the Android and iOS tool.
@jiahaog jiahaog force-pushed the test-driver-rename branch 2 times, most recently from e56ae62 to 06d1e81 Compare September 22, 2020 04:53
@jiahaog
Copy link
Member Author

jiahaog commented Sep 22, 2020

I moved just the failure test to the test_driver directory to avoid globbing for that, and added a note as well.

As mentioned on #hackers-ecosystem, the failure on master is a flake with Cocoapods, so landing this.

@jiahaog jiahaog merged commit eb4af2e into flutter:master Sep 22, 2020
@jiahaog jiahaog deleted the test-driver-rename branch September 22, 2020 06:20
danielroek pushed a commit to Baseflow/flutter-plugins that referenced this pull request Oct 1, 2020
…#3063)

This makes globbing by tooling easier.

Also fix the documentation for running them natively with the Android and iOS tool.
jorgefspereira pushed a commit to jorgefspereira/plugins_flutter that referenced this pull request Oct 10, 2020
…#3063)

This makes globbing by tooling easier.

Also fix the documentation for running them natively with the Android and iOS tool.
FlutterSu pushed a commit to FlutterSu/flutter-plugins that referenced this pull request Nov 20, 2020
…#3063)

This makes globbing by tooling easier.

Also fix the documentation for running them natively with the Android and iOS tool.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants