ecnusse /Kea2

Fusing automated UI testing with scripts (property-based testing) for effectively fuzzing Android apps

★ 300⑂ 31👁 4⑃ 193● 38▤ 40
HTMLNOASSERTIONCreated 2025-04-02mobile-app-analysis.github.io/
Download: Kea2 v1.2.4Kea2-1.2.4 ↓1.2.42026-07-29
+1
Daily
300
stars
31
forks
4
watchers
193
prs
38
issues
40
releases

README

!Python



 

English | 简体中文





Kea2's logo: A large parrot skilled in finding "bugs"




 :blue_book: User Manual | :blue_book: 用户手册

 About 

Kea2 is an easy-to-use tool for fuzzing mobile apps. Its key novelty is able to fuse automated UI testing with scripts (usually written by human), thus empowering automated UI testing with human intelligence for effectively finding crashing bugs as well as non-crashing functional (logic) bugs. 

Kea2 is currently built on top of Fastbot 3.0 (a modified/enhanced version of the original FastBot 2.0), an industrial-strength automated UI testing tool from ByteDance, and uiautomator2, an easy-to-use and stable Android automation library. 
Kea2 currently targets Android) apps. 


https://github.com/user-attachments/assets/6120d8f5-5a9d-4ead-b27e-840c8757e28e




 Novelty & Important features


    
     
    


- Feature 1(查找稳定性问题): coming with the full capability of Fastbot for stress testing and finding stability problems (i.e., crashing bugs); 

- Feature 2(自定义测试场景\事件序列\黑白名单\黑白控件[^1]): customizing testing scenarios when running Fastbot (e.g., testing specific app functionalities, executing specific event traces, entering specifc UI pages, reaching specific app states, blacklisting specific activities/UI widgets/UI regions) with the full capability and flexibility powered by python language and uiautomator2;

- Feature 3(支持断言机制[^2]): supporting auto-assertions when running Fastbot, based on the idea of property-based testing inheritted from Kea, for finding logic bugs (i.e., non-crashing functional bugs).

    For Feature 2 and 3, Kea2 allows you to focus on what app functionalities to be tested. You do not need to worry about how to reach these app functionalities. Just let Fastbot help. As a result, your scripts are usually short, robust and easy to maintain, and the corresponding app functionalities are much more stress-tested!

The ability of the three features in Kea2

|                                                  | Feature 1 | Feature 2 | Feature 3 |
| ------------------------------------------------ | ------------- | ------------- | ------------- |
| Finding crashes                              | :+1:          | :+1:          | :+1:          |
| Finding crashes in deep states               |               | :+1:          | :+1:          |
| Finding non-crashing functional (logic) bugs |               |               | :+1:          |


 Kea2's Users

Kea2 (and its idea) has been used/integrated by



  
    
    
    
  
  
    
    
    
  



- DevEco Studio --- Huawei's IDE for HarmonyOS, leveraging Kea2 to power its internal quality assessment tool, AppAnalyzer.

- WeChat Payment's UAT --- WeChat Payment's in-house testing platform (fully automated property-based testing by synthesizing properties from the system specifications)

- ByteDance's Fastbot

- WeChat's iExplorer --- WeChat's in-house testing platform (coming with an interactive UI-based tool to ease writing scripts)

- OPay Busine

Discussions

Latest release

Kea2 v1.2.4 v1.2.4 2026-07-29
What's Changed
 Fix fbm merge for new Fastbot3 Algorithm by @majuzi123 in https://github.com/ecnusse/Kea2/pull/210
 add u2-webview by @YuYoungG in https://github.com/ecnusse/Kea2/pull/222
 feat: workflow(sync_releases_to_feishu) by @majuzi123 in https://github.com/ecnusse/Kea2/pull/224
 log test duration & total events while generating bug report by @XixianLiang in https://github.com/ecnusse/Kea2/pull/226
 feat: support historical Fastbot SO versions by @XixianLiang in https://github.com/ecnusse/Kea2/pull/232
 Fix compatibility issues on Android 16.1 and later. @XixianLiang 
 Fix an iss

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON