CN113392023A - Automatic testing method and device, computer equipment, chip and module equipment - Google Patents

Automatic testing method and device, computer equipment, chip and module equipment Download PDF

Info

Publication number
CN113392023A
CN113392023A CN202110746761.1A CN202110746761A CN113392023A CN 113392023 A CN113392023 A CN 113392023A CN 202110746761 A CN202110746761 A CN 202110746761A CN 113392023 A CN113392023 A CN 113392023A
Authority
CN
China
Prior art keywords
condition
target
prefabrication
prefabricating
conditions
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
CN202110746761.1A
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.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu 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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202110746761.1A priority Critical patent/CN113392023A/en
Publication of CN113392023A publication Critical patent/CN113392023A/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • 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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

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

Abstract

The embodiment of the invention provides an automatic testing method, an automatic testing device, computer equipment, a chip and module equipment, wherein the method comprises the following steps: receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user; carrying out validity verification on the identity information of the target user; if the identity information validity check passes, acquiring an operation code corresponding to one or more target prefabrication conditions for testing the target application; and calling the running code corresponding to each target prefabricating condition to automatically test the target application, so that the test efficiency can be improved.

Description

Automatic testing method and device, computer equipment, chip and module equipment
Technical Field
The invention relates to the technical field of software testing, in particular to an automatic testing method, an automatic testing device, computer equipment, a chip and module equipment.
Background
When a developer develops a product or application, the product or application needs to be tested to ensure that the developed product or application functions properly. At present, automatic testing is generally selected when testing is performed, and generally refers to automation of software testing, and a testing behavior driven by human is converted into a process executed by a machine. Typically, after a test case is designed and passes review, the test is performed step by a tester according to the procedures described in the test case, resulting in a comparison of the actual results with the expected results.
However, the preset conditions need to be set before the automatic test is performed, and the preset conditions for each automatic test need to be completed by a developer to generate a script, so that the test efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an automatic testing method, an automatic testing device, computer equipment, a chip and module equipment, which can improve the testing efficiency of application.
The first aspect of the embodiments of the present invention provides an automated testing method, including:
receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
carrying out validity verification on the identity information of the target user;
if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application;
and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
A second aspect of an embodiment of the present invention provides an automated testing apparatus, including:
the communication unit is used for receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
the processing unit is used for carrying out validity verification on the identity information of the target user;
the processing unit is further used for acquiring an operation code corresponding to one or more target prefabricating conditions for testing the target application if the identity information validity check passes;
and the processing unit is further used for calling the running code corresponding to each target prefabricating condition and carrying out automatic testing on the target application.
A third aspect of embodiments of the present invention provides a computer device comprising a memory for storing a computer program comprising program instructions and a processor configured to invoke the program instructions to perform the method of the first aspect.
A fourth aspect of embodiments of the present invention provides a chip, where the chip is configured to: acquiring an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user; carrying out validity verification on the identity information of the target user; if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application; and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
A fifth aspect of the embodiments of the present invention provides a module device, including a communication module, a power module, a storage module, and a chip module, where: the power supply module is used for providing electric energy for the module equipment; the storage module is used for storing data and instructions; the communication module is used for carrying out internal communication of the module equipment or is used for carrying out communication between the module equipment and external equipment; this chip module is used for:
acquiring an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
carrying out validity verification on the identity information of the target user;
if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application;
and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
A sixth aspect of embodiments of the present invention provides a computer-readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect.
In the embodiment of the invention, on one hand, after receiving an automatic test request of a target user for a target application, a computer device can verify the validity of the identity information of the target user, and after the validity of the identity information of the target user is verified, the computer device can obtain the running codes corresponding to one or more target prefabricating conditions for testing the target application, so that a legal user can be ensured to obtain the running codes corresponding to one or more target prefabricating conditions, and the safety of data is ensured; on the other hand, the computer equipment can directly obtain the running codes corresponding to one or more target prefabricating conditions for testing the target application, then the running codes corresponding to each target prefabricating condition are called, the target application is automatically tested, a user does not need to configure the running codes corresponding to the prefabricating conditions when testing the application every time, and the testing efficiency of the application is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of an automated test system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of an automated testing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an automated testing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an automated testing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a module apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When a developer develops a product or application, the product or application needs to be tested to ensure that the developed product or application functions properly. At present, automatic testing is generally selected when testing is performed, and is a process for converting a test behavior driven by human into machine execution by software testing automation. Typically, after a test case is designed and passes review, the test is performed step by a tester according to the procedures described in the test case, resulting in a comparison of the actual results with the expected results. However, each time an application is tested, the pre-condition for the application and the running code corresponding to the pre-condition need to be repeatedly developed, which results in low testing efficiency.
In order to better solve the problem of low test efficiency, an embodiment of the present application provides an automated test system. Referring to fig. 1, the automated test system shown in fig. 1 includes at least one terminal device 101 and at least one server 102. In the automatic test system, the terminal device 101 and the server 102 may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application is not limited herein. It should be noted that the above mentioned terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.; the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and an artificial intelligence platform, and the like.
Based on the provided automated testing system, the embodiment of the present application provides an automated testing scheme, which can be executed by the terminal device 101 or the server 102 in the automated testing system. For example, in this automated testing scenario executed by the server 102, the general principle is as follows: when a certain user (such as a target user) wants to perform an automated test on a certain application (such as a target application), an automated test request for the target application can be submitted to the server 102 through the terminal device 101, then the server 102 performs identity verification on the target user according to the automated test request, and after the identity verification passes, directly acquires an operation code corresponding to one or more target preset conditions of the target application for testing; the prefabrication condition refers to a preset test condition for testing a certain application; then, the server 102 calls the running code corresponding to each target preset condition to automatically test the target application.
Through the automatic testing scheme, on one hand, when a user tests a certain application, the user can be ensured to obtain the running codes corresponding to one or more target prefabricated conditions by carrying out identity verification on the user, and the safety of data is ensured. On the other hand, the running codes corresponding to the target prefabrication conditions can be directly obtained, the running codes corresponding to each target prefabrication condition for testing do not need to be repeatedly configured, and the testing efficiency is improved.
Referring to fig. 2, based on the above provided automated testing system and automated testing scheme, fig. 2 is a schematic flow chart of an automated testing method according to an embodiment of the present invention. The automatic test method can be executed by the computer equipment, and the computer equipment can be terminal equipment or a server in the automatic test system; the automated testing method may include the following steps S201-S204:
s201, receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user.
Wherein, the target user can be any participant in the users participating in the target application development or test; alternatively, the target user may also be a user of the target application. The target application may be an instant messaging application, a gaming application, a video application, etc., and the present application is not limited thereto. The identity information of the target user may include an identification number, a user identification, a user account, a user nickname, and the like of the target user.
S202, verifying the legality of the identity information of the target user.
In a specific implementation, the computer device may determine whether the identity information of the target user is consistent with the stored identity information, and if it is determined that the identity information of the target user is consistent with the stored identity information, it is determined that the validity verification of the identity information of the target user is passed, and step S203 is executed. If the computer equipment determines that the identity information of the target user is inconsistent with the stored identity information, the computer equipment outputs prompt information, and the prompt information is used for indicating that the identity information of the target user does not have legality.
S203, if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application.
The target preset condition refers to a preset condition for the automated test. In a specific implementation, if the computer device determines that the validity check of the identity information of the target user passes, the computer device may first determine one or more target pre-conditions for testing the target application, and then obtain an operation code corresponding to each target pre-condition. For example, the target application is a payment application, the computer device determines that the validity of the identity information of the target user passes the verification, and may determine that the pre-condition of the payment application is to start a wifi (Wireless Fidelity, Wireless internet access) module, and then the computer device obtains an operation code corresponding to the wifi module.
In one embodiment, a plurality of preset condition sets are stored in one preset condition set, so that the centralized management of the plurality of preset conditions is realized; the computer equipment can determine one or more target prefabrication conditions from the prefabrication condition set and then acquire the running code corresponding to each target prefabrication condition.
As an embodiment, only a plurality of pre-conditions are stored in the pre-condition set; in this case, the computer device may obtain the operating code corresponding to each target precondition from a local space or other platform. In another embodiment, the running code corresponding to each of the plurality of pre-conditions is also stored in the pre-condition set, where the pre-condition set may be understood as a tool that integrates the plurality of pre-conditions and the running code corresponding to each pre-condition. In this case, when determining one or more target prefabrication conditions from the prefabrication condition set, the computer device may simultaneously obtain the running code corresponding to each target prefabrication condition from the prefabrication condition set without obtaining the running code corresponding to each target prefabrication condition from a local space or other platform.
Wherein, the preset condition set can be stored in the local space of the computer device; alternatively, the pre-defined set of conditions may be stored in a blockchain network. As an embodiment, the computer device may directly obtain the set of pre-fabricated conditions from the local space; in another embodiment, a computer device sends a data request to any node in a blockchain network; and any node acquires the preset condition set after receiving the data request and sends the preset condition set to the computer equipment.
And S204, calling the running code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
When each target preset condition has a front-back calling relationship, in order to ensure the testing accuracy of the target application, the computer device may call the running code corresponding to each target preset condition according to the calling sequence, and then perform an automated test on the target application program.
When the target prefabrication conditions have no front and back calling relationship, the computer equipment can call the running code corresponding to each target prefabrication condition at the same time to automatically test the target application, so that the time for testing the target application is saved, and the testing efficiency is improved.
In the embodiment of the application, on one hand, after receiving an automatic test request of a target user for a target application, a computer device may perform validity verification on identity information of the target user, and obtain an operation code corresponding to one or more target preset conditions for testing the target application only after the validity verification on the identity information of the target user is passed, so that it is ensured that a valid user obtains the operation code corresponding to the one or more target preset conditions, and the security of data is ensured; on the other hand, the computer device can directly obtain the running codes corresponding to one or more target prefabricating conditions for testing the target application, then the running codes corresponding to each target prefabricating condition are called, the target application is automatically tested, a user does not need to configure the running codes corresponding to the prefabricating conditions when testing the application program every time, and the testing efficiency of the application is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of an automated testing method according to an embodiment of the present invention. The automatic test method can be executed by the computer equipment, and the computer equipment can be terminal equipment or a server in the automatic test system; the automated testing method may include the following steps S301 to S307:
s301, acquiring a plurality of prefabricated conditions for automatic testing.
In particular implementations, a computer device may obtain a plurality of pre-conditions for automated testing of a plurality of historical applications. Wherein the plurality of acquired historical applications may include different types of applications, such that integrity of the acquired pre-conditions for the automated testing may be guaranteed. For example, the plurality of historical applications may include an instant messenger application and a video application, the number of pre-conditions for testing the instant messenger application is 3, the number of pre-conditions for testing the video application is 4, and the plurality of pre-conditions for the computer device to acquire the user automation test includes 3 pre-conditions for testing the instant messenger application and 4 pre-conditions for testing the video application.
The computer device may obtain a plurality of pre-conditions for automated testing from a local space, or the computer device may also obtain a plurality of pre-conditions for automated testing from other platforms. Among other platforms may be platforms dedicated to testing various applications, test data storage platforms, and so on.
S302, configuring the plurality of prefabrication conditions according to preset rules to obtain an operation code corresponding to each prefabrication condition.
The preset rules can be set according to test requirements, and the configuration refers to writing an operation code corresponding to each preset condition through a scripting language. The preset condition can also be that a plurality of preset conditions are configured according to the configuration duration of the preset conditions, wherein the configuration duration is used for indicating the duration of configuring the running code corresponding to each preset condition; alternatively, the preset rule may be that a plurality of preconditions are configured by condition numbers indicating the configuration order of each preconditions.
In one embodiment, when a preset rule is to configure a plurality of prefabrication conditions according to configuration duration of the prefabrication conditions, a computer device obtains configuration duration corresponding to each prefabrication condition, wherein the configuration duration is used for indicating configuration duration of an operation code corresponding to each prefabrication condition; and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition. In a specific implementation, a plurality of prefabrication conditions correspond to configuration duration when being acquired; the computer equipment can sort the plurality of prefabricating conditions according to the sequence of the configuration duration from short to long; and sequentially configuring a plurality of prefabrication conditions according to the sequencing result to obtain an operation code corresponding to each prefabrication condition. The configuration of the plurality of the prefabrication conditions is carried out according to the configuration duration, so that the configuration efficiency of the prefabrication conditions is improved while the statistics of the configuration duration of the prefabrication conditions is realized.
Optionally, under the condition that the first prefabrication condition is configured to obtain the running code corresponding to the first prefabrication condition, the computer device may further output first prompt information; the first prompt message is used for indicating the configuration of the second prefabrication condition; the first prefabricating condition is a prefabricating condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is the prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions; and then the computer equipment configures the second prefabrication condition according to the first prompt message to obtain the second prefabrication condition. Among these, it is understood that: the second precondition is actually a precondition having the shortest configuration time length among remaining preconditions not configured among the plurality of preconditions. Through outputting the first prompt message, the configuration of the next prefabricated condition can be reminded, manual supervision is not needed, and the configuration efficiency of a plurality of prefabricated conditions is improved.
It should be noted that, after the computer device completes configuration of the first pre-production condition, the computer device configures the second pre-production condition according to the first prompt information. And outputting first prompt information after the second prefabrication condition configuration is finished, wherein the second prefabrication condition is taken as a new first prefabrication condition, the first prompt information is used for indicating that the new first prefabrication condition configuration is finished, and then configuring the new second prefabrication condition until the plurality of prefabrication conditions are configured.
For example, the number of the plurality of precondition is 3, and the 3 precondition includes precondition 1, precondition 2, and precondition 3; wherein the configuration time period of the prefabrication condition 1 is 1 minute, the configuration time period of the prefabrication condition 2 is 2 minutes and the configuration condition of the prefabrication condition 3 is 5 minutes. The computer equipment configures the prefabrication condition 1 with the shortest configuration time to obtain an operation code corresponding to the prefabrication condition 1; then, under the condition that the prefabrication condition is configured to obtain an operation code corresponding to the prefabrication condition 1, outputting first prompt information; the first prompt message is used for indicating that the prefabrication condition 2 with the shortest configuration time length in the remaining two prefabrication conditions is configured; and the computer equipment configures the prefabrication condition 2 according to the first prompt message to obtain an operation code corresponding to the prefabrication condition 2. And then under the condition that the prefabrication condition 2 is configured to obtain the corresponding operation code of the prefabrication condition 2, outputting first prompt information, wherein the first prompt information is used for indicating the prefabrication condition 3 to be configured, and then configuring the prefabrication condition 3 according to the first prompt information to obtain the operation code corresponding to the prefabrication condition 3.
In another embodiment, when the preset rule is to configure a plurality of preset conditions according to the condition numbers, the specific implementation manner of step S302 is: the computer equipment can obtain a condition number corresponding to each prefabricated condition; and then configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition. Specifically, the computer device may sequentially configure each of the pre-fabricated conditions according to the order of the condition numbers from small to large, and obtain an operation code corresponding to each of the pre-fabricated conditions. Under the condition that the third prefabrication condition is configured to obtain the running code corresponding to the first prefabrication condition, outputting second prompt information, wherein the second prompt information is used for indicating that the fourth prefabrication condition is configured; wherein the condition number of the fourth precondition is subsequent to the condition number of the third precondition. I.e. can be understood as: and outputting a second reminding message after each preset condition is configured, wherein the second reminding message is used for indicating that the current preset condition is configured, and configuring the preset condition of the next condition number to obtain an operation code corresponding to the preset condition of the next condition number.
For example: the number of the prefabrication conditions is 3, and the 3 prefabrication conditions are prefabrication condition 1, prefabrication condition 2 and prefabrication condition 3 respectively; wherein the condition number of the prefabrication condition 1 is 01, and the condition number of the prefabrication condition 2 is 02; the condition number of the prefabrication condition 3 is 3; the computer equipment configures the prefabrication condition 1 with the condition number of 01 according to the sequence of the condition numbers from small to large to obtain an operation code corresponding to the prefabrication condition 1; and then outputting second prompt information which is used for indicating that the corresponding running code of the prefabrication condition 1 is configured completely, and configuring the prefabrication condition 2 with the condition number of 2. Then, configuring the prefabricated condition 2 with the condition number of 2 according to the second prompt message to obtain an operation code corresponding to the preset condition 2; then, the computer equipment outputs second prompt information again, the second prompt information is used for indicating that the configuration of the operation codes corresponding to the prefabrication conditions 2 is completed, and the prefabrication conditions 3 with the condition numbers of 3 are configured; and the computer equipment configures the prefabrication condition 3 with the condition number of 3 according to the second prompt message to obtain an operation code corresponding to the prefabrication condition 3.
And S303, storing each preset condition and the corresponding running code in an associated mode.
In specific implementation, the computer device stores each pre-production condition and the running code corresponding to each pre-production condition in an associated manner, so that unified management of the pre-production conditions for testing is realized, and meanwhile, the running code corresponding to the pre-production condition is directly pre-produced from the pre-production condition set subsequently without repeatedly developing the code.
As an embodiment, the computer device may store each pre-condition and corresponding code association to a local space; as another embodiment, the computer device may store each preconditions and corresponding operating code association in a blockchain network, preventing each preconditions and corresponding code from being tampered with. Specifically, the computer device associates each prefabricated condition with a corresponding code, and then sends each associated prefabricated condition and the corresponding code to any node in the block chain network, so that the any node performs validity check on each prefabricated condition and the corresponding code; and after the verification is passed, generating a block by each prefabricated condition and the corresponding code, then sending the block to other nodes for consensus, and storing the block into a block chain network after the consensus is passed.
Alternatively, the computer device may store each pre-condition and the corresponding running code in association with one pre-condition set or pre-condition tool, and then directly store the pre-condition set or pre-condition tool in the local space or the blockchain network.
In one embodiment, when testing an application, the type of test needed to test the application can be determined, and different pre-manufacturing conditions exist for different types of tests. The computer device may first determine the test type corresponding to each of the pre-conditions. Then, when the computer device stores each preset condition and the corresponding running code in the preset condition set in an associated manner, the computer device can store the preset condition and the corresponding running code in a plurality of preset condition subsets included in the preset condition set according to the test type corresponding to each preset condition, so that when a certain application is tested subsequently, the preset condition required by the application test can be searched rapidly according to the test type subsequently, the test time is saved, and the test efficiency is improved. The test types of the prefabrication conditions in different prefabrication condition subsets are different, and the test types of the prefabrication conditions in the same prefabrication condition subset are the same.
For example, the number of the plurality of precondition is 3, and the 3 precondition are precondition 1, precondition 2, and precondition 3; the computer equipment can determine that the prefabrication condition 1 corresponds to the test type A, the prefabrication condition 2 corresponds to the test type B, and the prefabrication condition 3 corresponds to the test type B; the preset condition set comprises a preset condition subset corresponding to the test type A and a preset condition subset corresponding to the test type B, and the computer equipment can store the preset condition 1 and the corresponding running code into the preset condition subset corresponding to the test type A; storing the prefabrication condition 2 and the corresponding running code into a prefabrication condition subset corresponding to the test type B; and storing the preset condition 3 and the corresponding running code into the preset condition subset corresponding to the test type B.
S304, receiving an automatic test request of a target user for the target application, wherein the automatic test request carries identity information of the target user.
S305, verifying the legality of the identity information of the target user.
For specific implementation manners of steps S304 to S305, reference may be made to the specific implementation manners of steps S201 to S202 in fig. 2 in the foregoing embodiment, which is not described again here.
S306, if the identity information validity is verified, acquiring the running codes corresponding to one or more target prefabricating conditions for testing the target application.
In one embodiment, if the identity information validity check passes, the computer device may obtain one or more target pre-conditions for testing the target application from the set of pre-conditions. In particular implementations, a computer device may determine a target test type for testing a pre-condition of a target application; then judging whether a target preset condition subset exists in a plurality of preset condition subsets included in the preset condition set, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type; if the computer device determines that the target preset condition subset exists, one or more target preset conditions for testing the target application are determined from the target preset condition subset. If the computer device determines that the target preset condition subset does not exist, the computer device may output a reminding message, where the reminding message is used to indicate that one or more target preset conditions for testing the target application do not exist in the preset condition set.
And S307, calling the running code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
In the embodiment of the application, the computer device configures each prefabrication condition to obtain the running code corresponding to each prefabrication condition, and stores each prefabrication condition and the corresponding running code in an associated manner, so that the running code corresponding to the required prefabrication is directly obtained subsequently without repeatedly writing the code. The computer equipment can verify the legality of the identity information of the target user after receiving an automatic test request of the target user for the target application, and obtain the running codes corresponding to one or more target prefabricating conditions for testing the target application after the legality of the identity information of the target user is verified, so that the legal user can be ensured to obtain the running codes corresponding to the one or more target prefabricating conditions, and the safety of data is ensured; the computer equipment can directly obtain the running codes corresponding to one or more target prefabricating conditions for testing the target application, then calls the running codes corresponding to each target prefabricating condition to automatically test the target application, and does not need a user to configure the running codes corresponding to the prefabricating conditions when testing the application program every time, so that the testing efficiency of the application is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an automatic testing apparatus according to an embodiment of the present invention. The automated test may be deployed to be executed on a computer device. The automated testing apparatus described in this embodiment includes:
a communication unit 401, configured to receive an automated test request of a target user for a target application, where the automated test request carries identity information of the target user;
a processing unit 402, configured to perform validity verification on identity information of a target user;
the processing unit 402 is further configured to, if the validity check of the identity information passes, obtain an operation code corresponding to one or more target prefabricating conditions for testing the target application;
the processing unit 402 is further configured to invoke an operation code corresponding to each target pre-condition, and perform an automated test on the target application.
In an embodiment, when the processing unit 402 obtains the running code corresponding to one or more target prefabrication conditions for testing the target application, it may specifically be configured to: determining one or more target preconditions for testing the target application from the set of preconditions; and acquiring an operation code corresponding to each target prefabricating condition.
In one embodiment, the processor 402 is further configured to:
acquiring a plurality of prefabricated conditions for automatic testing;
configuring a plurality of prefabricating conditions according to a preset rule to obtain an operation code corresponding to each prefabricating condition;
and storing each preset condition and the corresponding running code in an associated mode.
In an embodiment, when the processing unit 402 configures the plurality of pre-conditions according to a preset rule to obtain an operation code corresponding to each pre-condition, the processing unit may specifically be configured to:
acquiring a condition number corresponding to each prefabricating condition, wherein the condition number is used for indicating the configuration sequence of each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the processing unit 402 configures the plurality of pre-conditions according to a preset rule to obtain an operation code corresponding to each pre-condition, the processing unit may specifically be configured to:
acquiring configuration time length corresponding to each prefabricating condition, wherein the configuration time length is used for indicating the time length of configuring an operation code corresponding to each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the processing unit 402 configures the plurality of pre-conditions according to the configuration duration of each pre-condition to obtain the running code corresponding to each pre-condition, the processing unit may specifically be configured to:
sequencing the plurality of prefabricating conditions according to the sequence of the configured duration from short to long;
and according to the sequencing result, sequentially configuring the plurality of prefabrication conditions to obtain an operation code corresponding to each prefabrication condition.
In a possible embodiment, the processing unit 402 is further configured to:
under the condition that the first prefabrication condition is configured to obtain an operation code corresponding to the first prefabrication condition, outputting first prompt information; the first prompt message is used for indicating the configuration of the second prefabrication condition; the first prefabricating condition is a prefabricating condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is a prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions;
and configuring the second prefabrication condition according to the first prompt message to obtain an operation code corresponding to the second prefabrication condition.
In one embodiment, the set of preconditions includes a plurality of subsets of preconditions; the test types of the pre-conditions in different pre-condition subsets are different, and the test types of the pre-conditions in the same pre-condition subset are the same.
In an embodiment, the processing unit 402, when determining one or more target preconditions for testing the target application from the set of preconditions, may be specifically configured to:
determining a target test type for testing a pre-condition of a target application;
judging whether a target preset condition subset exists in the plurality of preset condition subsets, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type;
and if the target preset condition subset exists, determining one or more target preset conditions for testing the target application from the target preset condition subset.
The automatic testing device may be, for example: a chip, or a chip module. Each module included in each apparatus and product described in the above embodiments may be a software module, a hardware module, or a part of the software module and a part of the hardware module. For example, for each device or product applied to or integrated in a chip, each module included in the device or product may be implemented by hardware such as a circuit, or at least a part of the modules may be implemented by a software program running on a processor integrated in the chip, and the rest (if any) part of the modules may be implemented by hardware such as a circuit; for each device and product applied to or integrated with the chip module, each module included in the device and product may be implemented in a hardware manner such as a circuit, and different modules may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least a part of the modules may be implemented in a software program running on a processor integrated within the chip module, and the rest (if any) part of the modules may be implemented in a hardware manner such as a circuit; for each apparatus and product applied to or integrated with a computer device, each module included in the apparatus and product may be implemented by hardware such as a circuit, different modules may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the computer device, or at least a part of the modules may be implemented by a software program running on a processor integrated within the computer device, and the rest (if any) part of the modules may be implemented by hardware such as a circuit.
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention. The computer device in the embodiment shown in fig. 5 may be the computer device described above, and may include: a processor 501, a transceiver 502, and a memory 503. The processor 501, the transceiver 502, and the memory 503 are connected by a bus 504. The memory 503 is used to store computer programs comprising program instructions, and the processor 501 is used to execute the program instructions stored by the memory 503.
In the embodiment of the present invention, the processor 501 executes the executable program code in the memory 503 to perform the following operations:
receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
carrying out validity verification on the identity information of the target user;
if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application;
and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
In an embodiment, when the processor 501 obtains the running code corresponding to one or more target prefabrication conditions for testing the target application, it may specifically be configured to:
determining one or more target preconditions for testing the target application from the set of preconditions;
and acquiring an operation code corresponding to each target prefabricating condition.
In one embodiment, processor 501 is further configured to:
acquiring a plurality of prefabricated conditions for automatic testing;
configuring a plurality of prefabricating conditions according to a preset rule to obtain an operation code corresponding to each prefabricating condition;
and storing each preset condition and the corresponding running code in an associated mode.
In an embodiment, when the processor 501 configures the plurality of pre-conditions according to a preset rule to obtain an operation code corresponding to each pre-condition, the processor may specifically be configured to:
acquiring a condition number corresponding to each prefabricating condition, wherein the condition number is used for indicating the configuration sequence of each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the processor 501 configures a plurality of pre-conditions according to a preset rule, and obtains a runtime corresponding to each pre-condition, the processor may specifically be configured to:
acquiring configuration time length corresponding to each prefabricating condition, wherein the configuration time length is used for indicating the time length of configuring an operation code corresponding to each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the processor 501 configures a plurality of pre-conditions according to the configuration duration of each pre-condition to obtain an operation code corresponding to each pre-condition, the processor may specifically be configured to:
sequencing the plurality of prefabricating conditions according to the sequence of the configured duration from short to long;
and according to the sequencing result, sequentially configuring the plurality of prefabrication conditions to obtain an operation code corresponding to each prefabrication condition.
In one embodiment, processor 501 is further configured to:
under the condition that the first prefabrication condition is configured to obtain an operation code corresponding to the first prefabrication condition, outputting first prompt information; the first prompt message is used for indicating the configuration of the second prefabrication condition; the first prefabricating condition is a prefabricating condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is a prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions;
and configuring the second prefabrication condition according to the first prompt message to obtain an operation code corresponding to the second prefabrication condition.
In one embodiment, the set of preconditions includes a plurality of subsets of preconditions; the test types of the pre-conditions in different pre-condition subsets are different, and the test types of the pre-conditions in the same pre-condition subset are the same.
In one embodiment, when determining one or more target preconditions for testing a target application from a set of preconditions, processor 501 may be specifically configured to:
determining a target test type for testing a pre-condition of a target application;
judging whether a target preset condition subset exists in the plurality of preset condition subsets, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type;
and if the target preset condition subset exists, determining one or more target preset conditions for testing the target application from the target preset condition subset.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor 501 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 503 may include both read-only memory and random access memory, and provides instructions and data to the processor 501. A portion of the memory 503 may also include non-volatile random access memory.
In a specific implementation, the processor 501, the transceiver 502, and the memory 503 described in this embodiment of the present invention may execute the implementation manner described in the flow of the automatic testing method provided in fig. 2 or fig. 3 in this embodiment of the present invention, which is not described herein again.
The embodiment of the present application further provides a chip, where the chip may perform relevant steps of the terminal device in the foregoing method embodiment. The chip is used for: receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user; carrying out validity verification on the identity information of the target user; if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application; and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
In an embodiment, when the chip obtains the running code corresponding to one or more target pre-conditions for testing the target application, the chip may be specifically configured to: determining one or more target preconditions for testing the target application from the set of preconditions; and acquiring an operation code corresponding to each target prefabricating condition.
In one embodiment, the chip is further configured to: acquiring a plurality of prefabricated conditions for automatic testing;
configuring a plurality of prefabricating conditions according to a preset rule to obtain an operation code corresponding to each prefabricating condition; and storing each preset condition and the corresponding running code in an associated mode.
In an embodiment, when the chip configures the plurality of pre-conditions according to a preset rule to obtain the operation code corresponding to each pre-condition, the chip may specifically be configured to: acquiring a condition number corresponding to each prefabricating condition, wherein the condition number is used for indicating the configuration sequence of each prefabricating condition; and configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the chip configures the plurality of pre-conditions according to a preset rule to obtain a runtime corresponding to each pre-condition, the chip may specifically be configured to: acquiring configuration time length corresponding to each prefabricating condition, wherein the configuration time length is used for indicating the time length of configuring an operation code corresponding to each prefabricating condition; and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the chip configures the plurality of prefabrication conditions according to the configuration duration of each prefabrication condition to obtain the operation code corresponding to each prefabrication condition, the chip may be specifically configured to: sequencing the plurality of prefabricating conditions according to the sequence of the configured duration from short to long; and according to the sequencing result, sequentially configuring the plurality of prefabrication conditions to obtain an operation code corresponding to each prefabrication condition.
In one embodiment, the chip is further configured to: under the condition that the first prefabrication condition is configured to obtain an operation code corresponding to the first prefabrication condition, outputting first prompt information; the first prompt message is used for indicating the configuration of the second prefabrication condition; the first prefabricating condition is a prefabricating condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is a prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions; and configuring the second prefabrication condition according to the first prompt message to obtain an operation code corresponding to the second prefabrication condition.
In one embodiment, the set of preconditions includes a plurality of subsets of preconditions; the test types of the pre-conditions in different pre-condition subsets are different, and the test types of the pre-conditions in the same pre-condition subset are the same.
In one embodiment, when determining one or more target preconditions for testing a target application from a set of preconditions, the chip may be specifically configured to: determining a target test type for testing a pre-condition of a target application; judging whether a target preset condition subset exists in the plurality of preset condition subsets, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type; and if the target preset condition subset exists, determining one or more target preset conditions for testing the target application from the target preset condition subset.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a module device according to an embodiment of the present disclosure. The module device 60 can perform the steps related to the terminal device in the foregoing method embodiments, and the module device 60 includes: a communication module 601, a power module 602, a memory module 603 and a chip module 604.
The power module 602 is configured to provide power for the module device; the storage module 603 is used for storing data and instructions; the communication module 601 is used for performing internal communication of module equipment or for performing communication between the module equipment and external equipment; the chip module 604 is configured to:
receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user; carrying out validity verification on the identity information of the target user; if the identity information validity is verified, acquiring running codes corresponding to one or more target prefabricating conditions for testing the target application; and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
In an embodiment, when the chip module 604 obtains the running code corresponding to one or more target pre-production conditions for testing the target application, it may specifically be configured to: determining one or more target preconditions for testing the target application from the set of preconditions; and acquiring an operation code corresponding to each target prefabricating condition.
In one embodiment, the chip module 604 is further configured to: acquiring a plurality of prefabricated conditions for automatic testing; configuring a plurality of prefabricating conditions according to a preset rule to obtain an operation code corresponding to each prefabricating condition; and storing each preset condition and the corresponding running code in an associated mode.
In an embodiment, when the chip module 604 configures the plurality of pre-conditions according to a preset rule to obtain an operation code corresponding to each pre-condition, it may specifically be configured to: acquiring a condition number corresponding to each prefabricating condition, wherein the condition number is used for indicating the configuration sequence of each prefabricating condition; and configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, the chip module 604 may specifically be configured to, when configuring the plurality of pre-conditions according to a preset rule and obtaining the runtime corresponding to each pre-condition: acquiring configuration time length corresponding to each prefabricating condition, wherein the configuration time length is used for indicating the time length of configuring an operation code corresponding to each prefabricating condition; and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
In an embodiment, when the chip module 604 configures the plurality of pre-conditions according to the configuration duration of each pre-condition to obtain the operation code corresponding to each pre-condition, it may specifically be configured to: sequencing the plurality of prefabricating conditions according to the sequence of the configured duration from short to long; and according to the sequencing result, sequentially configuring the plurality of prefabrication conditions to obtain an operation code corresponding to each prefabrication condition.
In one embodiment, the chip module 604 is further configured to: under the condition that the first prefabrication condition is configured to obtain an operation code corresponding to the first prefabrication condition, outputting first prompt information; the first prompt message is used for indicating the configuration of the second prefabrication condition; the first prefabricating condition is a prefabricating condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is a prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions; and configuring the second prefabrication condition according to the first prompt message to obtain an operation code corresponding to the second prefabrication condition.
In one embodiment, the set of preconditions includes a plurality of subsets of preconditions; the test types of the pre-conditions in different pre-condition subsets are different, and the test types of the pre-conditions in the same pre-condition subset are the same.
In one embodiment, the chip module 604, when determining one or more target preconditions for testing the target application from the set of preconditions, may be specifically configured to: determining a target test type for testing a pre-condition of a target application; judging whether a target preset condition subset exists in the plurality of preset condition subsets, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type; and if the target preset condition subset exists, determining one or more target preset conditions for testing the target application from the target preset condition subset.
For each device and product applied to or integrated in the chip module, each module included in the device and product may be implemented by using hardware such as a circuit, and different modules may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules may be implemented by using a software program running on a processor integrated in the chip module, and the rest (if any) of the modules may be implemented by using hardware such as a circuit.
Embodiments of the present application further provide a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is executed on a processor, the method flow of the above method embodiments is implemented.
Embodiments of the present application further provide a computer program product, where when the computer program product runs on a processor, the method flow of the above method embodiments is implemented.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. An automated testing method, comprising:
receiving an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
carrying out validity verification on the identity information of the target user;
if the identity information validity check passes, acquiring an operation code corresponding to one or more target prefabrication conditions for testing the target application;
and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
2. The method of claim 1, wherein obtaining the running code corresponding to one or more target pre-conditions for testing the target application comprises:
determining one or more target preconditions for testing the target application from a set of preconditions;
and acquiring an operation code corresponding to each target prefabricating condition.
3. The method of claim 2, further comprising:
acquiring a plurality of prefabricated conditions for automatic testing;
configuring the plurality of prefabricating conditions according to a preset rule to obtain an operation code corresponding to each prefabricating condition;
and storing each preset condition and the corresponding running code in an associated mode.
4. The method according to claim 3, wherein the configuring the plurality of pre-production conditions according to a preset rule to obtain an operation code corresponding to each pre-production condition comprises:
acquiring a condition number corresponding to each prefabricating condition, wherein the condition number is used for indicating the configuration sequence of each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the condition number of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
5. The method according to claim 3, wherein the configuring the plurality of pre-production conditions according to a preset rule to obtain an operation code corresponding to each pre-production condition comprises:
acquiring configuration time length corresponding to each prefabricating condition, wherein the configuration time length is used for indicating the time length of configuring an operation code corresponding to each prefabricating condition;
and configuring the plurality of prefabricating conditions according to the configuration duration of each prefabricating condition to obtain an operation code corresponding to each prefabricating condition.
6. The method according to claim 5, wherein the configuring the plurality of pre-production conditions according to the configured duration of each pre-production condition to obtain the operation code corresponding to each pre-production condition comprises:
sequencing the plurality of prefabricating conditions according to the sequence of the configured duration from short to long;
and sequentially configuring the plurality of prefabrication conditions according to the sequencing result to obtain an operation code corresponding to each prefabrication condition.
7. The method of claim 6, further comprising:
under the condition that a first prefabrication condition is configured to obtain an operation code corresponding to the first prefabrication condition, outputting first prompt information; the first prompt message is used for indicating the configuration of a second prefabrication condition; the first prefabrication condition is a prefabrication condition with the shortest configuration time length in the plurality of configuration conditions; the second prefabrication condition is a prefabrication condition with the shortest configuration time length in the prefabrication conditions except the first prefabrication condition in the plurality of prefabrication conditions;
and configuring the second prefabrication condition according to the first prompt message to obtain an operation code corresponding to the second prefabrication condition.
8. The method of claim 3, wherein the set of pre-conditions comprises a plurality of pre-condition subsets; the test types of the pre-conditions in different pre-condition subsets are different, and the test types of the pre-conditions in the same pre-condition subset are the same.
9. The method of claim 8, wherein determining one or more target preconditions for testing the target application from a set of preconditions comprises:
determining a target test type for testing a pre-condition of the target application;
judging whether a target preset condition subset exists in the plurality of preset condition subsets, wherein the test type of the preset condition in the target preset condition subset is matched with the target test type;
and if the target preset condition subset exists, determining one or more target preset conditions for testing the target application from the target preset condition subset.
10. An automated testing apparatus, comprising:
the system comprises a communication unit, a service unit and a service unit, wherein the communication unit is used for receiving an automatic test request of a target user for a target application, and the automatic test request carries identity information of the target user;
the processing unit is used for carrying out validity verification on the identity information of the target user;
the processing unit is further configured to obtain an operation code corresponding to one or more target prefabricating conditions for testing the target application if the identity information validity check passes;
the processing unit is further configured to invoke an operation code corresponding to each target prefabricating condition, and perform an automated test on the target application.
11. A computer arrangement comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1-9.
12. A chip, characterized in that,
the chip is used for acquiring an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
the chip is also used for carrying out validity verification on the identity information of the target user;
the chip is further used for acquiring an automatic test request of a target user for a target application if the identity information validity check passes, wherein the automatic test request carries the identity information of the target user;
the chip is also used for carrying out validity verification on the identity information of the target user;
the chip is further used for acquiring an operation code corresponding to one or more target prefabricating conditions for testing the target application if the identity information validity check passes;
the chip is further used for calling the running code corresponding to each target prefabricating condition and carrying out automatic testing on the target application.
13. The utility model provides a module equipment, its characterized in that, module equipment includes communication module, power module, storage module and chip module, wherein:
the power supply module is used for providing electric energy for the module equipment;
the storage module is used for storing data and instructions;
the communication module is used for carrying out internal communication of module equipment or is used for carrying out communication between the module equipment and external equipment;
the chip module is used for:
acquiring an automatic test request of a target user for a target application, wherein the automatic test request carries identity information of the target user;
carrying out validity verification on the identity information of the target user;
if the identity information validity check passes, acquiring an operation code corresponding to one or more target prefabrication conditions for testing the target application;
and calling an operation code corresponding to each target prefabricating condition, and carrying out automatic test on the target application.
14. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method of any one of claims 1-9.
CN202110746761.1A 2021-06-30 2021-06-30 Automatic testing method and device, computer equipment, chip and module equipment Pending CN113392023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110746761.1A CN113392023A (en) 2021-06-30 2021-06-30 Automatic testing method and device, computer equipment, chip and module equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110746761.1A CN113392023A (en) 2021-06-30 2021-06-30 Automatic testing method and device, computer equipment, chip and module equipment

