Skip to content

Add test script for flutter/tests - #5785

Merged
Piinks merged 2 commits into
flutter:masterfrom
Piinks:testScript
May 15, 2023
Merged

Piinks merged 2 commits into
flutter:masterfrom
Piinks:testScript

Conversation

@Piinks

@Piinks Piinks commented May 12, 2023 •

Copy link
Copy Markdown
Contributor

This adds a test script for running devtools tests in flutter/tests.
It also removes a print statement from a test since flutter/tests expects no output from a passing test.

Part of #4433

Once this lands, I can update in flutter/tests#258 to close the issue.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or there is a reason for not adding tests - 'tis for tests!

build.yaml badge

If you need help, consider asking for help on Discord.

Comment thread tool/flutter_tests.sh

# Test devtools_app
cd ../devtools_app
flutter test test/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should our integration tests be run too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They will need more work to prepare them for flutter/tests. I cannot get them to pass currently under the test conditions of flutter/tests. I am not familiar with devtools integration tests so I cannot change them to work with flutter/tests right now.

I think this is a really good start to prevent us from breaking devtools in flutter/flutter, it should catch the majority of changes that would affect devtools.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, this should catch most breakages. Thanks, Kate!

@kenzieschmoll

Copy link
Copy Markdown
Member

You'll be able to land this hopefully after #5786 lands and you can merge it in.

@kenzieschmoll

Copy link
Copy Markdown
Member

If you merge master, the failures here should be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants