AI资讯大全AIPPXP.CN搜索 ↗
工具介绍 · 免费好用

e2e: Open Source AI Testing Framework for Apps Powered by Natural Language, # 1 on GitHub Trends (6300 + Star)e2e:用自然语言驱动 App 的开源 AI 测试框架,GitHub 趋势日榜第一(6300+ Star)

TesterArmy's next-generation end-to-end test framework: use one sentence to describe the goal (such as "upgrade the workspace to the Pro package"), the agent will go to the page, fill out the form, go through the process, and then verify the result with the locator and assertion in the same test. The web and mobile end are omnipresent, and the built-in agent steps to record and playback - the application does not change and does not burn the model repeatedly, and ordinary test cases do not need to call AI at all.

TesterArmy 出品的下一代端到端测试框架:用一句人话描述目标(比如「把工作区升级到 Pro 套餐」),智能体自己去点页面、填表单、走完流程,再用同一条测试里的定位器和断言验证结果。Web 和移动端通吃,自带智能体步骤录制回放——应用没变就不重复烧模型,普通测试用例更是完全不需要调用 AI。

2026-10-07 更新 · 免费
e2e:用自然语言驱动 App 的开源 AI 测试框架,GitHub 趋势日榜第一(6300+ Star)

AI steps + common assertions mixedAI 步骤 + 普通断言混着写

The writing is intuitive: in test, await app.open ('/settings/billing') opens the page, then await agent.act ('upgrade the workspace to the Pro plan') lets the agent operate, and finally await agent.assert ('the invoice preview shows a prorated amount') verifies the result, and then uses expect to assert the UI state.

The agent is responsible for "how to reach the target", the locator and the assertion are responsible for "the result is correct", and the two sides are written in the same test, which is much more stable than the pure prompt-driven test.

中文

写法很直觉:test 里先 await app.open('/settings/billing') 打开页面,再 await agent.act('upgrade the workspace to the Pro plan') 让智能体操作,最后 await agent.assert('the invoice preview shows a prorated amount') 校验结果,再用 expect 断言 UI 状态。

智能体负责「怎么到达目标」,定位器和断言负责「结果对不对」,两边写在同一条测试里,比纯 prompt 驱动的测试稳定得多。

AI 步骤 + 普通断言混着写

Recording playback: Apply unchanged without burning the model录制回放:应用不变就不烧模型

Each step performed by the agent will be recorded, and the next run will be directly played back as is, without calling any models; only when the application interface really changes, the path will be re-planned.

Ordinary tests without agent steps do not require a model at all and can be run locally with zero extra costs on CI.

中文

智能体执行的每一步都会被记录下来,下一次运行直接原样回放,不调用任何模型;只有当应用界面真的变了,才会重新规划路径。

不含智能体步骤的普通测试完全不需要模型,本地就能跑,CI 上零额外成本。

A set of frameworks for the web and mobileWeb 和移动端一套框架

npx e2e init interactive boot: select the engine (Web or Mobile), select the model service provider, and then automatically generate a configuration file and an example test that can run through.

The official examples directory comes with four independent projects: Vite, Next.js, Expo, and SwiftUI. Each comes with a full set of approved use cases, which can be copied to land on your own technology stack.

Flexible model access: Bring your own subscription, API Key, or local model, and switch freely from cloud to cloud.

中文

npx e2e init 交互式引导:选引擎(Web 或 Mobile)、选模型服务商,然后自动生成配置文件和一条能跑通的示例测试。

官方 examples 目录自带 Vite、Next.js、Expo、SwiftUI 四个独立工程,每个都带全套通过的用例,照着抄就能落地自己的技术栈。

模型接入灵活:自带订阅、API Key 或本地模型都行,云上云下随意切换。

Download instructions下载说明

The download button provides the complete source code package of the main branch of the project (about 5.1 MB), including the framework source code, four sample projects and all documents; after unzipping, pnpm install & & npx e2e init can be started.

中文

下载按钮提供项目 main 分支完整源码包(约 5.1 MB),含框架源码、四个示例工程与全部文档;解压后 pnpm install && npx e2e init 即可开始。

Use reminder使用提醒

The agent will drive the real browser or simulator to perform operations, please only run in the test environment, do not point to the production environment; accessing the cloud model will incur call costs, and the budget is limited to cut the local model. This article is compiled from self-disclosure materials. The resources are for learning and communication only. Please follow the project Apache-2.0 license.

中文

智能体会驱动真实浏览器或模拟器执行操作,请只在测试环境运行,不要对着生产环境点来点去;接入云端模型会产生调用费用,预算有限可切本地模型。本文整理自公开资料,资源仅供学习交流,请遵循项目 Apache-2.0 许可。

资源下载 · Download

⬇ Download · 点击下载:e2e 测试框架 main 分支源码包(约 5.1 MB)

来自 GitHub 开源仓库 tester-army/e2e(Apache-2.0 许可),含框架源码、Vite/Next.js/Expo/SwiftUI 示例工程与文档

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告