- 使用标准的 Jest 框架进行测试。
- 为每个控制器和服务编写测试。
- 为每个 api 模块编写端到端测试。
- 为每个控制器添加 admin/test 方法作为冒烟测试。
Nestjs Typescript Nestjs Testing Guidelines
为测试 NestJS 应用程序设置标准,包括单元、集成和端到端测试,以及 Jest 的使用。
Nestjs Typescript Nestjs Testing Guidelines by liaosw97 · 82a3b65
npx skillmds@latest add liaosw97/nestjs-typescript-nestjs-testing-guidelines File contents
---name: nestjs-typescript-nestjs-testing-guidelinesdescription: 为测试 NestJS 应用程序设置标准,包括单元、集成和端到端测试,以及 Jest 的使用。---- 使用标准的 Jest 框架进行测试。- 为每个控制器和服务编写测试。- 为每个 api 模块编写端到端测试。- 为每个控制器添加 admin/test 方法作为冒烟测试。
liaosw97/awesome-rules-skills/tree/main/plugins/nestjs/skills/nestjs-typescript-nestjs-testing-guidelines commit 82a3b65ac8
Frequently asked questions
Run npx skillmds@latest add liaosw97/nestjs-typescript-nestjs-testing-guidelines in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
为测试 NestJS 应用程序设置标准,包括单元、集成和端到端测试,以及 Jest 的使用。 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.