Method for improving test process based on interface test platform

By uniformly managing interface documents during the R&D stage and writing test cases on the interface test platform, the test delay problem caused by decentralized management of interface documents is solved, the pre-operation and continuous monitoring of interface tests are realized, and the software quality and team coordination are improved. .

CN119127683APending Publication Date: 2024-12-13BEIJING AUTO SMART INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411154522.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the software testing process in agile mode, interface documents are managed decentralizedly, resulting in delays in writing test cases, and interface testing fails to play a pre-position role, resulting in many bugs in version iterations, affecting the quality of software delivery.

Method used

In the R&D stage, the interface document is first produced and a test case is written on the interface test platform. The interface document update will automatically notify the tester to realize automated execution and bug reporting, ensuring that the interface test is carried out before the R&D test is carried out, and the interface will be continuously monitored after the interface is released. .

Benefits of technology

It realizes unified management of interface documents, reduces communication costs, exposes interface problems in advance, improves software quality, reduces costs and time, enhances team coordination, and realizes test process automation and continuous monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127683A_ABST
    Figure CN119127683A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of interface testing, and discloses a method for improving a testing process based on an interface testing platform, which comprises the following specific steps of: 1, firstly, generating an interface document according to requirements in a research and development stage; through unified management of interface documents, research and development processes are standardized, test interface documents are provided on the premise of testing, updating can be carried out at any time in the document process, testing is automatically notified after updating, communication cost is reduced, automatic use cases can be prepared in advance for testing, interface problems can be exposed as early as possible, testing left shifting is achieved, and testing efficiency is improved. Therefore, the software quality is improved, the cost and time are reduced, the team coordination is improved, the testability is enhanced, and the user satisfaction is improved; after the interface is online, the interface is continuously monitored, test right shift is realized, test case assets can be settled, the labor cost of regression test is saved, the execution round of the test case is improved from one time to N times, and if any bug exists in the test process, the bug can be automatically submitted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of interface testing, and in particular relates to a method for improving a testing process based on an interface testing platform. Background Art

[0002] The interface testing platform is a software testing tool used to automate interface testing tasks. It can replace manual execution of test cases and automatically detect data transmission and communication between internal components of the software system by simulating requests and verifying responses. The main purpose of the interface testing platform is to improve testing efficiency and quality, and become an indispensable part of modern software development.

[0003] The software testing process under the agile model emphasizes close cooperation between products, testing and development, and focuses on rapid response and iteration. Because there are many departments involved in the work, server-side R&D is scattered in different teams at the same time. The interface documents developed by each team are stored in the knowledge base of each team. Moreover, R&D can only provide interface documents when testing is required, and testing can only write interface test cases according to interface documents during the testing phase. Interface testing does not play a pre-emptive purpose and significance. The existing testing scheme will lead to the lack of unified standards in management style, testing process, etc. for each team in version iteration. This leads to the dispersion of R&D interface document addresses and the lack of unified and centralized management, which brings certain risks to the writing of test cases for testing; at the same time, interface testing does not play a pre-emptive role and significance until test cases are written during the testing phase. If there are many bugs in interface testing at this stage, it will bring great risks to downstream functional testing and system testing, and even affect the quality of software delivery, so it needs to be improved. Summary of the invention

[0004] The purpose of the present invention is to provide a method for improving the test process based on an interface test platform to solve the problems raised in the above background technology.

[0005] In order to achieve the above object, the present invention provides the following technical solution: a method for improving the test process based on an interface test platform, the specific steps are as follows:

[0006] Step 1:

[0007] In the R&D stage, we first produce interface documents based on the requirements;

[0008] Step 2:

[0009] During the R&D phase, interface test cases can be written on the AT test platform according to the interface documents, and when the interface documents are updated or changed, the relevant testers will be automatically notified to change the test cases.

[0010] Step 3:

[0011] After R&D submits the test, the tester can automatically execute all cases on the platform with one click, with zero labor cost in the whole process;

[0012] Step 4:

[0013] Use cases that fail during testing can automatically report bugs;

[0014] Step 5:

[0015] After R&D fixes the bug according to the bug description, they conduct a second test and repeat steps 3 and 4;

[0016] Step 6:

[0017] After the interface test and functional test are passed, the interface is released to the production environment and the APP is released to the application market;

[0018] Step 7:

[0019] After going online, assemble all relevant interface test cases into test scenarios and conduct regular online inspections.

[0020] Preferably, when the interface document described in step 1 is produced, the accuracy of data such as each interface definition and parameter in the document needs to be ensured.

[0021] Preferably, the interface document described in step 1 needs to be updated in a timely manner as the requirements change to ensure synchronization with the development progress.

[0022] Preferably, the test cases described in step 2 need to be updated synchronously in a timely manner when the interface document is updated to avoid test errors caused by inconsistencies between the document and the test cases.

[0023] Preferably, the test environment in step 3 needs to be ensured to be consistent with the production environment.

[0024] Preferably, after the bug in step 4 is reported, the R&D personnel need to handle it in a timely manner and record the bug.

[0025] Preferably, the bug report in step 5 should include detailed reproduction steps, error screenshots, log information, etc., so that R&D personnel can quickly locate the problem.

[0026] Preferably, after the APP is released in step six, it is necessary to continue to pay attention to the performance and user feedback of the APP to ensure that the APP runs stably, and at the same time collect user feedback, discover problems in time and optimize them.

[0027] Preferably, the test scenario described in step seven needs to be designed according to the user's actual usage scenario to ensure the effectiveness of the test.

[0028] The beneficial effects of the present invention are as follows:

[0029] Through unified management of interface documents, the R&D process is standardized, and interface documents are provided to the testers before testing. The documents can be updated at any time during the process, and the testers are automatically notified after the update, reducing communication costs. The testers can prepare automated use cases in advance to expose interface problems as early as possible, realize left shift of testing, thereby improving software quality, reducing costs and time, increasing team coordination, enhancing testability, and increasing user satisfaction. After the interface is launched, the interface is continuously monitored, realizing right shift of testing, and the test case assets can be accumulated to save the manpower cost of regression testing. The test case execution rounds are increased from 1 to N times. If there are any bugs during the test, the bugs can be automatically submitted, truly realizing the automation and systematization of the test process. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the overall planning of the present invention;

[0031] Figure 2 It is a functional flow chart of the present invention. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] like Figure 1 to Figure 2 As shown, the embodiment of the present invention provides a method for improving the test process based on the interface test platform, and the specific steps are as follows:

[0034] Step 1:

[0035] In the R&D stage, we first produce interface documents based on the requirements;

[0036] Step 2:

[0037] During the R&D phase, interface test cases can be written on the AT test platform according to the interface documents, and when the interface documents are updated or changed, the relevant testers will be automatically notified to change the test cases.

[0038] Step 3:

[0039] After R&D submits the test, the tester can automatically execute all cases on the platform with one click, with zero labor cost in the whole process;

[0040] Step 4:

[0041] Use cases that fail during testing can automatically report bugs;

[0042] Step 5:

[0043] After R&D fixes the bug according to the bug description, they conduct a second test and repeat steps 3 and 4;

[0044] Step 6:

[0045] After the interface test and functional test are passed, the interface is released to the production environment and the APP is released to the application market;

[0046] Step 7:

[0047] After going online, assemble all relevant interface test cases into test scenarios and conduct regular online inspections.

[0048] By entering interface documents into the AT test platform by R&D, all team interface documents can be managed online in one stop, thereby improving development and testing efficiency, ensuring interface consistency, reducing communication costs, lowering risks, and improving the collaborative environment. In addition, through the automatic synchronization mechanism, any update to the interface document will automatically notify relevant personnel, which greatly reduces the communication cost of R&D testing, and brings the output of interface documents and the writing of interface test cases to the R&D stage, exposing interface problems as early as possible, realizing left-shift testing, and continuously monitoring the interface after it goes online, realizing right-shift testing.

