当前位置:网站首页>Minitest -- applet automation testing framework
Minitest -- applet automation testing framework
2022-07-28 14:20:00 【Programmer Achang】
Readers ask questions :
Is there any recommended framework for automated testing of small programs ?
Achang replied :
Yes ,MiniTest.
Official website address :
https://minitest.weixin.qq.com
Applet test example :
https://git.weixin.qq.com/minitest/miniprogram-demo-test
Ah Chang reads in pieces :
At present, the volume of small programs is getting larger and larger , There are more and more related frameworks and component libraries , The requirements for test capability are also higher and higher . Industry peers based on Chrome DevTools Protocol Developed a lot of small program related testing tools , These tools have the following disadvantages :
Only in Android Run on end . Applet is actually a cross platform product (IDE,Android and IOS), Insufficient platform coverage for testing .
Compatibility issues . The kernel running at the bottom of the applet is diversified (x5, Native webview Kernel and so on ), The corresponding debug port may not be able to be opened .
Can only do UI Related tests . The applet architecture is divided into rendering layer and logic layer , These frameworks have great restrictions on the testing above the logical layer .
MiniTest official
and minium In addition to the above shortcomings, there are none , The following additional features are also supported
Support a set of scripts ,iOS & Android & Simulator , Three terminal operation
Provide a rich way of page Jump , You can get it if you can't see it
Can get and set applet page data , Let the test be more than a little bit
You can trigger applet element binding events directly
Support go to AppSerive Injection code snippet execution
Can call part wx Interface on object
Support Mock wx Interface on object
Support Hook wx Interface on object
adopt suite Mode management use case ,config Manage operating equipment
...
MiniTest official
Temporary does not support
H5 Page debugging
Real machine debugging 2.0
MiniTest
After reading today's sharing, is it enlightening for you , If you have any idea, you are welcome to send a private message backstage, ah Chang , Discuss and communicate with each other

.
边栏推荐
猜你喜欢

超好用的手机录屏软件推荐

如何有效进行回顾会议(上)?

Implementation of StrCmp, strstr, memcpy, memmove

朗镜科技(Trax中国)“机器人+AI”开启中国零售元宇宙时代
![[lvgl events] Application of events on different components (I)](/img/a8/7c24e68f3506bbef3c2e922729471c.png)
[lvgl events] Application of events on different components (I)

Thesis study -- masked generative disintegration

草料二维码--在线二维码生成器

DXF reading and writing: align the calculation of the position of the dimension text in the middle and above

成为绿色数据中心新样板,东莞华为云数据中心是怎样炼成的?

Qt5开发从入门到精通——第一篇概述
随机推荐
Read how to deploy highly available k3s with external database
【Try to Hack】HFish蜜罐部署
如何有效进行回顾会议(上)?
PowerDesigner creates a database model (conceptual model example)
Several solutions to spanning
Implementation of StrCmp, strstr, memcpy, memmove
On websocket
Daily question - Scholarship
Intersectionobserver
Understand BFC features and easily realize adaptive layout
Duplicate data in leetcode (442) array
Diablo 4 ps4/ps5 beta has been added to the Playstation database
Thoroughly master binary search
在centos中安装mysql5.7.36
【Utils】CookieUtil
Literature reading (245) roller
QT自制软键盘 最完美、最简单、跟自带虚拟键盘一样
Alibaba, jd.com, Tiktok: push cloud to the heart of industry
Redis sentinel mechanism
开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能