CN113568837A - Application program testing method and device, electronic equipment and storage medium - Google Patents

Application program testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113568837A
CN113568837A CN202110872562.5A CN202110872562A CN113568837A CN 113568837 A CN113568837 A CN 113568837A CN 202110872562 A CN202110872562 A CN 202110872562A CN 113568837 A CN113568837 A CN 113568837A
Authority
CN
China
Prior art keywords
application program
test
data
terminal
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110872562.5A
Other languages
Chinese (zh)
Inventor
陈宇轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110872562.5A priority Critical patent/CN113568837A/en
Publication of CN113568837A publication Critical patent/CN113568837A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides an application program testing method, an application program testing device, electronic equipment and a storage medium, wherein the method comprises the following steps: after an application program of a terminal device is updated, acquiring a test experience rule of the application program; acquiring terminal data for uniquely identifying the terminal equipment; processing the terminal data by adopting the test experience rule to obtain test processing data; determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment. The embodiment of the invention can ensure that the same terminal equipment can not run the application program before updating but also run the updated application program, and the influence range of the fault caused by the updated application program becomes controllable.

Description

Application program testing method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an application program testing method, an application program testing device, electronic equipment and a storage medium.
Background
As is known, various applications such as games and the like continuously update the applications, so as to provide new game content to players and repair existing bugs (faults), and meanwhile, updating of the applications cannot avoid new faults.
However, due to the incompleteness of the current local control scheme, all players experience the updated application program at the same time, so that the influence range of new faults brought by the updated application program is uncontrollable.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide an application testing method and a corresponding application testing apparatus, electronic device, storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses an application program testing method, where the method includes:
after an application program of a terminal device is updated, acquiring a test experience rule of the application program;
acquiring terminal data for uniquely identifying the terminal equipment;
processing the terminal data by adopting the test experience rule to obtain test processing data;
determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
Optionally, obtaining the test experience rule of the application program includes:
acquiring a test rule identification and test comparison data of the application program from a server;
and acquiring a test experience rule corresponding to the test rule identifier.
Optionally, the determining, according to the test processing data, an operation logic of the terminal device when the application program is operated includes:
comparing the test processing data with the test comparison data to obtain a comparison result;
and determining the operation logic of the terminal equipment when the terminal equipment operates the application program according to the comparison result.
Optionally, the determining, according to the comparison result, an operation logic of the terminal device when the application program is operated includes:
when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal device is the application program before running and updating, and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal device is the application program after running and updating; or,
and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal equipment is the application program before running and updating, and when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal equipment is the application program after running and updating.
Optionally, after determining, according to the test processing data, an operation logic when the terminal device operates the application program, the method further includes:
acquiring log data generated when the updated application program is operated by the terminal equipment;
and submitting the log data to a server so that the server determines the fault of the application program according to the log data.
Optionally, after determining, according to the test processing data, an operation logic when the terminal device operates the application program, the method further includes:
when the updated application program is operated on the terminal equipment, user feedback data aiming at the application program is obtained;
and submitting the user feedback data to a server so that the server determines the fault of the application program according to the log data.
Optionally, the terminal data includes a MAC address.
The embodiment of the invention also discloses an application program testing device, which comprises:
the terminal equipment comprises a test experience rule acquisition module, a test rule processing module and a test rule processing module, wherein the test experience rule acquisition module is used for acquiring a test experience rule of an application program after the application program of the terminal equipment is updated;
the terminal data acquisition module is used for acquiring terminal data for uniquely identifying the terminal equipment;
the terminal data processing module is used for processing the terminal data by adopting the test experience rule to obtain test processing data;
the operation logic determination module is used for determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
Optionally, the obtaining test experience rule obtaining module is configured to obtain a test rule identifier and test comparison data of the application program from a server; and acquiring a test experience rule corresponding to the test rule identifier.
Optionally, the running logic determining module is configured to compare the test processing data with the test comparison data to obtain a comparison result; and determining the operation logic of the terminal equipment when the terminal equipment operates the application program according to the comparison result.
Optionally, the running logic determining module is configured to determine that the terminal device is the application program before running and updating when the comparison result is that the test processing data is greater than or equal to the test comparison data, and determine that the terminal device is the application program after running and updating when the comparison result is that the test processing data is smaller than the test comparison data; or when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal device is the application program before running and updating, and when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal device is the application program after running and updating.
Optionally, the apparatus further comprises: the log data submitting module is used for acquiring log data generated when the updated application program is operated by the terminal equipment; and submitting the log data to a server so that the server determines the fault of the application program according to the log data.
Optionally, the apparatus further comprises: the user feedback data submitting module is used for acquiring user feedback data aiming at the application program when the updated application program runs on the terminal equipment; and submitting the user feedback data to a server so that the server determines the fault of the application program according to the log data.
Optionally, the terminal data includes a MAC address.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the application program testing method are realized.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the application program testing method are realized.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, after the application program of the terminal equipment is updated, the test experience rule of the application program and the terminal data for uniquely identifying the terminal equipment are obtained, then the test experience rule is adopted to process the terminal data to obtain the test processing data, and the operation logic of the terminal equipment when the application program is operated is determined according to the test processing data, so that the updated application program can be tested on part of the terminal equipment. The test processing data of the embodiment of the invention is obtained by processing the terminal data based on the unique identification terminal equipment, so that the execution logic of the terminal equipment to the application program is determined based on the test processing data, the same terminal equipment can not run the application program before updating and the application program after updating, and the influence range of the fault caused by the application program after updating becomes controllable.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a method for testing an application program of the present invention;
FIG. 2 is a flow chart of one step of determining operational logic of the present invention;
FIG. 3 is a block diagram of an embodiment of an application testing apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Taking a game as an example, there are two local control schemes after the game is updated, specifically:
the first scheme is that the control is performed based on a server, different servers execute different codes, and simultaneously inform a client (for example, a terminal device such as a mobile phone or a tablet computer) through a special network protocol, and the client determines whether to experience a new version of a game according to the codes executed by the servers.
The second solution is that the client requests another server, where the server may be an http server, and determines whether to experience a new version of the game according to the value returned by the server. Specifically, the client side agrees a value range, and assumes that the value range is 0-100, a server value is set in the http server to represent the influence probability of the test, the client side requests the server for the value, and simultaneously locally generates a random value to be compared with the server value, if the random value is smaller than the server value, the client side experiences a new version of the game, for example, the client side generates a random value of 55, the server value is 60, and 55 is smaller than 60, the client side needs to experience the new version of the game.
As can be seen from the above description, the first solution has an obvious disadvantage that the client needs to be limited by the server, and whether the client experiences the new version of the game is determined before connecting to the server. The second scheme has the advantages that the limitation of the server is removed, and the second scheme is more flexible, but the second scheme determines whether the new version of the game is experienced or not based on the random value, and it can be understood that the random value is randomly generated every time the client is opened by the player, so that the new version of the game may be experienced last time, and the new version of the game does not need to be experienced next time. For example, assuming that the server value is 60, the random value generated when the player opens the client last time is 55, and the random value generated when the player opens the client next time is 80, the player needs to experience the new version of the game last time, and does not need to experience the new version of the game next time, so that the influence range of the fault caused by the new version of the game becomes uncontrollable.
In view of the above problems, an embodiment of the present invention provides an application program testing method, which generates test processing data for determining whether to run an updated application program based on terminal data that can uniquely identify a terminal device, so that the test processing data is the same for the same terminal device at any time when a player opens, and the test processing data does not need to be limited by a server and has stability, so that an influence range of a fault caused by the updated application program becomes controllable.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an application program testing method according to the present invention is shown, where the embodiment of the present invention may specifically include the following steps:
step 101, after an application program of a terminal device is updated, obtaining a test experience rule of the application program.
The test experience rule may be a mathematical operation rule, such as a remainder operation rule, a logical operation rule, and the like, and a piece of test processing data may be calculated according to the test experience rule, and whether to run the updated application program on the terminal device may be determined according to the test processing data.
In particular, the test experience rules may correspond to an updated application. For example, assuming that the application program is updated to a new version 1, the test experience rule of the application program of the new version 1 may be set as a remainder operation rule, and assuming that the application program is updated to a new version 2, the test experience rule of the application program of the new version 2 may be set as a logic operation rule. Therefore, the test experience rule is set according to the updated application program, and the updated application program can be randomly determined to be operated according to different test requirements.
In the embodiment of the invention, after the application program of the terminal equipment is updated, for example, after the game is updated, when the player opens the application program, the test experience rule of the game can be obtained.
And 102, acquiring terminal data for uniquely identifying the terminal equipment.
Wherein the terminal data may be a MAC address of the terminal device. Specifically, the MAC Address is generally called Media Access Control Address, which translates to a MAC Address, also called local area network Address (LAN Address), MAC Address, Ethernet Address (Ethernet Address) or Physical Address (Physical Address), and is an Address for confirming the location of the terminal device. The MAC address may be used to uniquely identify an end device in the network.
Specifically, according to the definition of the MAC address, the length of the MAC address is 6 bytes, the first 3 bytes are a manufacturer code number, and the last 3 bytes are a manufacturer serial number, so that the MAC address can uniquely identify one terminal device, and has stability.
And 103, processing the terminal data by adopting the test experience rule to obtain test processing data.
In the embodiment of the invention, after the player opens the application program, the MAC address of the terminal equipment is obtained, and then the terminal data can be processed according to the test experience rule to obtain the test processing data. For example, assuming that the test experience rule is a modulo operation rule, the modulo operation may be performed on the MAC address according to the modulo operation rule to obtain the test processing data.
104, determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
Specifically, the terminal device may run the updated application program, or may run the application program before the update. For example, assuming that a new game character is updated in the game, if the updated application is running on the terminal device, the player may experience the new game character, and if the application before the update is running on the terminal device, the player may not experience the new game character.
In the embodiment of the invention, after the test processing data is obtained, the operation logic of the terminal when the application program is operated can be determined according to the test processing data, and because the MAC address acts on the calculation test processing data, the stability of the test is ensured, and the situations that a certain terminal device starts to operate the updated application program for the first time and starts to operate the application program before the update for the second time can be avoided.
In the application program testing method, after the application program of the terminal equipment is updated, the testing experience rule of the application program and the terminal data for uniquely identifying the terminal equipment are obtained, then the testing experience rule is adopted to process the terminal data to obtain the testing processing data, and the operation logic of the terminal equipment when the application program is operated is determined according to the testing processing data, so that the updated application program can be tested on part of the terminal equipment. The test processing data of the embodiment of the invention is obtained by processing the terminal data based on the unique identification terminal equipment, so that the execution logic of the terminal equipment to the application program is determined based on the test processing data, the same terminal equipment can not run the application program before updating and the application program after updating, and the influence range of the fault caused by the application program after updating becomes controllable.
In an exemplary embodiment, the step 101 of obtaining the test experience rule of the application program may include the following steps:
acquiring a test rule identification and test comparison data of the application program from a server;
and acquiring a test experience rule corresponding to the test rule identifier.
The test rule identification is a code or name for identifying the test experience rule, and the test comparison data is a numerical value corresponding to the test experience rule.
Specifically, a test rule identifier for the application program may be preset in the server according to the application program, the test experience rule is stored in the terminal device, after the application program is opened on the terminal device, the terminal device requests the server for the test rule identifier, and then the terminal device acquires the corresponding test experience rule according to the test rule identifier.
In the above exemplary embodiment, the rules are enriched for different testing needs and different testing sample requirements, and only the corresponding testing experience rules need to be added by the client, and a new rule number is configured in the server.
In an exemplary embodiment, referring to fig. 2, the step 104 of determining an operation logic of the terminal device when the application is operated according to the test processing data may include the following steps:
step 201, comparing the test processing data with the test comparison data to obtain a comparison result;
step 202, determining an operation logic of the terminal device when the terminal device operates the application program according to the comparison result.
In the embodiment of the invention, the comparison result is obtained by comparing the test processing data with the test comparison data, and the operation logic of the terminal equipment for operating the application program is further determined according to the comparison result.
In an exemplary embodiment, the step 202 of determining an operation logic of the terminal device when the application program is operated according to the comparison result may include the following steps:
when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal device is the application program before running and updating, and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal device is the application program after running and updating; or,
and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal equipment is the application program before running and updating, and when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal equipment is the application program after running and updating.
In the embodiment of the invention, how to determine the operation logic of the terminal device to the application program can be set according to the test requirement. As an example, if the test processing data is 3 and the test comparison data is 5, and the comparison result is that the test processing data is smaller than the test comparison data, the terminal device runs the updated application program. As another example, if the test processing data is 3 and the test comparison data is 2, and the comparison result is that the test processing data is greater than the test comparison data, the terminal device runs the updated application program.
In an exemplary embodiment, after determining, in step 104, an operation logic when the terminal device operates the application program according to the test processing data, the method may further include the following steps:
acquiring log data generated when the updated application program is operated by the terminal equipment;
and submitting the log data to a server so that the server determines the fault of the application program according to the log data.
Specifically, when the updated application program is run on the terminal device, log data (log) is acquired, and then the log data can be submitted to the server, so that the server can analyze according to the log data, thereby determining some faults existing in the updated application program, for example, the skill value of a game role is too high, the reward of an activity is unreasonable to be issued, and the like, and further repairing the faults.
In another exemplary embodiment, after determining the operation logic of the terminal device when the application is operated according to the test processing data in step 104, the method may further include the following steps:
when the updated application program is operated on the terminal equipment, user feedback data aiming at the application program is obtained;
and submitting the user feedback data to a server so that the server determines the fault of the application program according to the log data.
Specifically, when the updated application program is run on the terminal device, the user feedback data fed back by the player for the application program may be acquired, so that the server may perform analysis according to the user feedback data, thereby determining some faults existing in the updated application program, such as unreasonable activity time, stiff actions in the game role, and the like, and further repairing the faults.
For example, it is assumed that the updated content of the application is 520 holiday activity, the 520 holiday activity is 5 months and 20 days, and the 520 holiday activity is opened to the player for experience, and in order to test the need, part of the players can experience the 520 holiday activity in advance, so that a developer finds possible problems according to feedback user data of the player and received log data, and further repairs the application, and the service is provided for a large number of players better.
In order to enable those skilled in the art to better understand the embodiments of the present invention, a specific example is used for the following description. Specifically, the process of determining the operation logic of the application program on the terminal device includes:
1. and acquiring the MAC address of the current network equipment of the user.
Specifically, according to the definition of the MAC address, the length of the MAC address is 6 bytes, the first 3 bytes are a manufacturer code number, and the last 3 bytes are a manufacturer serial number, so that the MAC address can uniquely identify one network device, and has stability.
2. And acquiring the value x and the rule number y from the http server.
Here, a parameter y is extended, which can be used to mark a rule to enrich the meaning of the value of x, for example, a probability of 1/x, or a probability of x%.
3. And processing the MAC address according to different rules, comparing the processed MAC address with x, and returning whether the test logic needs to be executed or not.
Assuming that a 1/x probability pattern is used, modulo x operation may be performed on the MAC address, and if modulo 0, the device is assumed to execute test logic, otherwise formal logic is executed. Similarly for the probability pattern of x percentile, the method used is modulo 100 operation, and if modulo is less than x, the test logic is assumed to be executed.
The advantages brought by the embodiment of the invention can be summarized from the steps, the MAC address is selected as a parameter in the first step, the stability of the test is ensured, and the situations that some equipment starts to execute the test logic for the first time and starts to execute the formal logic for the second time can be avoided. And the second step is to expand the traditional one parameter into two parameters, and the second parameter is a self-defined rule number, so that the expansibility is reserved on the basis of meeting the current requirement, the rules can be enriched according to different test requirements and different test sample requirements, and only the logic of a newly added rule is required to be added by a client and a new rule number is required to be configured by an http server.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of an application testing apparatus according to the present invention is shown, where the embodiment of the present invention may specifically include the following modules:
the test experience rule obtaining module 301 is configured to obtain a test experience rule of an application program after the application program of the terminal device is updated;
a terminal data obtaining module 302, configured to obtain terminal data for uniquely identifying the terminal device;
the terminal data processing module 303 is configured to process the terminal data according to the test experience rule to obtain test processing data;
an operation logic determination module 304, configured to determine, according to the test processing data, an operation logic when the terminal device operates the application program; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
In an exemplary embodiment, the obtaining test experience rule obtaining module 301 is configured to obtain a test rule identifier and test comparison data of the application program from a server; and acquiring a test experience rule corresponding to the test rule identifier.
In an exemplary embodiment, the operation logic determining module 304 is configured to compare the test processing data with the test comparison data to obtain a comparison result; and determining the operation logic of the terminal equipment when the terminal equipment operates the application program according to the comparison result.
In an exemplary embodiment, the operation logic determining module 304 is configured to determine that the terminal device is the application program before the updating operation when the comparison result is that the test processing data is greater than or equal to the test comparison data, and determine that the terminal device is the application program after the updating operation when the comparison result is that the test processing data is smaller than the test comparison data; or when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal device is the application program before running and updating, and when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal device is the application program after running and updating.
In an exemplary embodiment, the apparatus further comprises: the log data submitting module is used for acquiring log data generated when the updated application program is operated by the terminal equipment; and submitting the log data to a server so that the server determines the fault of the application program according to the log data.
In an exemplary embodiment, the apparatus further comprises: the user feedback data submitting module is used for acquiring user feedback data aiming at the application program when the updated application program runs on the terminal equipment; and submitting the user feedback data to a server so that the server determines the fault of the application program according to the log data.
In an exemplary embodiment, the terminal data includes a MAC address.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
To sum up, in the embodiment of the present invention, after the application program of the terminal device is updated, the test experience rule of the application program and the terminal data for uniquely identifying the terminal device are obtained, then the test experience rule is used to process the terminal data to obtain the test processing data, and the operation logic of the terminal device when the application program is operated is determined according to the test processing data, so that the updated application program can be tested on part of the terminal device. The test processing data of the embodiment of the invention is obtained by processing the terminal data based on the unique identification terminal equipment, so that the execution logic of the terminal equipment to the application program is determined based on the test processing data, the same terminal equipment can not run the application program before updating and the application program after updating, and the influence range of the fault caused by the application program after updating becomes controllable.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the application program testing method embodiment are realized.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiment of the application program testing method are realized.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The application program testing method, the application program testing device, the electronic device and the storage medium provided by the invention are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An application testing method, the method comprising:
after an application program of a terminal device is updated, acquiring a test experience rule of the application program;
acquiring terminal data for uniquely identifying the terminal equipment;
processing the terminal data by adopting the test experience rule to obtain test processing data;
determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
2. The method of claim 1, wherein obtaining the test experience rule of the application comprises:
acquiring a test rule identification and test comparison data of the application program from a server;
and acquiring a test experience rule corresponding to the test rule identifier.
3. The method according to claim 2, wherein the determining the operation logic of the terminal device when the application program is operated according to the test processing data comprises:
comparing the test processing data with the test comparison data to obtain a comparison result;
and determining the operation logic of the terminal equipment when the terminal equipment operates the application program according to the comparison result.
4. The method according to claim 3, wherein the determining the operation logic of the terminal device when operating the application program according to the comparison result comprises:
when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal device is the application program before running and updating, and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal device is the application program after running and updating; or,
and when the comparison result is that the test processing data is smaller than the test comparison data, determining that the terminal equipment is the application program before running and updating, and when the comparison result is that the test processing data is greater than or equal to the test comparison data, determining that the terminal equipment is the application program after running and updating.
5. The method of claim 1, wherein after determining the operating logic of the terminal device in operating the application based on the test processing data, the method further comprises:
acquiring log data generated when the updated application program is operated by the terminal equipment;
and submitting the log data to a server so that the server determines the fault of the application program according to the log data.
6. The method of claim 1, wherein after determining the operating logic of the terminal device in operating the application based on the test processing data, the method further comprises:
when the updated application program is operated on the terminal equipment, user feedback data aiming at the application program is obtained;
and submitting the user feedback data to a server so that the server determines the fault of the application program according to the log data.
7. The method of claim 1, wherein the terminal data comprises a MAC address.
8. An application testing apparatus, the apparatus comprising:
the terminal equipment comprises a test experience rule acquisition module, a test rule processing module and a test rule processing module, wherein the test experience rule acquisition module is used for acquiring a test experience rule of an application program after the application program of the terminal equipment is updated;
the terminal data acquisition module is used for acquiring terminal data for uniquely identifying the terminal equipment;
the terminal data processing module is used for processing the terminal data by adopting the test experience rule to obtain test processing data;
the operation logic determination module is used for determining the operation logic of the terminal equipment when the application program is operated according to the test processing data; the running logic is used for representing whether the terminal equipment runs the updated application program or not so as to test the updated application program on part of the terminal equipment.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the application testing method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the application testing method according to any one of claims 1 to 7.
CN202110872562.5A 2021-07-30 2021-07-30 Application program testing method and device, electronic equipment and storage medium Pending CN113568837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110872562.5A CN113568837A (en) 2021-07-30 2021-07-30 Application program testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110872562.5A CN113568837A (en) 2021-07-30 2021-07-30 Application program testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113568837A true CN113568837A (en) 2021-10-29

