Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for game test

A game testing and game technology, applied in the field of computer applications, can solve the problems of inability to guarantee a game of cards, difficult game testing, inability to guarantee testing to various card types, etc., to reduce testing costs, good scalability, and easy maintenance. Effect

Active Publication Date: 2015-10-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the game has an obvious logical flow, it is difficult for the user to ensure that the logical flow of the game can be carried out smoothly by pressing random buttons. Ensure that other users who play the game cooperate with the test. In addition, there is no guarantee that various card types will be tested. For example, in the QQ Farm game test, users can not guarantee that they can completely test the process of fruits and vegetables from sowing to maturity by pressing random buttons, nor can they Ensure that other users who play the game cooperate with the test, and there is no guarantee that the growth process of various fruits and vegetables can be tested
Due to such shortcomings, it is difficult to effectively test games using existing testing methods

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for game test
  • Method and device for game test
  • Method and device for game test

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0040] Please refer to FIG. 2 , which is a flow chart of the game testing method provided by the first embodiment of the present invention. The method can be a testing process performed by a game testing device; the game testing device can run on equipment such as the above-mentioned terminal equipment, server, etc., and the game testing method can include the following steps 201-209:

[0041] Step 201, obtaining all states of each test unit of the game to be tested and relevant data required during the operation of each test unit;

[0042] The above-mentioned games to be tested can be various types of games, including online games and stand-alone games. The game to be tested can be installed on the test device, and the user logs in the game to be tested on the test device. When the game to be tested is an online game, the game to be tested is run by interacting with the server, and the above-mentioned game is processed according to the running result. The game to be tested i...

no. 2 example

[0059] Please refer to image 3 , is a flow chart of the game testing method provided in the second embodiment of the present invention. The method can be a testing process performed by a game testing device; the game testing device can run on devices such as terminals and servers; it is compatible with Figure 2A The game testing method shown is similar, with the difference that Figure 2A After step 203, the method may further include: step 301.

[0060] Step 301, configure conditional data and log files on the logical branches between the states of the state machine corresponding to each test unit according to the relevant data obtained for each test unit, wherein the condition data is for each test unit in The various conditions required in the state transition process, the log file is used to record the operation process allowed on the logical branch between the states in the state machine corresponding to each test unit, and the end of each test unit at the end of norm...

no. 3 example

[0064] Please refer to Figure 4 , is a flow chart of the game testing method provided by the third embodiment of the present invention. The method can be a testing process performed by a game testing device; the game testing device can run on devices such as terminals and servers; it is compatible with image 3 The game testing method shown is similar, with the difference that image 3 Step 207 can be refined into the following steps 401-403.

[0065] Step 401, implant a monitoring script in the game to be tested to monitor the currently running test unit of the game to be tested, call the test script corresponding to the running test unit, and control the running test script through the test script corresponding to the running test unit The test unit runs between the states of the corresponding state machine;

[0066] Wherein, the above-mentioned monitoring script is pre-generated, and its function is to monitor the currently running test unit of the game to be tested, so...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention disclose a method and a device for game tests. The method comprises: acquiring all states of each test unit of a to-be-tested game and related data required in an operating process of each test unit; according to the required all states of each test unit and the related data, establishing state machines respectively corresponding to each test unit; according to the established state machines corresponding to each test unit, generating testing scripts respectively corresponding to each test unit, and implanting the testing script corresponding to each test unit to game development environment; calling the testing script corresponding to each test unit in sequence, controlling each test unit to operate among states of the corresponding state machine; and acquiring an operation result of each test unit of the to-be-tested game, analyzing the operation result to obtain a test result of the to-be-tested game. The method and the device can be used to test games rapidly and effectively.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a game testing method and device. Background technique [0002] With the rapid development of network technology, there are more and more types of application products. Common application products include games, which include online games (such as QQ games, WeChat games, etc.) and stand-alone games. From the development to the launch of a new game, it often needs to be revised and tested repeatedly to test its stability under long-term use. If the stability meets the predetermined requirements, it can be considered to be launched on the market. If too much time is spent in the testing phase and the launch of the game is delayed, a large number of users may be lost. [0003] The method for testing games in the prior art is usually as follows: after the user logs in the game to be tested on the client terminal, he operates the game through random keys; and obtains th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 薛鹏孙广元宋潇捷
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products