Skip to content

基于Laya引擎的微信小游戏自动化测试工具 WeChat minigame automation test tool

Notifications You must be signed in to change notification settings

audyzhu/Minigame_Autotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Minigame_Autotest

基于Laya引擎的自动化测试工具 注入autoTest.js进去相关小游戏,即可录制回放点击操作,实现基本自动化测试

SDK

目前只支持录制点击回放点击,滑动录制后期有时间也会加进来,其中核心函数是recordingData()通过重载派发函数来实现对操作录制

Server

由于微信连接的限制,只支持https和websocket,所以这边使用的是websocket,需要安装一下开源的服务器,python很方便的一个websocket库,不过不支持WSS,只支持WS。 安装方法:
pip install git+https://github.com/Pithikos/python-websocket-server
pip install websocket-server
可以直接拷贝websocket-server.py到你项目对应运行目录

About

基于Laya引擎的微信小游戏自动化测试工具 WeChat minigame automation test tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published