Loading...
Loading...
Compare original and translation side by side
Paths: File paths (,shared/,references/) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.../ln-*
路径说明: 文件路径(、shared/、references/)均相对于技能仓库根目录。如果在当前工作目录找不到,请定位到该SKILL.md所在目录,再向上一级即为仓库根目录。../ln-*
tests/manual/tests/manual/print_status "WARN" + return 0print_status "WARN" + return 0tests/manual/NN-feature/
├── samples/ # Input files
├── expected/ # Expected output files (REQUIRED!)
│ └── {base_name}_{source_lang}-{target_lang}.{ext}
└── test-*.shjq --sort-keystests/manual/NN-feature/
├── samples/ # Input files
├── expected/ # Expected output files (REQUIRED!)
│ └── {base_name}_{source_lang}-{target_lang}.{ext}
└── test-*.shjq --sort-keystests/manual/results/result_{ac_name}.{ext}response_{ac_name}.jsontests/manual/results/result_{ac_name}.{ext}response_{ac_name}.jsonresults/expected/results/expected/docs/project/runbook.mdtests/manual/tests/manual/config.shtests/manual/README.mdtests/manual/test-all.shtests/manual/results/.gitignoretests/manual/results/.gitignoreconfig.shdocs/project/runbook.mdtests/manual/tests/manual/config.shtests/manual/README.mdtests/manual/test-all.shtests/manual/results/.gitignoretests/manual/results/.gitignoreconfig.shtests/manual/{NN}-{story-slug}/samples/tests/manual/{NN}-{story-slug}/expected/tests/manual/{NN}-{story-slug}/test-{story-slug}.shtests/manual/results/chmod +xtests/manual/{NN}-{story-slug}/samples/tests/manual/{NN}-{story-slug}/expected/tests/manual/{NN}-{story-slug}/test-{story-slug}.shtests/manual/results/chmod +xtests/manual/README.mdtests/manual/test-all.shtests/manual/README.mdtests/manual/test-all.shtests/manual/{NN}-{story-slug}/test-{story-slug}.shcd tests/manual && ./{NN}-{story-slug}/test-{story-slug}.shtests/manual/{NN}-{story-slug}/test-{story-slug}.shcd tests/manual && ./{NN}-{story-slug}/test-{story-slug}.shtests/manual/tests/manual/tests/manual/tests/manual/results/.gitignoretests/manual/{NN}-{story-slug}/test-{story-slug}.shexpected/tests/manual/results/tests/manual/tests/manual/results/.gitignoretests/manual/{NN}-{story-slug}/test-{story-slug}.shexpected/tests/manual/results/undefinedundefinedSCOPE: Bash scripts for manual API testing. Complements automated tests with CLI-based workflows.
SCOPE: Bash scripts for manual API testing. Complements automated tests with CLI-based workflows.
cd tests/manual
./00-setup/create-account.sh # (if auth required)
./test-all.sh # Run ALL test suitescd tests/manual
./00-setup/create-account.sh # (if auth required)
./test-all.sh # Run ALL test suitesdocker compose psapt-get install jqbrew install jqdocker compose psapt-get install jqbrew install jqtests/manual/
├── config.sh # Shared configuration (BASE_URL, helpers, colors)
├── README.md # This file
├── test-all.sh # Run all test suites
├── 00-setup/ # Account & token setup (if auth required)
│ ├── create-account.sh
│ └── get-token.sh
└── {NN}-{topic}/ # Test suites by Story
└── test-{slug}.shtests/manual/
├── config.sh # Shared configuration (BASE_URL, helpers, colors)
├── README.md # This file
├── test-all.sh # Run all test suites
├── 00-setup/ # Account & token setup (if auth required)
│ ├── create-account.sh
│ └── get-token.sh
└── {NN}-{topic}/ # Test suites by Story
└── test-{slug}.sh| Suite | Story | AC Covered | Run Command |
|---|---|---|---|
| — | — | — | — |
| Suite | Story | AC Covered | Run Command |
|---|---|---|---|
| — | — | — | — |
{NN}-{topic}/test-{slug}.shtest-all.shundefined{NN}-{topic}/test-{slug}.shtest-all.shundefined#!/bin/bash#!/bin/bashundefinedundefined#!/bin/bash#!/bin/bashundefinedundefined| Template | Use Case | Location |
|---|---|---|
| template-api-endpoint.sh | API endpoint tests (NO async jobs) | template-api-endpoint.sh |
| template-document-format.sh | Document/file processing (WITH async jobs) | template-document-format.sh |
cp references/templates/template-api-endpoint.sh {NN}-feature/test-{feature}.sh # Endpoint tests
cp references/templates/template-document-format.sh {NN}-feature/test-{format}.sh # Document tests| 模板 | 适用场景 | 位置 |
|---|---|---|
| template-api-endpoint.sh | API端点测试(无异步任务) | template-api-endpoint.sh |
| template-document-format.sh | 文档/文件处理(含异步任务) | template-document-format.sh |
cp references/templates/template-api-endpoint.sh {NN}-feature/test-{feature}.sh # Endpoint tests
cp references/templates/template-document-format.sh {NN}-feature/test-{format}.sh # Document teststests/manual/shared/templates/test_task_template.mddocs/templates/shared/references/risk_based_testing_guide.mdtests/manual/shared/templates/test_task_template.mddocs/templates/shared/references/risk_based_testing_guide.md