「当前面临的挑战」: 遍历技术无业务功能感知:传统遍历工具如 monkey,fastbot 等,虽然可以自动注入 GUI 事件,但其对应用功能无感知,无法理解业务逻辑。
这带来以下两个问题:
- 难以进入应用深层状态:当某些功能场景在应用的深层状态,需要通过一段很长的业务功能路径才能到达时,遍历工具会因缺乏业务知识而难以自动遍历进入此状态。
- 无法检查业务逻辑错误:因为遍历工具无应用的业务知识,遍历过程中无法检查应用的业务逻辑错误。
为了解决上述挑战,我们提出了应用功能驱动的自动化测试技术,同时开源了应用功能驱动的自动化测试工具Kea2。 (https://github.com/ecnusse/Kea2)
本次分享将介绍团队在这些方面的探索成果,以及应用功能驱动的测试工具如何在具体业务场景中应用。
分享大纲:
- 问题现状与问题分析
- 基于性质测试技术
- 基于性质的 GUI 测试工具——Kea2
Current Challenges: Traversal tools lack business functionality awareness: Traditional traversal tools like Monkey Test and Fastbot can automatically inject GUI events, but they lack awareness of application functionality and cannot understand business logic. This leads to two key issues:
- Difficulty Reaching Deep Application States: When certain functional scenarios reside in deep application states, requiring traversal through lengthy business logic paths, traversal tools struggle to automatically reach these states due to their lack of business knowledge.
- Inability to Detect Business Logic Errors: Since traversal tools lack application business knowledge, they cannot check for business logic errors during the traversal process.
To address these challenges, we propose application-functional-driven automation testing technology and have open-sourced the application-functional-driven automation testing tool Kea2. (https://github.com/ecnusse/Kea2)
This presentation will share our team's exploration outcomes in these areas and demonstrate how application-functional-driven testing tools are applied in specific business scenarios. Presentation Outline:
- Current Challenges and Problem Analysis
- Property-Based Testing Technology
- Property-Based GUI Testing Tool—Kea2