CN115904956A - Application program refresh test method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115904956A
CN115904956A CN202211397157.3A CN202211397157A CN115904956A CN 115904956 A CN115904956 A CN 115904956A CN 202211397157 A CN202211397157 A CN 202211397157A CN 115904956 A CN115904956 A CN 115904956A
Authority
CN
China
Prior art keywords
application program
test
refresh
program
application
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
CN202211397157.3A
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202211397157.3A priority Critical patent/CN115904956A/en
Publication of CN115904956A publication Critical patent/CN115904956A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a refresh testing method and device of an application program, electronic equipment and a storage medium. The method comprises the following steps: under the condition that the application program is determined to be updated, obtaining a test item of the application program, and determining a refreshing test case corresponding to the test item; and obtaining updated application information of the application program, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program. By the technical scheme disclosed by the invention, the problems of low testing efficiency and low accuracy of the testing result caused by manual refreshing testing in the prior art are solved, and the efficiency and the accuracy of the testing are improved.

Description

Application program refresh test method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of application testing technologies, and in particular, to a method and an apparatus for testing application program refresh, an electronic device, and a storage medium.
Background
With the development of intelligent networking and the increase of functions, the updating requirements of automobile software are increasingly frequent. The BootLoader of the electronic control unit in the automobile mainly has the function of erasing and refreshing the application program. In practical application, the Bootloader is used for updating the related test sample software more conveniently and is easy to maintain. The specific BootLoader test is intended to support error-free refresh of an application and should support repeated refresh regardless of the success of the refresh. The BootLoader runs through research, development, production and maintenance of all modules of the whole vehicle, and is very important for product research and development stages and software upgrading and maintenance of 4S stores, so that the BootLoader test is very important.
At present, verification of a BootLoader flow mechanism is mainly manual testing, the manual testing period is long, the testing efficiency is reduced, the product development period is prolonged, the testing result depends on manual examination, and the accuracy is low.
Disclosure of Invention
The invention provides a refreshing test method and device for an application program, electronic equipment and a storage medium, which are used for solving the problems of low test efficiency and low test result accuracy caused by manual refreshing test in the prior art and improving the test efficiency and accuracy.
In a first aspect, an embodiment of the present invention provides a method for testing refresh of an application program, where the method includes:
under the condition that the application program is determined to be updated, obtaining a test item of the application program, and determining a refreshing test case corresponding to the test item;
and obtaining the updated application information of the application program, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program.
Optionally, the method further includes:
monitoring a source code update timestamp of a program source code of the application program, and if the source code update timestamp changes, indicating that the application program is updated; alternatively, the first and second liquid crystal display panels may be,
and monitoring the source code file memory of the program source code of the application program, and if the source code file memory changes, indicating that the application program is updated.
Optionally, the obtaining the test item of the application program includes:
and acquiring a program identifier of the application program, and determining a test item corresponding to the application program based on the program identifier and a preset test task deployment program.
Optionally, the determining the refresh test case corresponding to the test item includes:
and acquiring the test requirement of the application program, and determining the refresh test case corresponding to the test item based on the test requirement.
Optionally, the refresh test case includes a forward refresh test case and a misoperation refresh test case; the misoperation types of the misoperation refreshing test case comprise power misoperation, bus misoperation, access safety misoperation and diagnosis service node misoperation.
Optionally, the method includes:
and acquiring the updated program source code of the application program, and analyzing the program source code to obtain the application information of the application program.
Optionally, before the performing the refresh test on the application program based on the application information and the refresh test case, the method further includes:
writing the program identification and the program configuration information of the application program into the application program, and executing the refresh test;
obtaining a refreshing result corresponding to the execution of the refreshing test, and reading a refreshing program identifier and refreshing program configuration information in the refreshing result;
and if the program identifier is consistent with the refreshing program identifier and the program configuration information is consistent with the refreshing program configuration information, the refreshing test is passed.
In a second aspect, an embodiment of the present invention further provides an apparatus for testing refresh of an application program, where the apparatus includes:
the device comprises a refresh test case determining module, a refresh test case determining module and a refresh test case determining module, wherein the refresh test case determining module is used for acquiring a test item of an application program and determining a refresh test case corresponding to the test item under the condition that the application program is determined to be updated;
and the refresh test result obtaining module is used for obtaining the application information after the application program is updated, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method of refresh testing of an application program according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to, when executed by a processor, implement a refresh testing method for an application program according to any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, under the condition that the application program is determined to be updated, the test item of the application program is obtained, and the refreshing test case corresponding to the test item is determined; and obtaining the updated application information of the application program, and executing a refreshing test on the application program based on the application information and the refreshing test case to obtain a refreshing test result of the application program. According to the technical scheme, when the application program is found to be updated, the refreshing test is automatically carried out in real time, the problems of low testing efficiency and low accuracy of the testing result caused by manual refreshing test in the prior art are solved, and the efficiency and the accuracy of the testing are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a refresh testing method for an application according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a refresh testing apparatus for an application according to a third embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device implementing the refresh test method for an application program according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
It is understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, the type, the use range, the use scene, etc. of the personal information related to the present disclosure should be informed to the user and obtain the authorization of the user through a proper manner according to the relevant laws and regulations.
For example, in response to receiving an active request from a user, a prompt message is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and is not intended to limit the implementation of the present disclosure, and other ways of satisfying the relevant laws and regulations may be applied to the implementation of the present disclosure.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
Example one
Fig. 1 is a flowchart of a refresh testing method for an application according to an embodiment of the present invention. The embodiment is applicable to the case of refreshing the application program, and the method can be executed by a refresh testing device of the application program, the refresh testing device of the application program can be realized in a form of hardware and/or software, and the refresh testing device of the application program can be configured in the intelligent terminal. As shown in fig. 1, the method includes:
s110, under the condition that the application program is determined to be updated, the test item of the application program is obtained, and a refreshing test case corresponding to the test item is determined.
In the embodiment of the invention, the application program can be understood as test software which needs to adopt Bootloader to carry out refresh test. In order to ensure the real-time performance of the refresh test, whether the application program is updated or not needs to be known in time, and the real-time test is performed when the application program is found to be updated, so that the problem that the measurement period is prolonged because the program is found to be updated in time during the manual test is avoided, the test efficiency is reduced, and the development period is prolonged is avoided.
Specifically, in the present embodiment, the method for determining whether the application program has an update may determine whether the application program has an update by monitoring whether the application program changes. Optionally, a source code update timestamp of a program source code of the application program may be monitored, and if the source code update timestamp changes, it is indicated that the application program is updated; or monitoring a source code file memory of the program source code of the application program, and if the source code file memory changes, indicating that the application program is updated.
In order to further realize the real-time test of the application program, the test of the application program is automatically triggered when the application program is determined to be updated. Optionally, the refresh test may be executed by using a test execution module preset in the current execution device. For example, a refresh test is performed using a Robot Framework. Specifically, a Robot Framework may be used to obtain a test item of an application program when determining a program update. Wherein, the test item may be understood as a test task of BootLoader to the current application program. The number of test items may be one or more, and is not limited thereto.
Optionally, the method for determining the test item in this implementation may include: acquiring a program identifier of an application program, and determining a test item corresponding to the application program based on the program identifier and a preset test task deployment program.
Specifically, the corresponding test items may be obtained based on the test requirements of the application program. In practical application, if the application program needs to be integrally tested, all test items corresponding to the application program can be obtained based on the application program identifier, and a refresh test is performed on all test items. Optionally, if the regression test, the smoking test, and the system test need to be performed on the application program, each test item corresponding to the application program representation and the test type identifier is obtained, and the refresh test is performed on each test item. The operation has the advantages that the test items corresponding to different test requirements in shifts can be determined, and refreshing tests are respectively carried out on the test items, so that the refreshing tests are more targeted, and the test effect is improved.
Optionally, in order to obtain the test item in real time based on the Robot Framework when determining that the application is updated, the test item needs to be deployed in advance. Optionally, in this embodiment, task deployment may be performed in advance based on Jenkins, that is, each test item is deployed, so that the Robot Framework may determine the corresponding test item based on the program identifier of the application program, and thus the refresh test may be performed in real time. Optionally, in this embodiment, the task deployment may be performed at a local terminal that performs the refresh test, or may be performed at another terminal or a server. The separation of the test task deployment and the refresh test task execution in the operation can realize that a local Robot Framework can be directly triggered to execute the refresh test task no matter where, when and where the test engineer is, and the test efficiency is greatly improved.
It should be noted that, because one test item can execute different test cases, different test results are obtained. Therefore, after the test items are determined, the refresh test cases corresponding to the test items need to be determined, and the refresh test is executed based on the test cases. In this embodiment, the refresh test case includes a forward refresh test case and a malfunction refresh test case. The forward refresh test case may be understood as a refresh test mode in which the application program is continuously subjected to a refresh test for a preset number of times according to a preset refresh flow. The misoperation refresh test case can be understood as a refresh test mode which stops refreshing when a fault is injected into the application program and refreshes the application program again. The misoperation types of the misoperation refreshing test case comprise power source misoperation, bus misoperation, access safety misoperation and diagnosis service node misoperation.
Optionally, the method for determining the refresh test case in this embodiment may include: and acquiring the test requirement of the application program, and determining a refreshing test case corresponding to the test item based on the test requirement.
In practical application, if the flow compression resistance test needs to be performed on the test item, the forward refreshing test case can be determined, and the refreshing test can be performed. And if the fault compression resistance test needs to be carried out on the test item, determining that the test case is refreshed by misoperation, and carrying out the refresh test.
S120, obtaining the updated application information of the application program, and executing a refreshing test on the application program based on the application information and the refreshing test case to obtain a refreshing test result of the application program.
In the implementation of the invention, on the basis of determining the refreshing test case, the application information of the application program needs to be acquired, and the refreshing test is carried out on the basis of the application information and the refreshing test case so as to obtain the refreshing test result of the application program. Optionally, the method for acquiring application information in this embodiment may include: and acquiring the updated program source code of the application program, and analyzing the program source code to obtain the application information of the application program.
Specifically, based on a preset analysis mode, the binary source code file of the application program is analyzed to obtain analyzed application information. The application information may include, but is not limited to, information such as a download address, a diagnostic ID, and blockinfo.
Optionally, on the basis of obtaining the application information and refreshing the test case, the Robot Framework is adopted to input the application information and the refreshing test case into a pre-programmed test script, execute a refreshing test, and obtain a refreshing test result.
Optionally, the refresh test result includes a preset result flag bit to determine whether the current refresh test is successful in refresh. Specifically, for the forward refresh test case, the refresh test is continuously performed for multiple times according to a preset refresh flow, and if the refresh test can be successfully performed every time, the refresh test is passed. For the case of the misoperation refresh test, optionally, if the power supply is interrupted in the refresh process and the power supply can still be correctly refreshed next time after being restored, the refresh test is passed. Optionally, if the bus communication is interrupted in the refreshing process, and the bus communication can still be correctly refreshed next time after being restored, the refresh test is passed. Optionally, if the next correct refresh is still possible after the re-correct access after the security access fails in the refresh process, the refresh test is passed. Optionally, if any diagnostic service is interrupted to cause a negative response, and the current refresh process is exited, and the next correct refresh still can be performed, the refresh test is passed.
On the basis of the above embodiment, the technical solution of this embodiment further includes: writing the program identification and the program configuration information of the application program into the application program, and executing a refresh test; obtaining a refreshing result corresponding to the execution of the refreshing test, and reading a refreshing program identifier and refreshing program configuration information in the refreshing result; and if the program identifier is consistent with the refreshing program identifier and the program configuration information is consistent with the refreshing program configuration information, the refreshing test is passed.
According to the technical scheme provided by the embodiment of the invention, under the condition that the application program is determined to be updated, the test item of the application program is obtained, and the refreshing test case corresponding to the test item is determined; and obtaining the updated application information of the application program, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program. According to the technical scheme, the refresh test is automatically carried out in real time when the application program is found to be updated, the problems of low test efficiency and low test result accuracy caused by manual refresh test in the prior art are solved, and the efficiency and accuracy of the test are improved.
Example two
Fig. 2 is a schematic structural diagram of a refresh testing apparatus for an application according to a third embodiment of the present invention. As shown in fig. 2, the apparatus includes: a refresh test case determining module 210 and a refresh test result obtaining module 220; wherein the content of the first and second substances,
the refresh test case determining module 210 is configured to, when it is determined that the application program is updated, obtain a test item of the application program, and determine a refresh test case corresponding to the test item;
a refresh test result obtaining module 220, configured to obtain application information after the application program is updated, and execute a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program.
On the basis of the foregoing embodiment, optionally, the apparatus further includes:
the first update determining module is used for monitoring a source code update timestamp of a program source code of the application program, and if the source code update timestamp changes, it is indicated that the application program is updated; alternatively, the first and second electrodes may be,
and the second updating determination module is used for monitoring the source code file memory of the program source code of the application program, and if the source code file memory changes, the application program is updated.
On the basis of the foregoing embodiment, optionally, the module 210 for determining a refresh test case includes:
and the test item determining unit is used for acquiring the program identifier of the application program, and determining the test item corresponding to the application program based on the program identifier and a preset test task deployment program.
On the basis of the foregoing embodiment, optionally, the module 210 for determining a refresh test case includes:
and the refreshing test case determining unit is used for acquiring the test requirement of the application program and determining the refreshing test case corresponding to the test item based on the test requirement.
On the basis of the foregoing embodiment, optionally, the refresh test case includes a forward refresh test case and a malfunction refresh test case; the misoperation types of the misoperation refreshing test case comprise power misoperation, bus misoperation, access safety misoperation and diagnosis service node misoperation.
On the basis of the foregoing embodiment, optionally, the refresh test result obtaining module 220 includes:
and the application information obtaining unit is used for obtaining the updated program source code of the application program, and analyzing the program source code to obtain the application information of the application program.
On the basis of the foregoing embodiment, optionally, the apparatus further includes:
before the executing the refresh test on the application program based on the application information and the refresh test case, the method further includes:
an information writing module, configured to write the program identifier and the program configuration information of the application program into the application program, and execute the refresh test;
the information reading module is used for acquiring a refreshing result corresponding to the execution of the refreshing test, and reading a refreshing program identifier and refreshing program configuration information in the refreshing result;
and the refresh test result determining module is used for indicating that the refresh test is passed if the program identifier is consistent with the refresh program identifier and the program configuration information is consistent with the refresh program configuration information.
The refresh testing device for the application program provided by the embodiment of the invention can execute the refresh testing method for the application program provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
FIG. 3 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 may also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. Processor 11 performs the various methods and processes described above, such as the refresh test method of an application program.
In some embodiments, the refresh testing method of the application program may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the memory unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the refresh testing method of the application program described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the refresh testing method of the application program by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A refresh test method for an application program, comprising:
under the condition that the application program is determined to be updated, obtaining a test item of the application program, and determining a refreshing test case corresponding to the test item;
and obtaining the updated application information of the application program, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program.
2. The method of claim 1, further comprising:
monitoring a source code update timestamp of a program source code of the application program, and if the source code update timestamp changes, indicating that the application program is updated; alternatively, the first and second electrodes may be,
and monitoring the source code file memory of the program source code of the application program, and if the source code file memory changes, indicating that the application program is updated.
3. The method of claim 1, wherein obtaining the test item of the application comprises:
and acquiring a program identifier of the application program, and determining a test item corresponding to the application program based on the program identifier and a preset test task deployment program.
4. The method of claim 1, wherein the determining the refresh test case corresponding to the test item comprises:
and acquiring the test requirement of the application program, and determining the refresh test case corresponding to the test item based on the test requirement.
5. The method of claim 1, wherein the refresh test cases comprise forward refresh test cases and mishandling refresh test cases; and the misoperation types of the misoperation refreshing test case comprise power supply misoperation, bus misoperation, access safety misoperation and diagnosis service node misoperation.
6. The method according to claim 1, wherein the obtaining of the updated application information of the application program comprises:
and acquiring the updated program source code of the application program, and analyzing the program source code to obtain the application information of the application program.
7. The method of claim 1, prior to performing a refresh test on the application based on the application information and the refresh test case, further comprising:
writing the program identification and the program configuration information of the application program into the application program, and executing the refresh test; obtaining a refreshing result corresponding to the execution refreshing test, and reading a refreshing program identifier and refreshing program configuration information in the refreshing result;
and if the program identifier is consistent with the refreshing program identifier and the program configuration information is consistent with the refreshing program configuration information, the refreshing test is passed.
8. An apparatus for refreshing an application, comprising:
the device comprises a refresh test case determining module, a refresh test case determining module and a refresh test case determining module, wherein the refresh test case determining module is used for acquiring a test item of an application program and determining a refresh test case corresponding to the test item under the condition that the application program is determined to be updated;
and the refresh test result obtaining module is used for obtaining the application information after the application program is updated, and executing a refresh test on the application program based on the application information and the refresh test case to obtain a refresh test result of the application program.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of refresh testing of an application program of any of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the method for refresh testing of an application program according to any one of claims 1 to 7 when executed.
CN202211397157.3A 2022-11-09 2022-11-09 Application program refresh test method and device, electronic equipment and storage medium Pending CN115904956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211397157.3A CN115904956A (en) 2022-11-09 2022-11-09 Application program refresh test method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211397157.3A CN115904956A (en) 2022-11-09 2022-11-09 Application program refresh test method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115904956A true CN115904956A (en) 2023-04-04

Family

ID=86485494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211397157.3A Pending CN115904956A (en) 2022-11-09 2022-11-09 Application program refresh test method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115904956A (en)

Similar Documents

Publication Publication Date Title
CN111309343B (en) Development deployment method and device
CN115437339A (en) Remote diagnosis method and device, electronic equipment and storage medium
CN115086384B (en) Remote control test method, device, equipment and storage medium
CN116301997A (en) Upgrading method, device, equipment and medium of controller
CN115904956A (en) Application program refresh test method and device, electronic equipment and storage medium
CN115437961A (en) Data processing method and device, electronic equipment and storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN115061921A (en) Automatic test method, device, electronic equipment and readable storage medium
CN115687406A (en) Sampling method, device and equipment of call chain data and storage medium
CN115277261A (en) Abnormal machine intelligent identification method, device and equipment based on industrial control network virus
CN114881112A (en) System anomaly detection method, device, equipment and medium
CN112631843A (en) Equipment testing method and device, electronic equipment, readable medium and product
CN111679885A (en) Method, device, medium and electronic equipment for determining virtual machine drift
CN115775134A (en) Method, device, equipment and medium for managing product test information
CN116449810B (en) Fault detection method and device, electronic equipment and storage medium
CN112532747B (en) Method, apparatus, device and storage medium for outputting information
CN115391227A (en) Fault testing method, device, equipment and medium based on distributed system
CN117493203A (en) Method, device, equipment and storage medium for testing server software
CN115878461A (en) Operation log test method, device, equipment and storage medium
CN117648252A (en) Function test method and device for software application, electronic equipment and storage medium
CN115374010A (en) Function testing method, device, equipment and storage medium
CN117951024A (en) APP compatibility test method, device, equipment and medium
CN115061925A (en) Performance test method and device of heterogeneous acceleration program and storage medium
CN115982052A (en) Data processing method
CN115617590A (en) Server pressure testing method, device, equipment and storage medium

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