flutter-add-integration-test
Add Repeatable Flutter Integration Tests
Manual Flutter UI checks are difficult to repeat consistently. This skill guides MCP exploration, integration test authoring, execution, and optional performance profiling.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "flutter-add-integration-test" from https://skillstore.io/skills/flutter-flutter-add-integration-test.md and its manifest at https://skillstore.io/api/skills/flutter-flutter-add-integration-test/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“flutter-add-integration-test”。 Add an integration test for the sample counter screen.
预期结果:
- Test dependencies and a host driver are prepared for the application.
- The test checks an initial counter value of zero, taps the increment button, waits for frames, and expects one.
- Execution status is reported separately, including any missing device or environment requirements.
正在使用“flutter-add-integration-test”。 A test cannot find an item near the bottom of a lazy list.
预期结果:
- The diagnosis identifies that the item is not mounted until the list scrolls.
- The test scrolls the correct container until the keyed item is visible, then interacts and checks the resulting state.
- The result summary distinguishes code changes from verified test execution.
正在使用“flutter-add-integration-test”。 Prepare performance profiling for a scrolling test.
预期结果:
- The test journey is paired with timeline capture and a matching profiling driver.
- The driver summarizes the captured timeline and writes local timeline output with a performance summary.
- Measured performance results require running the instrumented test.
安全审计
安全All 51 static findings are false positives involving Markdown backticks, standard Flutter testing workflows, or a Dart entry point. No evidence found of credential theft, unauthorized reconnaissance, prompt injection, or malicious execution in the reviewed SKILL.md. The workflow includes local tool execution and optional Firebase APK uploads for testing.
风险因素
⚙️ 外部命令 (49)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/flutter-flutter-add-integration-test/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/flutter-flutter-add-integration-test?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/flutter-flutter-add-integration-test?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-flutter-add-integration-test/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/flutter-flutter-add-integration-test.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
flutter. (2026). flutter-add-integration-test security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-flutter-add-integration-test/audits/1BibTeX 引用
@techreport{flutter-flutter-flutter-add-integration-test-2026,
author = {flutter},
title = {flutter-add-integration-test security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-flutter-add-integration-test/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "flutter-add-integration-test security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "flutter"
date-released: "2026-10-24"
url: "https://skillstore.io/skills/flutter-flutter-add-integration-test/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-flutter-add-integration-test:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Add Initial UI Regression Coverage
Configure test dependencies and turn a key application interaction into a repeatable integration test.
Convert Exploratory Checks Into Tests
Inspect widgets through MCP, exercise a user flow, and preserve its expected behavior with stable selectors and assertions.
Investigate Scrolling Performance
Wrap integration test actions in timeline capture and use the profiling driver to produce local performance summaries.
试试这些提示
Add integration testing to this Flutter project. Inspect existing setup, configure SDK test dependencies, and create a simple test with a host driver.
Use available Dart/Flutter MCP tools to explore [user flow] with test data. Add stable widget keys and convert the interactions into integration tests.
Investigate [failing integration test] using its failure output. Check animations, lazy widgets, and selectors. Apply focused fixes and rerun on [target device].
Add timeline capture around [scrolling journey] with binding.traceAction(). Adapt the profiling driver to summarize scrolling_timeline data and report local output paths.
最佳实践
- Use a dedicated test entry point for Driver instrumentation and keep production entry points free of test-only initialization.
- Assign stable widget keys and synchronize frames or scrolling before interactions and assertions.
- Run tests with nonproduction data on the intended target, and review failures before claiming successful coverage.
避免
- Assuming MCP tools, ChromeDriver, or device targets are available without checking the environment.
- Applying pumpAndSettle blindly when infinite animations prevent the application from settling.
- Copying sample imports, widget names, or timeline keys without adapting them to the actual application.