Skip to content

Identify functional scenarios and implement E2E tests for winml perf #502

@zhenchaoni

Description

@zhenchaoni

Description

Identify the functionality list for winml perf and implement E2E pytest cases covering it. Tests live in tests/e2e.

Coverage must include:

  • Happy path — each subcommand / mode runs successfully with typical inputs.
  • Bad path — missing required args, invalid values, mutually exclusive flags, unsupported model, missing optional dep, missing EP. Each must produce the documented error and exit code, not a stack trace.
  • Flag / option variations — each behavior-bearing flag exercised both present and absent; each value of every enum/choice flag (--preset, --precision, --ep, …) covered by at least one test.

Deliverables

  1. E2E pytest test cases merged under tests/e2e.
  2. (Optional) A markdown file listing all test scenarios.

Acceptance Criteria

  • Happy path, bad path, and flag-variation coverage all present.
  • uv run pytest tests/e2e/ -k perf is green.

Metadata

Metadata

Assignees

Labels

P2Medium — minor bug or non-critical improvementqualityUse for quality control related issuestestingTest relatedtriagedIssue has been triaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions