一键导入
load-and-test
Rebuild CDS artifacts, reload SQLite fixture data, and run the full test suite. Use after schema or service changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rebuild CDS artifacts, reload SQLite fixture data, and run the full test suite. Use after schema or service changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | load-and-test |
| description | Rebuild CDS artifacts, reload SQLite fixture data, and run the full test suite. Use after schema or service changes. |
| disable-model-invocation | true |
Run the following commands sequentially from the cap/ directory. Each step depends on the previous one succeeding.
Build CDS artifacts and typed models
cd cap && npm run build
This runs cds build and regenerates @cds-models/ via @cap-js/cds-typer.
Reload SQLite fixture data
cd cap && npm run load_sqlite
Runs convertData.js with the SQLite profile to populate db.sqlite.
Run full test suite
cd cap && npm test
Runs model + handler tests with a 60-second timeout.
Run the Wookieepedia scraper, convert data, load into SQLite, and verify with migration and full tests.
Use for end-to-end CAP change workflows: modify CDS/handlers, regenerate artifacts, and run a short verification checklist for this repository.