Publications (1)

Publication Number Publication Date
CN113392023A true CN113392023A (en) 2021-09-14

Family

ID=77625041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110746761.1A Pending CN113392023A (en) 2021-06-30 2021-06-30 Automatic testing method and device, computer equipment, chip and module equipment

Country Status (1)

Country Link
CN (1) CN113392023A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371772A1 (en) * 2016-06-27 2017-12-28 Paypal, Inc. Test Execution Optimizer For Test Automation
CN108459960A (en) * 2017-12-29 2018-08-28 中国平安财产保险股份有限公司 Method of automatic configuration, device, equipment and the storage medium of test environment
CN109669859A (en) * 2018-11-26 2019-04-23 平安科技(深圳)有限公司 Service test method, device, computer equipment and storage medium
CN109885472A (en) * 2018-12-13 2019-06-14 平安万家医疗投资管理有限责任公司 Test and management method and system and computer readable storage medium
CN110058998A (en) * 2019-03-12 2019-07-26 平安普惠企业管理有限公司 Method for testing software and device
CN110096428A (en) * 2019-03-18 2019-08-06 平安普惠企业管理有限公司 The method and device of data screening, electronic equipment before intelligence test script is run
CN112463599A (en) * 2020-11-18 2021-03-09 平安消费金融有限公司 Automatic testing method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371772A1 (en) * 2016-06-27 2017-12-28 Paypal, Inc. Test Execution Optimizer For Test Automation
CN108459960A (en) * 2017-12-29 2018-08-28 中国平安财产保险股份有限公司 Method of automatic configuration, device, equipment and the storage medium of test environment
CN109669859A (en) * 2018-11-26 2019-04-23 平安科技(深圳)有限公司 Service test method, device, computer equipment and storage medium
CN109885472A (en) * 2018-12-13 2019-06-14 平安万家医疗投资管理有限责任公司 Test and management method and system and computer readable storage medium
CN110058998A (en) * 2019-03-12 2019-07-26 平安普惠企业管理有限公司 Method for testing software and device
CN110096428A (en) * 2019-03-18 2019-08-06 平安普惠企业管理有限公司 The method and device of data screening, electronic equipment before intelligence test script is run
CN112463599A (en) * 2020-11-18 2021-03-09 平安消费金融有限公司 Automatic testing method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任路遥: "面向对象程序的自动化单元测试框架研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN110569159A (en) Baffle generation method, device, equipment and computer storage medium
CN111897724A (en) Automatic testing method and device suitable for cloud platform
CN110930254A (en) Data processing method, device, terminal and medium based on block chain
CN107220169B (en) Method and equipment for simulating server to return customized data
CN109657475A (en) Code vulnerabilities check method, apparatus, equipment and storage medium
CN112181749A (en) Hardware testing method and device, electronic equipment and storage medium
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN115391219A (en) Test case generation method and device, electronic equipment and storage medium
CN114546837A (en) Interface test method, device, equipment and storage medium
CN111400178A (en) Automatic interface number making method and device, computer equipment and storage medium
CN113191114B (en) Method and apparatus for validating a system
CN111222942B (en) Data processing method and device, readable medium and electronic equipment
CN112052070A (en) Application containerization evaluation method and device, electronic equipment and storage medium
CN113392023A (en) Automatic testing method and device, computer equipment, chip and module equipment
CN112799956B (en) Asset identification capability test method, device and system device
CN109634865B (en) Code transfer testing method and device and transfer testing terminal
CN112015648A (en) Test method, device, computer equipment and medium based on automation script
CN114812695B (en) Product testing method and device, computer equipment and storage medium
CN112149100A (en) Verification method, verification device, electronic equipment and storage medium
CN110716855B (en) Processor instruction set testing method and device
CN114389948B (en) Function upgrading and verifying method, device, equipment and medium based on white list
CN115270107B (en) Information verification method and device, readable medium and electronic equipment
CN115576821B (en) Verification method and device, electronic equipment and storage medium
CN117240746A (en) Method, system, equipment and medium for starting baffle based on contract test
CN115147212A (en) Verification method and device for account checking system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210914

RJ01 Rejection of invention patent application after publication