Although the small program is the introduction of new forms of products, but in testing ideas with other traditional testing, very different.
Since it's very different, how do we test it?
Functional Testing
Functional testing, like traditional web function testing, is not a functional test of the app. This is because small programs are integrated in.
So, how does the Web function test, the function of the applet to test
Compatibility test
Includes operating system compatibility, version compatibility
Operating System Compatibility:
On IOS, the logic code of the applet runs in JavaScriptCore, and on Android, the task is handed to the X5 kernel.
On the development tool, the JavaScript code for the applet is running in the nw.js (Chrome kernel). This also results in a difference in the effect of the development tool from the actual effect.
Version compatibility:
Compatibility issues with versions are mainly reflected in the version of the Applet API library, and some older versions of the Applet API libraries do not support the new API, and therefore there is a compatibility issue.
So before testing the compatibility of the version, determine which version number is supported for the library version used by the applet.
So the screen-size compatibility test should not be tested?
The applet defines a new dimension unit RPX (responsive pixel), in fact RPX is the system-level REM (divide the page 750 parts proportionally, 1rpx=window.innerwidth/750).
or scale scaling layout of the width=750. In other words, by RPX, developers only need to write code based on the 750 design, so, for testing, there is no need to worry about its suitability for each platform.
Performance testing
The performance of the applet is very similar to the Web performance test, and the common metrics for performance are roughly the same. Including the white screen time of the page, the first screen time, resource consumption, page rendering time, frame rate and so on.
Ease of Use:
How to test the usability of the web, how to test the usability of the applet
Functional Interaction:
In addition to the interaction of its own function, the applet also has an intersection with the client.
A. Entrance
One is the drop-down box of the chat page, a small program under the discovery module
B. Transactions
Small program to support the transaction, then it is associated with the purse, the card pack, is
Safety:
Small programs are embedded, so the security of the client is beyond doubt.
Just focus on the interface of the applet itself to pass the data security.