Skip to content

[tool] Add support for using a Kotlin test runner file #6131

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 5 commits into from
Feb 16, 2024

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Feb 14, 2024

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines bparrishMines changed the title [tool] Add support for creating a Kotlin test runner [tool] Add support for creating a Kotlin test runner file Feb 14, 2024
@bparrishMines bparrishMines changed the title [tool] Add support for creating a Kotlin test runner file [tool] Add support for using a Kotlin test runner file Feb 14, 2024
},
);

expect(commandError, isNull);
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally when we don't expect a failure we just don't pass errorHandler or declare commandError, since if it throws without an error handler the test will fail.

I often like to check for Ran for 1 package in the output as the affirmative test, because then it can't accidentally pass by not having the package picked up somehow.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM with some adjustment to the unit test.

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 16, 2024
@auto-submit auto-submit bot merged commit c56c12d into flutter:main Feb 16, 2024
@bparrishMines bparrishMines deleted the kotlin_too branch February 16, 2024 03:17
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 16, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 16, 2024
flutter/packages@ef349be...c56c12d

2024-02-16 [email protected] [tool] Add support for using a Kotlin test runner file (flutter/packages#6131)
2024-02-16 [email protected] [in_app_purchase] fix skerror nullability (flutter/packages#6139)
2024-02-15 [email protected] Explicitly pass the web renderer into the tests. (flutter/packages#6140)
2024-02-15 [email protected] [google_sign_in] Clean up pre-Pigeon code (flutter/packages#6141)
2024-02-15 [email protected] [local_auth] Add compatibility with latest `intl` (flutter/packages#6138)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants