Function test method, device, equipment, medium and product
By obtaining the test function, test design, and the implementation planning plan and specifications in functional testing, the problem of functional test progress in existing technologies is difficult to control and high quality risk, and achieve efficient and low -cost functional tests to ensure that The project is successfully delivered.
Patent Information
- Application Number
- CN202411352374.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, functional testing has problems such as complex system, long process and difficult case writing, which makes it difficult to control the test progress and high test quality risk.
By obtaining the test function, the test design is performed, the test design results are obtained, the test execution plan and test specifications are formulated, the management test progress and quality are managed until the function test is completed.
It improves functional test efficiency, reduces test costs and quality risks, and ensures that the project is successfully delivered on time, budget and quality requirements.
Smart Images

Figure CN119377103A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of project management technology, and in particular to functional testing methods, devices, equipment, media and products. Background Art
[0002] In the project management process, functional testing is one of the key steps to ensure the successful delivery of the project. In the current testing process, there are problems such as complex systems, long processes, and difficulty in case writing, which makes it difficult to control the testing progress and the test quality risk is high.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a functional testing method, device, equipment, medium and product, aiming to improve the efficiency of functional testing and reduce the risk of test quality to ensure that the project is successfully delivered on time, on budget and in accordance with quality requirements.
[0005] To achieve the above object, the present application provides a functional testing method, the method comprising:
[0006] Get the function to be tested;
[0007] Perform test design according to the function to be tested to obtain a test design result;
[0008] A test execution plan and test specifications are formulated based on the test design results, the test progress is managed according to the test execution plan, and the test quality is managed according to the test specifications until the test of the function to be tested is completed.
[0009] In one embodiment, the step of performing test design according to the function to be tested and obtaining a test design result comprises:
[0010] Decomposing the requirements of the function to be tested to obtain first-level requirements, wherein the first-level requirements include interface inspection, function inspection, business process inspection and business logic inspection;
[0011] Decomposing the primary demand to obtain secondary demands corresponding to the primary demand;
[0012] Determine the execution content and requirement description corresponding to each secondary requirement, and use the execution content and requirement description as the test design result.
[0013] In one embodiment, the steps of formulating a test execution plan and a test specification based on the test design result, managing the test progress according to the test execution plan, and managing the test quality according to the test specification until the test of the function to be tested is completed include:
[0014] Formulate a test execution plan and test specifications based on the test design results;
[0015] Acquire the execution status corresponding to the test execution plan, and adjust the test execution plan according to the execution status to manage the test progress;
[0016] The execution status is reviewed and / or spot-checked according to the test specification to obtain inspection results, and the test execution plan is adjusted according to the inspection results to manage the test quality.
[0017] In one embodiment, the step of formulating a test execution plan according to the test design result includes:
[0018] Obtain completed test design cases, executors, and target completion time for the functions to be tested;
[0019] Estimate the execution capability of the execution personnel based on the completed test design cases;
[0020] The executor and execution time corresponding to the execution content are determined according to the test design results, the execution ability of the executor and the target completion time of the function to be tested.
[0021] In one embodiment, the step of obtaining the execution status corresponding to the test execution plan and adjusting the test execution plan according to the execution status includes:
[0022] Obtaining the execution status corresponding to the test execution plan at intervals of a first preset period;
[0023] Comparing the execution status with the expected execution progress in the test execution plan to determine whether there is a progress problem;
[0024] If there is a progress problem, the execution problem corresponding to the progress problem is determined, and the execution personnel and / or execution time are adjusted according to the execution problem.
[0025] In one embodiment, the step of performing a back check and / or a spot check on the execution status according to the test specification to obtain the check result includes:
[0026] Establishing execution process documents according to the test specifications for the reference of the execution personnel and feedback of the execution status;
[0027] Performing a recheck and / or a random check on the execution status at intervals of a second preset period, and recording a summary of problems in the recheck and / or the random check;
[0028] Obtain problem feedback and improvement plans corresponding to the problem summary, and use the problem feedback and improvement plans as the inspection results.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a functional testing device, which includes:
[0030] Get module, used to get the function to be tested;
[0031] A design module, used to perform test design according to the function to be tested and obtain a test design result;
[0032] The test module is used to formulate a test execution plan and test specifications based on the test design results, manage the test progress according to the test execution plan, and manage the test quality according to the test specifications until the test of the function to be tested is completed.
[0033] In addition, to achieve the above objectives, the present application also proposes a functional testing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the functional testing method described above.
[0034] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and stores a computer program on the storage medium. When the computer program is executed by a processor, the steps of the functional testing method described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the functional testing method described above are implemented.
[0036] One or more technical solutions proposed in this application have at least the following technical effects:
[0037] By obtaining the function to be tested; performing test design according to the function to be tested to obtain the test design result; formulating a test execution plan and test specifications based on the test design result, managing the test progress according to the test execution plan, and managing the test quality according to the test specifications until the test of the function to be tested is completed. Through reasonable test design, the test efficiency can be improved and the test cost can be reduced. By managing the test progress, the test can be completed on time. By managing the test quality, the test quality risk can be reduced to ensure that the project is successfully delivered on time, within budget and in accordance with quality requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A flowchart of the first embodiment of the functional testing method of the present application is provided;
[0041] Figure 2 A schematic diagram of a ticket issuing process according to the first embodiment of the present application;
[0042] Figure 3 It is a schematic diagram of the acceptance process according to the first embodiment of the present application;
[0043] Figure 4 A schematic diagram of a ticket collection process according to the first embodiment of the present application;
[0044] Figure 5 A flow chart of the second embodiment of the functional testing method of the present application;
[0045] Figure 6 A schematic diagram of a test common design template according to the second embodiment of the present application;
[0046] Figure 7 A flowchart of the third embodiment of the functional testing method of the present application is provided;
[0047] Figure 8 A schematic diagram of progress management according to the third embodiment of the present application;
[0048] Fig. 9 This is a schematic diagram of a backcheck according to the third embodiment of the present application;
[0049] Fig.10 This is a schematic diagram of the module structure of the functional testing device according to an embodiment of the present application;
[0050] Fig.11 Schematic diagram of the device structure of the hardware operating environment involved in the functional testing method in the embodiment of the present application.
[0051] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] The main solution of the embodiment of the present application is: by obtaining the function to be tested; performing test design according to the function to be tested to obtain the test design result; formulating a test execution plan and test specifications based on the test design result, managing the test progress according to the test execution plan, and managing the test quality according to the test specification until the test of the function to be tested is completed. Through reasonable test design, the test efficiency can be improved and the test cost can be reduced. By managing the test progress, the test can be completed on time. By managing the test quality, the test quality risk can be reduced to ensure that the project is successfully delivered on time, within budget and in accordance with quality requirements.
[0055] In this embodiment, for the convenience of description, the following description is made with the functional testing device as the execution subject.
[0056] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a functional testing device, etc. The following takes the functional testing device as an example to illustrate this embodiment and the following embodiments.
[0057] Based on this, the present application embodiment provides a functional testing method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the functional testing method of the present application.
[0058] In this embodiment, the functional testing method includes steps S10 to S30:
[0059] Step S10, obtaining the function to be tested;
[0060] Specifically, in the project management process, functional testing is one of the key steps to ensure the successful delivery of a project. It can ensure that the software meets user needs and business goals, help discover and fix defects, and improve the reliability and availability of the software.
[0061] Optionally, the functional testing method is applicable to functional testing scenarios of various projects and products, especially to long-process projects. The embodiment of the present application is described by taking the bill business scenario as an example.
[0062] Reference Figure 2 , Figure 3 and Figure 4 , Figure 2 Schematic diagram of the ticket issuing process according to the first embodiment of the present application. Figure 3 Schematic diagram of the acceptance process according to the first embodiment of the present application. Figure 4 This is a schematic diagram of the bill collection process according to the first embodiment of the present application. As shown in the figure, each scenario of the bill business system relies on various specifications formulated by the bill exchange. Each scenario must interact with the bill exchange multiple times in the form of messages, and each business scenario is closely connected and has a strict sequence. For example, if you just want to collect a complete bill, you must first complete the bill registration and prompt acceptance application, acceptance response, and prompt bill collection application to meet the customer's bill collection needs; if you want to do the final prompt payment and pursuit, the test process will double, the test difficulty will increase, and the test efficiency will be low.
[0063] Optionally, for long-process projects, which have the characteristics of complex systems, long processes and difficult case writing, the embodiments of the present application reduce testing costs and improve testing efficiency by starting from test design management, test progress management, test quality management and other aspects, and complete them on time with quality and quantity guaranteed.
[0064] Step S20, performing test design according to the function to be tested to obtain a test design result;
[0065] Furthermore, after the function to be tested is obtained, a test design can be performed according to the function to be tested to obtain a test design result.
[0066] Optionally, during the test design phase, based on the characteristics of long-process projects, a fixed public design template is developed for a function from aspects such as (UI, functional check, business logic check, and business process check, etc.). This can improve the design speed of testers on the one hand, and make it easier for the person in charge to check for omissions and fill in the gaps on the other hand. The corresponding public design template can be updated in a timely manner as the product project changes.
[0067] Step S30, formulating a test execution plan and test specifications based on the test design results, managing the test progress according to the test execution plan, and managing the test quality according to the test specifications until the test of the function to be tested is completed.
[0068] Furthermore, after the test design is performed according to the function to be tested and the test design results are obtained, a test execution plan and test specifications can be formulated based on the test design results, the test progress can be managed according to the test execution plan, and the test quality can be managed according to the test specifications until the testing of the function to be tested is completed.
[0069] Optionally, in the embodiment of the present application, in terms of test progress, by formulating, progress overview table, weekly plan, daily progress tracking and other means to ensure that the test is completed on time; in terms of test quality, the design specifications, execution specifications, and re-inspection specifications are established to ensure that the test is completed in quality. Among the many test processes, the embodiment of the present application grasps the three most important links, namely test design, test progress and test quality, to achieve goals, plans, strong execution, supervision, and re-inspection to ensure high-quality and efficient production.
[0070] This embodiment adopts the above scheme, specifically by obtaining the function to be tested; performing test design according to the function to be tested to obtain the test design result; formulating a test execution plan and a test specification based on the test design result, managing the test progress according to the test execution plan, and managing the test quality according to the test specification until the test of the function to be tested is completed. Through reasonable test design, the test efficiency can be improved and the test cost can be reduced. Through managing the test progress, the test can be completed on time. Through managing the test quality, the test quality risk can be reduced to ensure that the project is successfully delivered on time, within budget and in accordance with quality requirements.
[0071] Based on the first embodiment of the present application, the second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. Figure 5 , step S20 also includes steps S201 to S203:
[0072] Step S201: Decomposing the requirements of the function to be tested to obtain first-level requirements, wherein the first-level requirements include interface inspection, function inspection, business process inspection and business logic inspection;
[0073] Step S202: Decompose the primary demand to obtain secondary demands corresponding to the primary demand;
[0074] Step S203: Determine the execution content and requirement description corresponding to each secondary requirement, and use the execution content and requirement description as the test design result.
[0075] Specifically, for products with long processes, test design is performed based on functions as atoms. Fixed public design templates are formulated from the functions (UI, functional check, business logic check, business process check), which can be used as the test design result.
[0076] Reference Figure 6 , Figure 6 FIG. 1 is a schematic diagram of a test common design template according to the second embodiment of the present application, as shown in FIG. Figure 6As shown, the first-level requirements include interface (UI) check, function check, business process check and business logic check; the second-level requirements corresponding to the function check include factor input check, operation function check, permission check and query function check; the second-level requirements corresponding to the business process check include query reply, basic process, direct posting cancellation and continuation check, direct posting failure continuation, etc.; the second-level requirements corresponding to the business logic check include bill type check, bill quantity check, continuation check, confirmation condition check, warehousing check and lock check, etc. Each type of second-level requirement also includes the corresponding third-level requirement, fourth-level requirement, etc., that is, the specific execution content and the corresponding requirement description.
[0077] Optionally, during the test design phase, based on the characteristics of long-process projects, a fixed public design template can be developed for a function from aspects such as interface inspection, function inspection, business logic inspection, and business process inspection. On the one hand, this can improve the design speed of testers, and on the other hand, it can facilitate the person in charge to check for omissions and fill in the gaps. The corresponding public design templates can be updated in a timely manner as the product project changes, which can improve the efficiency of functional testing.
[0078] This embodiment adopts the above scheme, specifically by decomposing the requirements of the function to be tested to obtain the first-level requirements, wherein the first-level requirements include interface inspection, function inspection, business process inspection and business logic inspection; decomposing the first-level requirements to obtain the second-level requirements corresponding to the first-level requirements; determining the execution content and requirement description corresponding to each second-level requirement, and using the execution content and requirement description as the test design result, which can improve the design speed of the tester, and at the same time facilitate the detection and filling of gaps, and can be updated in time with the changes of product projects, which can improve the efficiency of functional testing.
[0079] Based on any of the above embodiments of the present application, a third embodiment of the present application is proposed. In the third embodiment of the present application, the same or similar contents as any of the above embodiments can be referred to the above introduction and will not be repeated later. Figure 7 , step S30 also includes steps S301 to S303:
[0080] Step S301: Formulate a test execution plan and test specifications according to the test design results;
[0081] Step S302: obtaining the execution status corresponding to the test execution plan, and adjusting the test execution plan according to the execution status to manage the test progress;
[0082] Step S303: performing a back check and / or a spot check on the execution status according to the test specification to obtain a check result, and adjusting the test execution plan according to the check result to manage the test quality.
[0083] Optionally, the step of formulating a test execution plan according to the test design result includes:
[0084] Obtain completed test design cases, executors, and target completion time for the functions to be tested;
[0085] Estimate the execution capability of the execution personnel based on the completed test design cases;
[0086] The executor and execution time corresponding to the execution content are determined according to the test design results, the execution ability of the executor and the target completion time of the function to be tested.
[0087] Optionally, the step of obtaining the execution status corresponding to the test execution plan and adjusting the test execution plan according to the execution status includes:
[0088] Obtaining the execution status corresponding to the test execution plan at intervals of a first preset period;
[0089] Comparing the execution status with the expected execution progress in the test execution plan to determine whether there is a progress problem;
[0090] If there is a progress problem, the execution problem corresponding to the progress problem is determined, and the execution personnel and / or execution time are adjusted according to the execution problem.
[0091] Optionally, during the functional testing process, the testing progress may not be completed as expected due to issues such as insufficient testing manpower, delayed development testing, unstable versions, unstable testing environment, etc., so the testing progress needs to be managed.
[0092] Reference Figure 8 , Figure 8 is a schematic diagram of progress management according to the third embodiment of the present application, as shown in Figure 8 As shown, based on the completed test design cases, personnel execution capabilities (estimated values), and the final completion time of the test, estimate the total execution progress of each module to ensure that it can be completed within the specified time. According to the execution progress overview table, customize the weekly plan for tracking to ensure weekly execution, timely identify problems, and make timely adjustments. Based on the weekly plan, track daily (for example, at 4:30 p.m. every day, call the person in charge of each module to report the total execution progress and existing problems of the corresponding module). Timely identify progress problems so that timely adjustments can be made.
[0093] Optionally, if the following situations occur during the execution process: the executors cannot complete the expected execution volume every day, the internal and external environment is unstable, and the developers do not respond in time. Solutions to the above problems include:
[0094] Problem (1): Executors are unable to complete the expected execution volume every day
[0095] Solution: The test leader and module leader assist the executor to analyze the reasons why the task cannot be completed. Analyze from aspects such as number generation, execution steps, and expected results. Number generation problem: The person who needs ticket sources provides relevant test accounts and requirements to the automated batch runner to ensure that there are enough ticket sources every day; Execution step problem: The module leader explains in advance how to execute more effectively; Unclear expected results problem: Require the designer to make timely corrections to reduce the communication cost between the executor and the designer. If the task cannot be completed even though there are no obstacles, the only way is to ensure the daily execution progress by working overtime.
[0096] Problem (2): Unstable internal and external environment
[0097] Solution: For internal environment, agree on the release time. Except for blocking issues, the release can be released in time. For other situations, stipulate that the development team will release the version twice a day (for example, 17:30-18:30; after 21:30); for external environment, seek help from superiors, and have them coordinate during the project sprint period, stipulate that the development team will release the version twice a day (17:30-18:30; after 21:30).
[0098] Problem (3): Developers are not responsive enough
[0099] Solution: To ensure the progress of test execution and improve the response speed of developers.
[0100] Optionally, upgrade the progress control in the middle and late stages of the project. Report the project progress and risk issues of the day through daily reports and daily meetings, improve problem decision-making and risk control capabilities, expose risks in a timely manner, and then avoid, accept or transfer them.
[0101] Optionally, the step of performing a back check and / or a spot check on the execution status according to the test specification to obtain the check result includes:
[0102] Establishing execution process documents according to the test specifications for the reference of the execution personnel and feedback of the execution status;
[0103] Performing a recheck and / or a random check on the execution status at intervals of a second preset period, and recording a summary of problems in the recheck and / or the random check;
[0104] Obtain problem feedback and improvement plans corresponding to the problem summary, and use the problem feedback and improvement plans as the inspection results.
[0105] Alternatively, due to the combined conditions of high pressure, high intensity and personnel's own capabilities, the strong promotion of execution progress will inevitably face the risk of test quality, so the test quality needs to be managed.
[0106] Optionally, a complete test specification is formulated before execution, mainly including design specifications, execution specifications and review specifications. The design specifications include: preconditions, clear operation steps, and expected results, which are easy to read for execution personnel. The detailed steps have been explained in the test design stage and will not be repeated here.
[0107] Optionally, for the execution specifications, you can create an execution process document (either Word or Excel), record the case scenario, use data and corresponding scenario steps with screenshots; store them in an organized manner for easy review of the execution records later. Specifically include the following situations
[0108] (1) Fill in the actual execution results:
[0109] ① The actual results and expected results are marked in green, and the usage data (ticket number and key values of each system) are filled in to facilitate quick positioning of the database table;
[0110] ② Mark the issues to be confirmed in yellow and fill in the usage data and actual test results;
[0111] ③ Mark the defective ones in red and fill in the usage data and actual test results;
[0112] ④ After the defect is fixed, the regression verification is completed. After confirming that there is no problem, the color is marked green and the actual expected result after regression is modified;
[0113] ⑤ If there is an error, no matter what the situation is, please post the error information;
[0114] ⑥ The actual results are inconsistent with the expected results. If the actual results are inconsistent with the expected results, first confirm with the designer and the module manager, and then update back to the TCO expected value after confirming the final results;
[0115] (2) During the testing process, if there are changes in requirements, after confirming the change points (the module leader needs to be informed), modify the corresponding cases in the cloud document in a timely manner;
[0116] (3) Check the front-end page and refer to the prototype if there is one;
[0117] (4) If there are any issues that require operation reminders or risks, inform the test manager and maintain the issue list on the Iteration x Production Function tab.
[0118] (5) During the execution process, if any unimplemented functions are found, inform the test manager and maintain the page "Iteration x Production Functions - Functions not implemented in this iteration but implemented in subsequent iterations";
[0119] (6) Check whether the UAT execution results are consistent with ST. If they are inconsistent, confirm with the ST tester and the test leader what caused the problem.
[0120] (7) At the end of each day, click on the corresponding case according to the actual execution results.
[0121] Reference Fig. 9 , Fig. 9 This is a schematic diagram of a backcheck according to the third embodiment of the present application, as shown in FIG. Fig. 9 As shown, during the execution process, each module is verified by different executors in different environments, and each module is reviewed at least twice a week (with the participation of the test leader, module leader, and executors), and problems are recorded after the review.
[0122] Optionally, after execution, the test manager and module manager conduct random checks (accounts, receipts, and notifications need to be checked and the account receipts are sent to the development manager and business manager for confirmation). Other types are confirmed after consultation between the module manager and the test manager.
[0123] Optionally, quality checks are conducted at every stage before, during and after the execution, and multi-person cross-validation is used to ensure the execution quality of the entire project, thereby ensuring the quality of the project. Ultimately, the entire project is put into production on time and with quality, and runs normally in production after it is put into production.
[0124] This embodiment adopts the above scheme, specifically by formulating a test execution plan and test specifications according to the test design results; obtaining the execution status corresponding to the test execution plan, and adjusting the test execution plan according to the execution status to manage the test progress; performing a back check and / or spot check on the execution status according to the test specification to obtain the inspection result, and adjusting the test execution plan according to the inspection result to manage the test quality. By managing the test progress, it can be ensured that the test is completed on time, and by managing the test quality, the test quality risk can be reduced to ensure that the project is successfully delivered on time, on budget and in accordance with quality requirements, and ultimately ensure that the entire project is put into production on time and with quality, and runs normally in production after being put into production.
[0125] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the functional testing method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0126] This application also provides a functional testing device, please refer to Fig.10 , the functional testing device comprises:
[0127] Get module, used to get the function to be tested;
[0128] A design module, used to perform test design according to the function to be tested and obtain a test design result;
[0129] The test module is used to formulate a test execution plan and test specifications based on the test design results, manage the test progress according to the test execution plan, and manage the test quality according to the test specifications until the test of the function to be tested is completed.
[0130] The functional testing device provided by the present application adopts the functional testing method in the above embodiment to solve the technical problem of functional testing. Compared with the prior art, the beneficial effects of the functional testing device provided by the present application are the same as the beneficial effects of the functional testing method provided by the above embodiment, and other technical features in the functional testing device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0131] The present application provides a functional testing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the functional testing method in the above-mentioned embodiment one.
[0132] Reference below Fig.11 , which shows a schematic diagram of a functional test device suitable for implementing an embodiment of the present application. The functional test device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The functional testing device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0133] like Fig.11As shown, the functional test equipment may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the functional test equipment are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the functional test device to communicate with other devices wirelessly or wired to exchange data. Although the functional test device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0134] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0135] The functional testing device provided by the present application adopts the functional testing method in the above embodiment to solve the technical problems of functional testing. Compared with the prior art, the beneficial effects of the functional testing device provided by the present application are the same as the beneficial effects of the functional testing method provided by the above embodiment, and the other technical features in the functional testing device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0136] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0137] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0138] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the functional testing method in the above-mentioned embodiment.
[0139] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0140] The computer-readable storage medium may be included in the functional testing device; or may exist independently without being assembled into the functional testing device.
[0141] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the functional testing equipment, the functional testing equipment: obtains the function to be tested; performs test design according to the function to be tested to obtain the test design result; formulates a test execution plan and a test specification based on the test design result, manages the test progress according to the test execution plan, and manages the test quality according to the test specification until the test of the function to be tested is completed. Through reasonable test design, the test efficiency can be improved and the test cost can be reduced. By managing the test progress, the test can be completed on time. By managing the test quality, the test quality risk can be reduced to ensure that the project is successfully delivered on time, within budget and in accordance with quality requirements.
[0142] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0145] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned functional testing method, and can solve the technical problems of functional testing. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the functional testing method provided by the above-mentioned embodiment, and will not be repeated here.
[0146] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the steps of the functional testing method as described above are implemented.
[0147] The computer program product provided by the present application can solve the technical problem of functional testing. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the functional testing method provided by the above embodiment, which will not be repeated here.
[0148] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A functional testing method, characterized in that: The method comprises: Get the function to be tested; Perform test design according to the function to be tested to obtain a test design result; A test execution plan and test specifications are formulated based on the test design results, the test progress is managed according to the test execution plan, and the test quality is managed according to the test specifications until the test of the function to be tested is completed.
2. The method according to claim 1, characterized in that The step of performing test design according to the function to be tested and obtaining the test design result comprises: Decomposing the requirements of the function to be tested to obtain first-level requirements, wherein the first-level requirements include interface inspection, function inspection, business process inspection and business logic inspection; Decomposing the primary demand to obtain secondary demands corresponding to the primary demand; Determine the execution content and requirement description corresponding to each secondary requirement, and use the execution content and requirement description as the test design result.
3. The method according to claim 2, characterized in that The steps of formulating a test execution plan and a test specification based on the test design result, managing the test progress according to the test execution plan, and managing the test quality according to the test specification include: Formulate a test execution plan and test specifications based on the test design results; Acquire the execution status corresponding to the test execution plan, and adjust the test execution plan according to the execution status to manage the test progress; The execution status is reviewed and / or spot-checked according to the test specification to obtain inspection results, and the test execution plan is adjusted according to the inspection results to manage the test quality.
4. The method according to claim 3, characterized in that The step of formulating a test execution plan according to the test design result comprises: Obtain completed test design cases, executors, and target completion time for the functions to be tested; Estimate the execution capability of the execution personnel based on the completed test design cases; The executor and execution time corresponding to the execution content are determined according to the test design results, the execution ability of the executor and the target completion time of the function to be tested.
5. The method according to claim 3, characterized in that The step of obtaining the execution status corresponding to the test execution plan and adjusting the test execution plan according to the execution status includes: Obtaining the execution status corresponding to the test execution plan at intervals of a first preset period; Comparing the execution status with the expected execution progress in the test execution plan to determine whether there is a progress problem; If there is a progress problem, the execution problem corresponding to the progress problem is determined, and the execution personnel and / or execution time are adjusted according to the execution problem.
6. The method according to claim 4, characterized in that The step of performing a check and / or a random check on the execution status according to the test specification to obtain the check result comprises: Establishing execution process documents according to the test specifications for the reference of the execution personnel and feedback of the execution status; Performing a recheck and / or a random check on the execution status at intervals of a second preset period, and recording a summary of problems in the recheck and / or the random check; Obtain problem feedback and improvement plans corresponding to the problem summary, and use the problem feedback and improvement plans as the inspection results.
7. A functional testing device, characterized in that: The device comprises: Get module, used to get the function to be tested; A design module, used to perform test design according to the function to be tested and obtain a test design result; The test module is used to formulate a test execution plan and test specifications based on the test design results, manage the test progress according to the test execution plan, and manage the test quality according to the test specifications until the test of the function to be tested is completed.
8. A functional testing device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the functional testing method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the functional testing method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the functional testing method according to any one of claims 1 to 6 are implemented.