搜索插件、代码仓与 APP 分类

fluttium_cli 封面
插件详情v0.1.2

fluttium_cli

Fluttium 的命令行界面,一个用于 Flutter 的用户流程测试框架

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
232
喜欢数
21
Pub 分数
140

安装插件

flutter pub add fluttium_cli

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Fluttium CLI 是一个命令行工具,用于 Fluttium,这是一个专为自动化和验证 Flutter 应用程序中的用户流程而设计的测试框架。它使开发者能够定义、运行和管理模拟跨多个平台的真实用户交互的端到端测试。CLI 简化了测试执行、配置和报告,使将测试集成到 CI/CD 流水线中变得更加容易。支持 Android、iOS、Web、macOS、Windows 和 Linux,Fluttium CLI 确保在所有目标环境中的一致性测试。

适合场景

  • 自动化用户流程验证
  • 将测试集成到CI/CD流水线中
  • 跨平台端到端测试
  • UI工作流的回归测试
  • 测试复杂的导航序列

主要特点

  • 平台无关的测试执行
  • 基于 YAML 的简单测试定义
  • 内置截图和视频录制
  • 真实设备和模拟器支持
  • 详细测试报告
  • 与 Flutter 项目的无缝集成

适合对象

  • Flutter 团队实践自动化测试
  • 专注于UI可靠性的开发人员
  • 需要跨平台一致性的项目
  • CI/CD 驱动的开发工作流
  • 采用行为驱动测试的团队

使用建议

  • 需要了解 Fluttium 的测试语法
  • 复杂场景可能需要额外的设置
  • 受限于 Fluttium 的测试模型
  • 最适合以用户界面为中心的工作流程
  • 依赖稳定的网络和设备访问

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

fluttium logo

ci coverage style: very good analysis License: MIT Powered by Mason


Fluttium, the user flow testing tool for Flutter.

Fluttium Demo

Packages

Package Pub
fluttium pub package
fluttium_cli pub package
fluttium_driver pub package
fluttium_interfaces pub package
fluttium_protocol pub package

Actions

Action Pub
log_action pub package

Quick Start

# 📦 Install from pub.dev
flutter pub global activate fluttium_cli

# 🖥 Create a test flow file
fluttium new flow my_flow --description "My cool flow"

# 🧪 Run a test flow file
fluttium test my_flow.yaml

Documentation

View the full documentation here.

Examples

The example directory contains example user flows that are written for the example application.

These tests are used for testing of new features and will be kept up to date.

Contributing

Have you found a bug or have a suggestion of how to enhance Fluttium? Open an issue and we will take a look at it as soon as possible.

Do you want to contribute with a PR? PRs are always welcome, just make sure to create it from the correct branch (main) and follow the checklist which will appear when you open the PR.

所属分类

依赖

依赖清单 10 项

源码仓库

使用此插件的项目

暂无相关数据。