Skip to content

[Agents Extension] Add test scenarios using the cli-interactive-tester tool#8524

Open
trangevi wants to merge 13 commits into
mainfrom
trangevi/test-scenarios
Open

[Agents Extension] Add test scenarios using the cli-interactive-tester tool#8524
trangevi wants to merge 13 commits into
mainfrom
trangevi/test-scenarios

Conversation

@trangevi
Copy link
Copy Markdown
Member

@trangevi trangevi commented Jun 2, 2026

No description provided.

Signed-off-by: trangevi <trangevi@microsoft.com>
@github-actions github-actions Bot added the ext-agents azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes} extensions label Jun 2, 2026
trangevi added 11 commits June 2, 2026 14:14
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
…ll add back later

Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
Signed-off-by: trangevi <trangevi@microsoft.com>
@trangevi trangevi marked this pull request as ready for review June 5, 2026 21:32
Copilot AI review requested due to automatic review settings June 5, 2026 21:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a comprehensive, goal-based suite of manual interactive test scenarios for the azure.ai.agents azd extension, designed to be driven via the cli-interactive-tester MCP server. This codifies repeatable end-to-end command flows (from offline help/version checks through Tier 2 cloud provision/deploy/invoke) along with a profile/override mechanism and supporting fixtures.

Changes:

  • Introduces a tiered scenario catalog (00-, 10-, 2x-) with tagging conventions for selective runs and fleet orchestration.
  • Adds shared profile defaults (profile.yaml), a local override template (profile.local.yaml.example), and gitignore rules for local profiles and run artifacts.
  • Adds a minimal “from-code” Python fixture used by scaffold-only init scenarios, and documents scenario usage in both the scenarios README and the extension AGENTS.md.

Reviewed changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
cli/azd/extensions/azure.ai.agents/AGENTS.md Documents the existence/intent of the manual cli-interactive-tester scenario suite and how contributors should use it.
cli/azd/extensions/azure.ai.agents/cspell.yaml Adds a new word to prevent false-positive spellcheck failures from scenario docs.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/.gitignore Ignores local profiles and tester output artifacts.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/README.md Provides full orchestration guidance (tiers, tags, WSL path rules, auth prerequisites, hooks, and fleet mode).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/profile.yaml Defines repo-shared default profile values (region/model/shared suffix).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/profile.local.yaml.example Provides a template for per-user/per-CI identifying values (prefix/subscription/optional tenant).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/fixtures/from-code/app.py Minimal Python source fixture for “init from existing code” scenarios.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/fixtures/from-code/requirements.txt Minimal requirements file to ensure Python project detection during init-from-code flows.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-version.yaml Tier 0 scenario for azd ai agent version.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-help-root.yaml Tier 0 scenario validating root help output/command discovery.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-sample-list-text.yaml Tier 0 scenario for sample list text rendering.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-sample-list-json-filters.yaml Tier 0 scenario for sample list JSON output and filtering flags.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-doctor-empty-dir.yaml Tier 0 scenario for doctor behavior in an empty directory.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-doctor-local-only.yaml Tier 0 scenario for doctor --local-only.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-init-validate-mutually-exclusive.yaml Tier 0 negative-path scenario validating init argument conflicts.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-init-validate-no-prompt-missing.yaml Tier 0 negative-path scenario validating --no-prompt missing inputs behavior.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/00-init-picker-navigation.yaml Tier 0 scenario focusing on init picker UX (filtering, navigation, abort behavior).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-template-python.yaml Tier 1 scenario scaffolding from a Python template (auth required; stops before provision).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-template-dotnet.yaml Tier 1 scenario scaffolding from a .NET template (auth required; stops before provision).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-from-manifest-url.yaml Tier 1 scenario scaffolding from a GitHub manifest URL (auth + gh auth prerequisite).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-from-code.yaml Tier 1 scenario for “use code in current directory” flow using seeded fixture.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-flags-agent-name-model.yaml Tier 1 scenario validating --agent-name/--model overrides when initializing from a manifest URL.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/10-init-deploy-mode-code.yaml Tier 1 scenario validating interactive code-deploy mode prompts (entry point/runtime).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/20-setup-deploy-shared-agent.yaml Tier 2 setup scenario that provisions and deploys a shared agent used by subsequent Tier 2 scenarios.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/21-show.yaml Tier 2 scenario validating show table output.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/21-show-json.yaml Tier 2 scenario validating show --output json.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/22-invoke-remote.yaml Tier 2 scenario validating remote invoke.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/22-invoke-new-session.yaml Tier 2 scenario validating session vs conversation memory semantics for invoke.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/22-invoke-input-file.yaml Tier 2 scenario validating invoke -f request-body-from-file behavior.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/23-sessions-lifecycle.yaml Tier 2 scenario validating the sessions lifecycle command group.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/24-files-lifecycle.yaml Tier 2 scenario validating the files lifecycle command group.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/25-monitor-console.yaml Tier 2 scenario validating monitor console logs.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/25-monitor-system.yaml Tier 2 scenario validating monitor system/container events.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/26-endpoint-update.yaml Tier 2 scenario validating endpoint update behavior (patching without new version).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/27-run-local-and-invoke-local.yaml Tier 2 scenario validating run + invoke --local with allocated ports and two sessions.
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/2A-doctor-provisioned-all-pass.yaml Tier 2 scenario validating doctor against a provisioned project (with a known-acceptable warning).
cli/azd/extensions/azure.ai.agents/tests/cli-interactive-tester-scenarios/2Z-teardown-down.yaml Tier 2 teardown scenario to destroy resources and clean the shared working directory.

Comment thread cli/azd/extensions/azure.ai.agents/AGENTS.md Outdated
@trangevi trangevi linked an issue Jun 5, 2026 that may be closed by this pull request
Signed-off-by: trangevi <trangevi@microsoft.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

📋 Prioritization Note

Thanks for the contribution! The linked issue isn't in the current milestone yet.
Review may take a bit longer — reach out to @rajeshkamal5050 or @kristenwomack if you'd like to discuss prioritization.

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

Labels

ext-agents azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes} extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initial pass at scenario testing

2 participants