搜索结果
jest
找到 6 个相关结果 / Testing
Testing / Automation
测试驱动开发
test-driven-development
在实现任何功能或修复缺陷时使用,在编写实现代码之前。
Testing / Automation
vitest
vitest
Vitest 是由 Vite 驱动的快速单元测试框架,提供与 Jest 兼容的 API。适用于编写测试、Mock、配置覆盖率或处理测试……
Testing / Automation
后端测试
backend-testing
编写全面的后端测试,包括单元测试、集成测试和 API 测试。适用于测试 REST API、数据库操作、身份验证等场景。
Testing / Automation
测试策略
testing-strategies
为软件质量保障设计全面的测试策略。在规划测试覆盖率、实施测试金字塔或搭建测试……时使用。
Testing / Automation
TDD 工作流
tdd-workflow
在编写新功能、修复 Bug 或重构代码时使用此技能。强制推行测试驱动开发,确保 80% 以上的覆盖率,包括单元测试、集成测试……
Testing / Automation
react-native-testing
react-native-testing
使用 React Native Testing Library (RNTL) v13 和 v14 (`@testing-library/react-native`) 编写测试。在编写、审查或修复 React Native 组件测试时使用。涵盖:render、screen、查询 (getBy/getAllBy/queryBy/findBy)、Jest 匹配器、userEvent、fireEvent、waitFor 以及异步模式。支持 v13(React 18,同步渲染)和 v14(React 19+,异步渲染)。触发条件:React Native 组件的测试文件、RNTL 导入,或提及 "testing library"、"write tests"、"component tests" 或 "RNTL"。