Family

ID=78169588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110872562.5A Pending CN113568837A (en) 2021-07-30 2021-07-30 Application program testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113568837A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308255A (en) * 2017-07-28 2019-02-05 北京京东尚科信息技术有限公司 A kind of method and apparatus for A/B test experiments
CN110286941A (en) * 2019-06-28 2019-09-27 江苏满运软件科技有限公司 Gray scale dissemination method, device, storage medium and electronic equipment
CN113010405A (en) * 2019-12-20 2021-06-22 北京沃东天骏信息技术有限公司 Application program testing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308255A (en) * 2017-07-28 2019-02-05 北京京东尚科信息技术有限公司 A kind of method and apparatus for A/B test experiments
CN110286941A (en) * 2019-06-28 2019-09-27 江苏满运软件科技有限公司 Gray scale dissemination method, device, storage medium and electronic equipment
CN113010405A (en) * 2019-12-20 2021-06-22 北京沃东天骏信息技术有限公司 Application program testing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨楠楠: "《数据产品经理》", 31 August 2020, 机械工业出版社, pages: 162 - 163 *

Similar Documents

Publication Publication Date Title
CN107656874B (en) Interface testing method and device, simulation baffle and system
CN107920112B (en) Configuration file pushing method supporting gray mode, central server and storage medium
CN109862379B (en) Log processing method and device, mobile terminal and storage medium
CN109445827B (en) Game updating method and device, electronic equipment and storage medium
US20180276111A1 (en) Mock services for software infrastructures
CN110928802B (en) Test method, device, equipment and storage medium based on automatic generation use case
CN109814894A (en) Application update method, device, device and storage medium
KR20160000758A (en) Fault Injection testing apparatus and method
CN105677394B (en) Application program upgrading method and device of terminal equipment
CN112748950A (en) Software code examination method and device
US9501390B1 (en) Enhancing automated mobile application testing
CN113419949B (en) Anomaly detection methods, devices, equipment and storage media for data processing
CN111008148A (en) Code testing method and device and computer readable storage medium
CN113568837A (en) Application program testing method and device, electronic equipment and storage medium
CN109063846B (en) Machine learning operation method, device, equipment and storage medium
US10977150B2 (en) Data analysis
CN107678917B (en) Test machine automation management method, device, equipment and storage medium
CN110795398A (en) Model file calling system and method
CN112765041A (en) Game automatic testing method and device and electronic equipment
CN114331135A (en) Process flow management method, device, equipment and storage medium
CN114217820A (en) Container deployment method, device, equipment and medium based on software as a service (SaaS) software
CN113449308A (en) Vulnerability processing method and device, computer equipment and readable storage medium
CN108628750B (en) Test code processing method and device
CN111814244B (en) Nonstandard element processing method, nonstandard element processing device and nonstandard element processing equipment
JP2020036097A (en) Setting information management device, setting information management method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination