IOS) Game Development) iOS game Testing Process

Source: Internet
Author: User

Background
1. A mobile game v1.0 has been released to the App Store;
2. this mobile game does not support multi-version client compatibility. That is to say, if the current server version is v2.0, you will be prompted to upgrade when you open the v1.0 client; otherwise, you will not be able to enter the game;
3. the player's primary key in the database is determined by the Device ID and Game Center ID;
4. There are two teams: one is the development team and the other is the operation team );
5. QA indicates the person who provides the version, and QC indicates the person who uses the test version;
6. when the game is installed for the first time, the game's Documents folder on the device is empty, and the game archives are kept in this folder. The new version is installed without being uninstalled, the file in Documents is still the original content.

Purpose
I always feel that the test process I will talk about later is not the best. If you have a better solution, please kindly advise.

For ease of expression, the conventions are as follows:
1. There are two test environments: dev team maintenance and ops team maintenance. They are called dev-env and ops-env respectively;
2. each test environment has two sub-servers (each sub-server can be understood as a server. Of course, this is simplified. In actual situations, a server may consist of several sub-servers ), the dev-env machines are called dev-cert and dev-prod, respectively, the two ops-env servers are called ops-cert and ops-prod (this is actually the server of real players );
3. the client first connects to the prod. When it finds that the prod version is earlier than the client version, it connects to the cert. The version number here refers to the internal version number, it is not the version number shown on the App Store;

The following is a simulation of upgrading from v1.0 to v2.0. Before that, all server versions were v1.0.

Test procedure 1: dev-env
1. QA deploys v2.0 to dev-cert and sends the v2.0 client to QC. QC deletes all related old versions on the device and installs v2.0;
2. At this time, because dev-prod is v1.0, the actual connection is dev-cert, and QC performs full test, which takes about one to two days;
(Step 1 is to test v2.0 separately)
3. QC deletes v2.0 from the device and installs v1.0. In this case, dev-prod should be connected, and the archive should be read from the database for a while and the game should be played;
4. QA deploys v2.0 to dev-prod. At this time, the v1.0 on the QC device should prompt a new client version. You can only click the update button to go to the game page on the App Store, otherwise, you cannot continue playing v1.0;
5. QC installs v2.0 without deleting v1.0. The purpose of not deleting v1.0 is to keep the original local archive file of the client, because the real players will not delete it and then install it, then QC performs a simple test;
(Steps 3rd, 4, and 5 are used to upgrade the test version and read the archive. QC should record a Game Center ID on a device and connect to a server, progress of the completed game)
6. QC deletes the v2.0 on the device and reinstalls the v2.0 client. This is the first time that some players have installed the new version;
7. QA manually modifies the dev-prod version to v3.0. At this time, QC opens the v2.0 client to check whether any upgrade is prompted;
8. QC sends the dev-env test report;

After the above eight steps are complete, go to the ops-env test process.

Ii. ops-env
9. QA re-creates a v2.0 client and sends it to QC;
10. QA sends a v2.0 server package to the ops team. The ops team deploys v2.0 to ops-cert;
11. QC full test takes about one day. In this case, the actual connection is ops-cert because ops-prod is still v1.0;
12. QC sends the ops-env test report;
13. ops-team sends the v2.0 client to Apple for review. During Apple review, ops-cert is actually used;
14. After Apple passes the review, the ops-team release v2.0 client deploys the v2.0 server to ops-prod.

If there is any problem with any of the above steps, you must start from scratch.

Summary
At present, it is estimated that in the case of four QC, from step 1 to step 2, it will take about three days to complete in case of any smooth operation. If there is a problem in the middle, I don't know how long it will take, so I feel that this process is not very good. If you have a good idea, please feel free to give me some advice.


-Chen taobao.com
Personal ID:Iamcdz

Public Account:Ichenxiaodao


Document Information

  • Copyright statement: Free Reprint-non commercial-Non derivative-keep the signature | Creative Commons BY-NC-ND 3.0
    • Http://blog.csdn.net/cdztop/article/details/19100355
      • Last modification time: February 12, 2014

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.