搜索结果
fix
找到 9 个相关结果 / Testing
Testing / Automation
系统性调试
systematic-debugging
在遇到任何 bug、测试失败或意外行为时,在提出修复方案之前使用。
Testing / Automation
测试驱动开发
tdd
使用红-绿-重构循环的测试驱动开发。当用户希望使用 TDD 构建功能或修复 Bug、提及“红-绿-重构”、希望……时使用。
Testing / Automation
测试驱动开发
test-driven-development
在实现任何功能或修复缺陷时使用,在编写实现代码之前。
Testing / Automation
xlsx
xlsx
只要电子表格文件是主要输入或输出时,就使用此技能。这包括用户想要:打开、读取、编辑或修复现有……的任何任务。
Testing / Automation
诊断
diagnose
针对疑难缺陷与性能回退的严谨诊断循环:复现 → 最小化 → 假设 → 埋点 → 修复 → 回归测试。当用户……时使用。
Testing / Automation
TDD 工作流
tdd-workflow
在编写新功能、修复 Bug 或重构代码时使用此技能。强制推行测试驱动开发,确保 80% 以上的覆盖率,包括单元测试、集成测试……
Testing / Automation
Python 测试
python-testing
使用 pytest、TDD 方法论、测试夹具、模拟、参数化以及覆盖率要求的 Python 测试策略。
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"。
Testing / Automation
dart-添加单元测试
dart-add-unit-test
使用 `package:test` 为函数、方法和类编写并组织单元测试。在创建新逻辑或修复 Bug 时使用,以确保代码保持…