其他
技能
dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
deepseek-harnessdeepseek-harness-plugindsh-bundledsh-ctest
PROJECT TOPICS
PROJECT README
解析 OpenAPI 3.x(JSON / YAML),为每个接口生成覆盖 成功 2xx / 缺少必填路径参数 / 非法枚举值 的接口测试用例,输出 Python(pytest + requests)或 TypeScript(vitest + fetch)测试骨架。纯 Node 实现,无网络、无外部服务。
| 工具 | 作用 |
|---|---|
gen_tests |
解析规范,生成接口测试文件(pytest 或 vitest) |
dsh plugin add dsh-api-testgen
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-api-testgen"。
根据 openapi.yaml 生成 Python 接口测试
→ 调用 gen_tests(spec="openapi.yaml", lang="python")
生成 TypeScript(vitest) 接口测试
→ 调用 gen_tests(spec="openapi.yaml", lang="typescript", outDir="./src/__tests__")
BASE_URL。dsh-api-contract(客户端)、dsh-api-mock(Mock 服务器)配合,构成 API 开发三件套。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。