[0049] Among them, when the interface document in step one is produced, it is necessary to ensure the accuracy of each interface definition, parameter and other data in the document.

[0050] Unified management of interface documents can help developers and testers understand requirements and interface information more quickly, thereby improving development and testing efficiency.

[0051] Among them, the interface document in step one needs to be updated in a timely manner as the requirements change to ensure synchronization with the development progress.

[0052] Unified management of interface documents can facilitate subsequent maintenance work, including modification and updating.

[0053] Among them, when the interface document is updated in step 2, the test case needs to be updated synchronously in time to avoid test errors caused by inconsistency between the document and the test case.

[0054] Once there is any update to the interface document, relevant personnel will be automatically notified, which greatly reduces the communication costs of R&D testing.

[0055] Among them, the test environment in step 3 needs to ensure that it is consistent with the production environment.

[0056] The test environment includes hardware configuration, software version, network environment, etc. Only by testing in a similar environment can we more accurately simulate the production scenario and discover potential problems.

[0057] Among them, after the bug in step 4 is reported, the R&D personnel need to handle it in a timely manner and record the bug.

[0058] By automatically reporting bugs, the testing process can be automated and systematized.

[0059] The bug report in step 5 should include detailed reproduction steps, error screenshots, log information, etc., so that R&D personnel can quickly locate the problem.

[0060] By conducting a second test on the bug, we can verify whether the problem has been solved and ensure that all problems are properly handled to ensure product quality.

[0061] Among them, in step six, after the APP is released, it is necessary to continue to pay attention to the performance and user feedback of the APP to ensure the stable operation of the APP. At the same time, user feedback is collected to identify problems in a timely manner and optimize them.

[0062] By continuously monitoring the APP and promptly handling possible problems, we ensure that users can enjoy a high-quality product experience.

[0063] Among them, the test scenario in step seven needs to be designed according to the user's actual usage scenario to ensure the effectiveness of the test.

[0064] By assembling interface test cases into test scenarios and simulating actual user usage scenarios for regular inspections, the stability and reliability of the product in the online environment can be ensured.

[0065] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0066] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for improving a test process based on an interface test platform, characterized in that: The specific steps are as follows: Step 1: In the R&D stage, we first produce interface documents based on the requirements; Step 2: During the R&D phase, interface test cases can be written on the AT test platform according to the interface documents, and when the interface documents are updated or changed, the relevant testers will be automatically notified to change the test cases. Step 3: After R&D submits the test, the tester can automatically execute all cases on the platform with one click, with zero labor cost in the whole process; Step 4: Use cases that fail during testing can automatically report bugs; Step 5: After R&D fixes the bug according to the bug description, they conduct a second test and repeat steps 3 and 4; Step 6: After the interface test and functional test are passed, the interface is released to the production environment and the APP is released to the application market; Step 7: After going online, assemble all relevant interface test cases into test scenarios and conduct regular online inspections.

2. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: When the interface document described in step 1 is produced, it is necessary to ensure the accuracy of each interface definition, parameter and other data in the document.

3. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: The interface documentation described in step 1 needs to be updated in a timely manner as requirements change to ensure synchronization with the development progress.

4. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: When the interface document is updated, the test case described in step 2 needs to be updated synchronously in a timely manner to avoid test errors caused by inconsistencies between the document and the test case.

5. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: The test environment described in step 3 must be consistent with the production environment.

6. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: After the bug described in step 4 is reported, the R&D personnel need to handle it in a timely manner and record the bug.

7. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: The bug report described in step 5 should include detailed reproduction steps, error screenshots, log information, etc., so that R&D personnel can quickly locate the problem.

8. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: After the APP is released as described in step 6, you need to continue to pay attention to the performance and user feedback of the APP to ensure that the APP runs stably. At the same time, collect user feedback, identify problems in a timely manner and optimize them.

9. The method for improving the test process based on the interface test platform according to claim 1, characterized in that: The test scenarios described in step seven need to be designed based on the actual user usage scenarios to ensure the effectiveness of the test.