What is a small program
Is a small program do not need to download and install to use the application, which implements the application "within reach" of the dream, or the user sweep the search about to open applications. Also reflects the "throw-away" concept, users do not care whether the application is installed too many problems. Applications will be everywhere, ready to use, but do not need to install uninstall.
Log in micro-channel public account
Development> Developer mode
Features applet
1. The web-like non-HTML5
2. That by and go, readily available
3. have offline capabilities
4. The micro-channel based on cross-platform
The comparable to native operating system
Small program entry
1. The scan code into the applet
2. Search applet
3. applet sent to the desktop (Android)
4. Send to a friend
Architecture applet
Applet micro-channel frame consists of two parts, view view layer, APP service logic layer, view layer structure used to render the page, processing logic AppServer layer is used, the data request. Interface calls, they run two threads inside.
Layer uses webview view rendering using logical layer jscore operation.
And logical view of the system through communication JSbridage layer, the logical layer to the view change notification data layer, layer view of a starting page is updated, the departure time view layer notifies the service processing logic layer.
--------------------------
View layer logic level system layer
----------------------
A small test program
1. Functional Test
Entry
Export
Boundary value
Interactive page - page interactive micro letter applet
Test system issues - low power to the telephone, the data line plug charging state, restart and so on.
2. Test page
Whether the design is beautiful
Whether symbol of needs
Size is reasonable
For horizontal and vertical screen switch between different phone resolution and size requirements for compliance.
3. Compatibility Test
Operating system iOS, Android
Micro-channel version - api (Interface Library) applet
Other micro-channel applet
Screen size and resolution factor
4. The function of the micro-channel interaction test
Entrance --- drop-down box, find the module search
Trading - micro letter wallets, micro-channel card package
Switch the micro-channel other functions - grab red, text chat, voice chat, video calls.
5. Performance Test
1. page response time
2. possession of resources
3. rendering time
4. Time black and white
The frame rate
6. Safety tests
1. Test Interface (security of data transmission)
2. Micro accounts Authorization Letter
3. The account number associated with the applet APP
Test Methods
功能测试:以手动功能为主。
对开发者来说:软件开发者工具新增小程序测试系统。
云测试平台:http://utest.21kunpeng.com/(租用云真机进行测试)
测试人员:http://airtest.netease.com/(airtest进行自动化测试)
airtest自动化测试
如果自己没有代码基础,可以忽略这个版本的自动化测试。这是一个款可以测试APP与小程序的自动化测试工具。
可以参考如下:
https://www.cnblogs.com/fnng/p/10247339.html
转载于:https://www.cnblogs.com/Chamberlain/p/10991162.html