writing-python-sdk-spector-mock-api-tests Skill
Writes TypeSpec http-client-python generator mock API tests (azure/unbranded/shared) from a Spector case. Use when given a Spector case link or a PR link that modifies Spector cases under http-specs/azure-http-specs. Published by microsoft in typespec.
What is writing-python-sdk-spector-mock-api-tests Skill?
Writes TypeSpec http-client-python generator mock API tests (azure/unbranded/shared) from a Spector case. Use when given a Spector case link or a PR link that modifies Spector cases under http-specs/azure-http-specs. Published by microsoft in typespec. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Writing
- Testing use cases
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use writing-python-sdk-spector-mock-api-tests Skill
- Use it for testing.
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/typespec
- Skill file: .github/skills/python-sdk-spector-mock-api-tests/SKILL.md
What it does
Writes TypeSpec http-client-python generator mock API tests (azure/unbranded/shared) from a Spector case. Use when given a Spector case link or a PR link that modifies Spector cases under http-specs/azure-http-specs.
Skill instructions
Writing python SDK tests from a Spector case Inputs You may receive either: - Spector case link (preferred): link to a specific scenario/case under: - https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs/... - https://github.com/Azure/typespec-azure/tree/main/packages/azure-http-specs/specs/... - PR link: a GitHub PR that changes one or more Spector cases. Spector cases define the expected request + response. The goal is to add/extend python tests that validate the generated SDK behaves accordingly. Output A python pytest test (sync) added to one of: - packages/http-client-python/tests/mockapi/azure - packages/http-client-python/tests/mockapi/unbranded - packages/http-client-python/tests/mockapi/shared And a corresponding async pytest test added under the matching asynctests/ folder: - packages/http-client-python/tests/mockapi/azure/asynctests - packages/http-client-python/tests/mockapi/unbranded/asynctests - packages/http-client-python/tests/mockapi/shared/asyncte
Explore related resources
Frequently asked questions
What is writing-python-sdk-spector-mock-api-tests?
writing-python-sdk-spector-mock-api-tests is a open-source AI agent skill with Copy skill directory. Writes TypeSpec http-client-python generator mock API tests (azure/unbranded/shared) from a Spector case.
Who is writing-python-sdk-spector-mock-api-tests best for?
writing-python-sdk-spector-mock-api-tests is best for reusing agent instructions, scripts, and references, testing workflows, writing workflows.
How do I install writing-python-sdk-spector-mock-api-tests?
Install or run writing-python-sdk-spector-mock-api-tests using Copy skill directory. Check writing-python-sdk-spector-mock-api-tests for the latest setup command.
Is writing-python-sdk-spector-mock-api-tests actively maintained?
writing-python-sdk-spector-mock-api-tests may need a closer maintenance check before production use.