·flutter-testing
</>

flutter-testing

madteacher/mad-agents-skills

全面的 Flutter 测试指南,涵盖单元测试、小部件测试和集成测试。使用 Flutter 应用程序编写函数/方法/类的单元测试,创建小部件测试来验证 UI 组件,开发端到端测试的集成测试,模拟依赖项和插件交互,调试常见测试错误,使用本机代码测试 Flutter 插件,以及在不同的构建模式(调试、配置文件、发布)下运行测试

251安装·25热度·@madteacher

安装

$npx skills add https://github.com/madteacher/mad-agents-skills --skill flutter-testing

SKILL.md

This skill provides comprehensive guidance for testing Flutter applications across all test types. Flutter testing falls into three categories:

A well-tested Flutter app has many unit and widget tests for code coverage, plus enough integration tests to cover important use cases.

| Confidence | Low | Higher | Highest | | Maintenance cost | Low | Higher | Highest | | Dependencies | Few | More | Most | | Execution speed | Quick | Quick | Slow |

全面的 Flutter 测试指南,涵盖单元测试、小部件测试和集成测试。使用 Flutter 应用程序编写函数/方法/类的单元测试,创建小部件测试来验证 UI 组件,开发端到端测试的集成测试,模拟依赖项和插件交互,调试常见测试错误,使用本机代码测试 Flutter 插件,以及在不同的构建模式(调试、配置文件、发布)下运行测试 来源:madteacher/mad-agents-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/madteacher/mad-agents-skills --skill flutter-testing
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 flutter-testing?

全面的 Flutter 测试指南,涵盖单元测试、小部件测试和集成测试。使用 Flutter 应用程序编写函数/方法/类的单元测试,创建小部件测试来验证 UI 组件,开发端到端测试的集成测试,模拟依赖项和插件交互,调试常见测试错误,使用本机代码测试 Flutter 插件,以及在不同的构建模式(调试、配置文件、发布)下运行测试 来源:madteacher/mad-agents-skills。

如何安装 flutter-testing?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/madteacher/mad-agents-skills --skill flutter-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/madteacher/mad-agents-skills