This article was originally published in: Walker AI
For game testing, SDK is the login window that pops up after opening the game, the account switch in the game setting, the payment window that is activated when recharging, and the incoming interface when checking the data in the background. This paper will introduce SDK and related function testing based on the game.
1. What is SDK?
Broadly speaking, SDK stands for Software Development Kit. Is usually some software engineer for a specific software package, software framework, hardware platform, operating system, establish a set of application software development tools, it can be as simple as a programming language provides some application program interface API documents, but can also include complex hardware can commune with some kind of embedded system. Generally includes utilities for debugging and other purposes. SDKS also often include sample code, supporting technical notes, or other supporting documentation that clarifies questions for basic reference materials.
2. Game testing and channel SDK
2.1 SDK in the game
So how should game testing understand the SDK, and how should channel SDKS be tested during testing? I’ll give you a more detailed explanation.
First of all, after clicking the icon to enter the game, we will apply the SDK in the login account stage. When the game is launched, there will be different channels according to the download mall, such as Xiaomi, B station, Huawei, etc. For different channels, their SDK is also different. Ultimately, there will be differences in login, payment, display, and so on.
Account login, in different games have different display, such as Tencent games QQ login, wechat login; Netease game’s email login method and account login method; The login method of Google and Facebook for overseas games is to click the login method on the interface, and then turn up the LOGIN window of SDK to enter the account password and finally enter the game. The following is the SDK login display of different channels.
So since the SDK of different channels is very different, different sources of the SDK will test respectively during the test, to ensure the integrity of gaming content, but between different channels is also based on the same mother different SDK package access, in addition to the SDK, morally other functions should be no difference, so the test function only when the smoke test, Reduce unnecessary tasks and waste precious time
2.2 SDK test points
SDK test, it is not the same for each company, based on your company’s SDK should be put in the first test, of course, need to integrate all the features of the SDK from the whole amount of tests, including login, logout, switch account, forgot password, login for tourists, the fatigue, real-name, minors, registration etc. All the test; As for the channel SDK of other channel packages, all the above functions also need to be tested when they are first accessed. In the subsequent version upgrade and maintenance, the channel will have corresponding personnel to test the functional changes of the channel SDK. We need to pay attention to payment and various login methods. Some other anti-addiction, real name and so on in need of change also need to be tested to achieve the second guarantee.
2.3 SDK to pay
Payment is the most important part of a game, so I’m going to separate it out here. The success and monetization of a game can be seen from payment, but what is the connection between payment and SDK? When making a payment in the game, click to buy an item in the game. Depending on the SDK, the payment page will be called up differently.
According to the different pages and payment, we need to test one by one, such as: alipay payment, WeChat, unionpay pay, QQ wallet, channel currency payment, etc., check to see if goods arrive after payment, deduct money correctly, commodity prices are correct, name of commodity display correctly, purchase items can use etc.
2.4 SDK interface test
Performance testing: Ensure that the SDK interface meets specific performance requirements, such as resource usage, mobile device power consumption, etc. During login, a large number of synchronous packets and offline packets may be received. Therefore, the resolution of these packets and the performance of local storage must be ensured. Otherwise, the login response may be slow or even blocked.
Compatibility testing: Ensure that the SDK is compatible with a particular device platform and with other software. Including horizontal screen games, vertical screen games, all kinds of special-screen mobile phones and all kinds of Android, IOS version number can be used normally. SDK compatibility testing needs to take into account emulator support, as many developers may develop on emulators first. Client SDK covers multi-platform devices, but also consider the interoperability of multi-message packets.
Network related test: Ensure that the SDK can receive and send messages normally under various network environments, which can also be called weak network test, similar to the RELATED functions of SDK in 2G, 3G, 4G, wifi and non-network environments, to ensure that the functions can be used normally. You can compare with competing games on the market to check the effect.
2.5 Data burying point
For a game, there are tens of thousands or even millions of players, so how to calculate their way of recharge and the amount of recharge? Here is the need to use the SDK interface, originally payment is integrated in the SDK a function, so through his interface to carry out statistics is certainly the most convenient
On the test, need to pay attention to the point is to ensure the accuracy of the data, such as prepaid phone platform, amount, time, orders, whether or not to use the coupons, etc., to ensure that the data can be accurate background receiving, if there is a problem in this aspect, it’s very serious oh, so make sure to carefully, cannot careless!
3. Summary
In short, the relationship between mobile game with the SDK is inseparable, as well as in the test, the SDK test belongs to the most important, if the wrong will affect the user login and paid, the impact will not be able to afford, and in every time updated version, almost all the SDK upgrades iteration, is more likely to lead to all sorts of problems, This is the most important time to test students carefully check, in case there is a problem affecting online players.
PS: more dry technology, pay attention to the public, | xingzhe_ai 】, and walker to discuss together!