自动

Auto - 一个更简单的 Flutter UI 自动化测试解决方案。

  • 无需编写任何代码
  • 录制测试脚本非常简单
  • 多平台支持
  • 像素级回放
  • 远程录制和回放
  • ...
screen

入门

1. 添加依赖

dependencies:
  auto: latest-version

2. 初始化 UIAutomator

import 'package:auto/auto.dart';
void main() {
  UIAutomator.ensureInitialized(); //Make sure this line is at the top of the code
  runApp(UIAutomatorArea(child: MyApp()));
}

有关更详细的配置,请参阅 示例 项目

IDE 安装

查看: Auto Ide

用法

GitHub

https://github.com/auto-flutter/auto