Skip to content

Add RunAndroid command flow tests - #2857

Open
ConnorQi01 wants to merge 1 commit into
masterfrom
dev/v-peq/issue-2852-run-android-command-tests
Open

Add RunAndroid command flow tests#2857
ConnorQi01 wants to merge 1 commit into
masterfrom
dev/v-peq/issue-2852-run-android-command-tests

Conversation

@ConnorQi01

@ConnorQi01 ConnorQi01 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add focused tests for the RunAndroid device and emulator command flows
  • verify React Native version preparation and Android platform validation
  • verify Android platform calls execute in order and stop after failures at each stage
  • keep ADB, device discovery, and AndroidPlatform behavior stubbed because those paths already have dedicated tests

Validation


  • px prettier --check test\extension\commands\runAndroid.test.ts\

  • pm run build\

  • px mocha test\extension\commands\runAndroid.test.js --ui tdd --reporter spec\ (9 passing)

Closes #2852

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@ConnorQi01

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@ConnorQi01
ConnorQi01 force-pushed the dev/v-peq/issue-2852-run-android-command-tests branch from b0cb01a to 6794149 Compare August 6, 2026 08:50
@ConnorQi01

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

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.

[Feature] Add unit tests for RunAndroid command flow

1 participant