什么是 angular-testing?
使用 Jest 和 @testing-library/Angular 为 Angular v21+ 应用程序编写单元和集成测试,重点关注以用户为中心的测试、AAA 模式和现代 Angular 模式(独立组件、信号)。用于测试组件、服务以及与 Jest 全局变量和测试库 DOM 匹配器的 HTTP 交互。 来源:zard-ui/zardui。
使用 Jest 和 @testing-library/Angular 为 Angular v21+ 应用程序编写单元和集成测试,重点关注以用户为中心的测试、AAA 模式和现代 Angular 模式(独立组件、信号)。用于测试组件、服务以及与 Jest 全局变量和测试库 DOM 匹配器的 HTTP 交互。
通过命令行快速安装 angular-testing AI 技能到你的开发环境
来源:zard-ui/zardui。
Test Angular v21+ applications with Jest and @testing-library/angular, prioritizing user-centric testing over implementation details.
Each it block must be self-contained. Use beforeEach only for setup truly shared across all tests.
Use userEvent from @testing-library/user-event for realistic interactions instead of native DOM events.
使用 Jest 和 @testing-library/Angular 为 Angular v21+ 应用程序编写单元和集成测试,重点关注以用户为中心的测试、AAA 模式和现代 Angular 模式(独立组件、信号)。用于测试组件、服务以及与 Jest 全局变量和测试库 DOM 匹配器的 HTTP 交互。 来源:zard-ui/zardui。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/zard-ui/zardui --skill angular-testing使用 Jest 和 @testing-library/Angular 为 Angular v21+ 应用程序编写单元和集成测试,重点关注以用户为中心的测试、AAA 模式和现代 Angular 模式(独立组件、信号)。用于测试组件、服务以及与 Jest 全局变量和测试库 DOM 匹配器的 HTTP 交互。 来源:zard-ui/zardui。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/zard-ui/zardui --skill angular-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/zard-ui/zardui