Skip to content

[tools] Add Tizen example test runner - #1224

Open
JSUYA wants to merge 5 commits into
flutter-tizen:mainfrom
JSUYA:tools/example-test
Open

JSUYA wants to merge 5 commits into
flutter-tizen:mainfrom
JSUYA:tools/example-test

Conversation

@JSUYA

@JSUYA JSUYA commented Nov 25, 2026

Copy link
Copy Markdown
Member

Build, install, and launch plugin example apps on a connected Tizen device. Check startup and optional input steps for crashes and exceptions, and save screenshots, DLog, and JSON results.

With flutter-tizen on PATH and a matching device connected over SDB, run this command from the repository root.

./tools/tools_runner.sh example-test

The default recipe, .github/recipe_example.yaml, targets the WebView example on Tizen 11.0 (common profile). Use --recipe to choose targets, --device-id to select a device, and --events to replay scripted input.

Find the run summary at build/example_test/run-*/summary.json. Use --output

to change the parent output directory.

Build, install, and launch plugin example apps on a connected Tizen
device. Check startup and optional input steps for crashes and
exceptions, and save screenshots, DLog, and JSON results.

With flutter-tizen on PATH and a matching device connected over SDB,
run this command from the repository root.

  ./tools/tools_runner.sh example-test

The default recipe, .github/recipe_example.yaml, targets the WebView
example on Tizen 11.0 (common profile). Use --recipe <file> to choose
targets, --device-id <serial> to select a device, and --events <file>
to replay scripted input.

Find the run summary at build/example_test/run-*/summary.json. Use
--output <dir> to change the parent output directory.
@JSUYA
JSUYA marked this pull request as draft November 25, 2026 08:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T05:22:08.664894Z 72318df New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the tools label Nov 25, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 74801a59c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/lib/src/example_test_command.dart Resolved
Comment thread tools/lib/src/example_test_device.dart Resolved
Comment thread tools/lib/src/example_test_command.dart Resolved
Send explicit DLog markers before launch and after the final screenshot
so a quiet target can start and the monitor has a known end point.
Drain the monitor streams before judging the last checkpoint.

Keep runtime checks scoped to the launched UI app. Cover a missed
startup probe and a buffered final exception with regression tests.
Record functional exceptions in the JSON report. Use crash evidence
and process liveness to detect runtime failures during startup checks.

Use each recipe target for both emulator selection and the build API
version. Find a running emulator by default. Use --create-emulator
to create and clean up one SDK emulator per target.

Expand the default common-11.0 recipe to 35 maintained plugins.
@JSUYA
JSUYA marked this pull request as ready for review November 26, 2026 02:47
@JSUYA JSUYA self-assigned this Nov 26, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3475e2a8c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/lib/src/example_test_command.dart Resolved
Validate event package names against the recipe before device setup.
Report names with no selected targets as invalid arguments to prevent
event typos from producing a passing startup-only result.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4461f2558b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/lib/src/example_test_device.dart Resolved
Prefer the reported target PID when attributing crash logs from
another process. Use the app ID as a fallback when PID comparison
is unavailable. This prevents a delayed report from causing a
healthy relaunch to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant