Skip to content

Update python spector mock API tests SKILL.md for test framework refactor#10301

Merged
msyyc merged 5 commits intomainfrom
update-python-spector-skill-md
Apr 9, 2026
Merged

Update python spector mock API tests SKILL.md for test framework refactor#10301
msyyc merged 5 commits intomainfrom
update-python-spector-skill-md

Conversation

@msyyc
Copy link
Copy Markdown
Contributor

@msyyc msyyc commented Apr 8, 2026

Updates the python-sdk-spector-mock-api-tests SKILL.md to reflect the test framework refactor in packages/http-client-python.

Changes:

  • Directory paths: Updated all paths from generator/test/{flavor}/mock_api_tests/ to tests/mock_api/{azure,unbranded,shared}/
  • Generic to Shared: Renamed references from generic_mock_api_tests to mock_api/shared
  • Generated packages: Updated path from generator/test/{flavor}/generated/ to tests/generated/{flavor}/
  • Requirements: Updated from per-flavor requirements.txt to centralized tests/requirements/{base,azure,unbranded}.txt
  • Regenerate CLI: Added --flavor flag documentation alongside --name
  • Format command: Updated from black -l 120 to black --config ./eng/scripts/ci/config/pyproject.toml
  • Test validation: Replaced tox-based flow with direct two-terminal approach (manual spector server + pytest)
  • Removed unnecessary env vars step: PYTHONPATH and FLAVOR are not needed for mock API tests
  • Added guidance: Clarified when full test suite is needed (emitter source changes) vs single test (test-only changes)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

No changes needing a change description found.

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Apr 8, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@msyyc msyyc assigned msyyc and unassigned msyyc Apr 8, 2026
@msyyc msyyc enabled auto-merge April 8, 2026 09:25
@msyyc msyyc requested a review from ChenxiJiang333 April 9, 2026 01:36
@msyyc msyyc added this pull request to the merge queue Apr 9, 2026
Merged via the queue into main with commit 0777107 Apr 9, 2026
41 checks passed
@msyyc msyyc deleted the update-python-spector-skill-md branch April 9, 2026 02:43
msyyc added a commit that referenced this pull request Apr 9, 2026
…ctor (#10301)

Updates the python-sdk-spector-mock-api-tests SKILL.md to reflect the
test framework refactor in packages/http-client-python.

### Changes:

- **Directory paths**: Updated all paths from
generator/test/{flavor}/mock_api_tests/ to
tests/mock_api/{azure,unbranded,shared}/
- **Generic to Shared**: Renamed references from generic_mock_api_tests
to mock_api/shared
- **Generated packages**: Updated path from
generator/test/{flavor}/generated/ to tests/generated/{flavor}/
- **Requirements**: Updated from per-flavor requirements.txt to
centralized tests/requirements/{base,azure,unbranded}.txt
- **Regenerate CLI**: Added --flavor flag documentation alongside --name
- **Format command**: Updated from black -l 120 to black --config
./eng/scripts/ci/config/pyproject.toml
- **Test validation**: Replaced tox-based flow with direct two-terminal
approach (manual spector server + pytest)
- **Removed unnecessary env vars step**: PYTHONPATH and FLAVOR are not
needed for mock API tests
- **Added guidance**: Clarified when full test suite is needed (emitter
source changes) vs single test (test-only changes)
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.

3 participants