소스 정보
- 저장소
- Azure/azure-sdk-for-rust
- 최근 소스 활동
- 2026년 6월 11일 22:49
- 감지된 SKILL.md 언어
- 영어
- 스타
- 885
- 포크
- 364
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Azure/azure-sdk-for-rust --skill create-recorded-test명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Run pre-commit checks for a specific set of crates. Use this when validating changes under sdk/cosmos before committing or during code review.
Check and fix spelling in project source files using cSpell.
Generate a new performance test
SOC 직업 분류 기준
SKILL.md 표시 중
| name | create-recorded-test |
| description | Generate a new recorded integration test |
| disable-model-invocation | true |
You will generate one or more recorded integration tests under the sdk/{service-directory}/{crate-name}/tests directory in ${input:testFile:test_file}.rs where:
{repo-root} is the root directory containing Cargo.toml.{service-directory} is the directory name under sdk for the current ${file} e.g., keyvault.{crate-name} is the crate directory name under sdk/{service-directory} for the current ${file} e.g., azure_security_keyvault_secrets.These instructions only need to be done once. If changes described are already present, do not make the changes again.
Recorded tests must always be integration tests under the sdk/{service-directory}/{crate-name}/tests directory. Do not add recorded tests to src/, examples/, or README.md.
If PowerShell is not installed, stop and ask the user to install it first using PowerShell installation instructions.
Provision test resources using the full script path:
{repo-root}/eng/common/TestResources/New-TestResources.ps1 -ServiceDirectory {service-directory}
To run recorded tests, rely on the existing test infrastructure. Test Proxy is acquired automatically for test runs when needed, but not for test-proxy push -a sdk/{service-directory}/assets.json.
For manual Test Proxy usage or asset publishing, see CONTRIBUTING.md and the Test Proxy documentation.
For each new recorded test:
sdk/{service-directory}/{crate-name}/tests/${input:testFile}.rs, add or update async integration tests attributed with #[recorded::test].async fn ${input:testName}(ctx: TestContext) -> Result<()>.let recording = ctx.recording();let mut options = {Client}Options::default();recording.instrument(&mut options.client_options);recording.var("{ENV_VAR}", None).as_str(), recording.credential(), and Some(options).TestContext, and required ClientOptions instrumentation.#[recorded::test] functions.Record or update sessions against live resources:
AZURE_TEST_MODE=record cargo test -p {crate-name} --test ${input:testFile}
Run playback to make sure tests were properly recorded:
cargo test -p {crate-name} --test ${input:testFile}
After recording and playback succeeds, publish updated recordings only if test-proxy is already installed and available:
test-proxy push -a sdk/{service-directory}/assets.json
Remove provisioned test resources using the full script path when they are no longer needed:
{repo-root}/eng/common/TestResources/Remove-TestResources.ps1 -ServiceDirectory {service-directory}