Integration test method and device, equipment and storage medium

By calculating the affinity values ​​between application functional modules, and merging or separating test modules, the risk of problem leakage in the integration regression testing phase of large-scale applications is resolved, thus improving testing efficiency and accuracy.

CN120849261APending Publication Date: 2025-10-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410501274.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

In the regression testing phase of large-scale application integration, how can we effectively reduce the risk of issues being leaked online within a limited timeframe?

Method used

By identifying the objects to be modified between application functional modules, calculating the affinity value, determining the testing method based on the affinity value, merging or separating test modules, and using test cases to achieve comprehensive coverage.

Benefits of technology

This reduces the risk of application issues being leaked during the integration regression testing phase, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120849261A_ABST
    Figure CN120849261A_ABST
Patent Text Reader

Abstract

The invention provides an integration test method and device, equipment and a storage medium, and the method comprises the steps: determining the same modification object in a modification object set corresponding to at least two function modules of a target application program as a target modification object, the object type of the modification object comprises at least one of a method, a class and a module, then, based on the target modification object, an intimacy value between the at least two function modules is determined, and the intimacy value is used for reflecting the correlation degree of the modification object of the at least two function modules; the intimacy value is used for determining a test mode of the at least two function modules. Visibly, according to the embodiment of the invention, the function module which focuses on testing can be determined based on the correlation degree of the modification object between the function modules of the application program, so that the risk that problems are leaked on line is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing, and more particularly to an integrated testing method, apparatus, device, and storage medium. Background Technology

[0002] Integration testing, also known as assembly testing or joint testing, refers to assembling all modules into a subsystem or system according to design requirements (such as based on a structure diagram) and performing integration testing, building upon unit testing. Integration regression testing, on the other hand, is used to verify whether recent changes or updates to the software have unintentionally introduced new errors or negatively impacted previously functional modules.

[0003] In real-world scenarios, for large-scale applications, a large number of tests often need to be performed within a limited time during the integration and regression testing phase. In order to reduce the risk of issues being leaked online, how to test the application has become an urgent technical problem to be solved. Summary of the Invention

[0004] To address the aforementioned technical problems, embodiments of this disclosure provide an integrated testing method, apparatus, device, and storage medium that can determine the functional modules requiring focused testing based on the degree of correlation between modified objects among the functional modules of an application, thereby reducing the risk of problems being leaked online.

[0005] In a first aspect, this disclosure provides an integration testing method, the method comprising:

[0006] The same modified objects in the modified object sets corresponding to at least two functional modules of the target application are identified as target modified objects; wherein, the object type of the modified object includes at least one type among method, class and module;

[0007] Based on the target modification object, a closeness value is determined between the at least two functional modules; wherein, the closeness value is used to reflect the degree of relevance of the modification object of the at least two functional modules, and the closeness value is used to determine the testing method for the at least two functional modules.

[0008] In one optional implementation, determining the affinity value between the at least two functional modules based on the target modification object includes:

[0009] The target modification object is classified based on the object type;

[0010] The affinity value between the at least two functional modules is determined by weighting the preset weight values ​​corresponding to each of the object types and the number of target modification objects belonging to each of the object types.

[0011] In one optional implementation, after determining the affinity value between the at least two functional modules based on the target modification object, the method further includes:

[0012] If the intimacy value is determined to be greater than the preset intimacy threshold, then the at least two functional modules are combined for testing.

[0013] In one optional implementation, the step of performing a combined test on the at least two functional modules if it is determined that the intimacy value is greater than a preset intimacy threshold includes:

[0014] If it is determined that the intimacy value is greater than the preset intimacy threshold, then for the at least two functional modules, tests are performed using the test cases corresponding to the at least two functional modules respectively.

[0015] In one optional implementation, the preset weight value of the method object type is greater than the preset weight value of the class object type, and the preset weight value of the class object type is greater than the preset weight value of the module object type.

[0016] In one optional implementation, the at least two functional modules include a first functional module and a second functional module, and the step of determining the same modification objects in the modification object sets corresponding to the at least two functional modules of the target application as target modification objects includes:

[0017] Obtain a first set of modified objects corresponding to a first functional module of the target application, and a second set of modified objects corresponding to a second functional module of the target application; wherein the first set of modified objects includes modified objects of the first functional module, and the second set of modified objects includes modified objects of the second functional module;

[0018] Identify the same modified objects in the first set of modified objects and the second set of modified objects as the target modified objects.

[0019] In one optional implementation, the method further includes:

[0020] Based on the affinity value, the multiple functional module test groups corresponding to the target application are sorted to obtain the sorting result; wherein, the functional module test group includes functional modules with affinity values, the multiple functional module test groups include a first functional module test group, and the first functional module test group includes the at least two functional modules.

[0021] Based on the sorting results, the test groups of the multiple functional modules were tested respectively.

[0022] Secondly, this disclosure also provides an integrated testing apparatus, the apparatus comprising:

[0023] The first determining module is used to determine the same modified objects in the modified object sets corresponding to at least two functional modules of the target application as target modified objects; wherein, the object type of the modified object includes at least one type of method, class and module;

[0024] The second determining module is used to determine the affinity value between the at least two functional modules based on the target modification object; wherein the affinity value is used to reflect the degree of correlation between the modification objects of the at least two functional modules, and the affinity value is used to determine the testing method for the at least two functional modules.

[0025] Thirdly, this disclosure provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the above-described method.

[0026] Fourthly, this disclosure provides an integrated testing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.

[0027] Fifthly, this disclosure provides a computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described above.

[0028] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:

[0029] This disclosure provides an integration testing method. Specifically, firstly, identical modification objects in the modification object sets corresponding to at least two functional modules of the target application are identified as target modification objects. The object type of the modification object includes at least one type among methods, classes, and modules. Then, based on the target modification objects, a closeness value between at least two functional modules is determined. The closeness value is used to reflect the degree of correlation between the modification objects of at least two functional modules and to determine the testing method for at least two functional modules.

[0030] As can be seen, the embodiments of this disclosure can determine the functional modules that require key testing based on the degree of correlation between the modified objects of the application's functional modules, thereby reducing the risk of problems being leaked online. Attached Figure Description

[0031] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0032] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 A flowchart of an integration testing method provided in this disclosure embodiment;

[0034] Figure 2 This is a schematic diagram illustrating the determination of test objects in an integration test according to an embodiment of the present disclosure;

[0035] Figure 3 This is a schematic diagram of the structure of an integrated testing device provided in an embodiment of the present disclosure;

[0036] Figure 4 This is a schematic diagram of the structure of an integrated testing device provided in an embodiment of this disclosure. Detailed Implementation

[0037] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0038] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0039] In real-world scenarios, for large-scale applications, a large number of tests often need to be performed within a limited time during the integration and regression testing phase. In order to reduce the risk of issues being leaked online, how to test the application has become an urgent technical problem to be solved.

[0040] Therefore, this disclosure provides an integration testing method. Specifically, firstly, identical modification objects in the modification object sets corresponding to at least two functional modules of the target application are identified as target modification objects. The object type of the modification object includes at least one type among methods, classes, and modules. Then, based on the target modification objects, a closeness value between at least two functional modules is determined. The closeness value is used to reflect the degree of correlation between the modification objects of at least two functional modules and to determine the testing method for at least two functional modules.

[0041] As can be seen, the embodiments of this disclosure can determine the functional modules that require key testing based on the degree of correlation between the modified objects of the application's functional modules, thereby reducing the risk of problems being leaked online.

[0042] Specifically, this disclosure provides an integration testing method, referring to... Figure 1 The flowchart of an integration testing method provided in this disclosure includes:

[0043] S101: Identify the same modification objects in the modification object sets corresponding to at least two functional modules of the target application as the target modification objects.

[0044] The object type of the modified object includes at least one of the following: method, class, and module.

[0045] In this embodiment of the disclosure, the target application can be any application, which consists of multiple functional modules. Each functional module is used to implement a relatively independent function. For example, the target application may include a chat function module, a screen clearing function module, and so on.

[0046] In practical applications, some or all of the functional modules in the target application can each have a corresponding set of modification objects. Each set of modification objects can store the identification information of the modification objects in the corresponding functional module whose code has been modified. For example, the set of modification objects may include information on code addition, code modification, and code deletion for a certain method, class, or module.

[0047] In this embodiment of the disclosure, the modified objects in the modified object set may include a method whose code has been modified, and the object type of such modified objects may be a method object type; the modified objects in the modified object set may also include a class whose code has been modified, and the object type of such modified objects may be a class object type; the modified objects in the modified object set may also include a module whose code has been modified, and the object type of such modified objects may be a module object type.

[0048] In practical applications, the sets of modification objects corresponding to each functional module in the target application may contain the same modification objects. In this embodiment of the disclosure, the same modification objects corresponding to functional modules are referred to as target modification objects. The target modification object may be a method, class, or module whose code has been modified.

[0049] The method for determining the target modification objects may include first identifying at least two functional modules of the target application, including a first functional module and a second functional module; then, obtaining a first set of modification objects corresponding to the first functional module of the target application, and a second set of modification objects corresponding to the second functional module. The first set of modification objects includes modification objects of the first functional module, and the second set of modification objects includes modification objects of the second functional module.

[0050] Then, the first set of modified objects is compared with the second set of modified objects to identify the same modified objects in the first and second sets of modified objects, and the same modified objects are taken as the target modified objects.

[0051] In practical applications, obtaining the set of modification objects corresponding to a functional module may include, in one optional implementation, searching for the identification information corresponding to the functional module in the framework code of the target application to find the set of modification objects corresponding to the functional module. The identification information may include requirement number, comments, etc.

[0052] In another alternative implementation, the set of modified objects corresponding to a certain functional module can be searched in the history log.

[0053] In this embodiment of the disclosure, for a functional module in the target application that has a set of modified objects, the same modified objects in other functional modules can be identified. For example, for functional module A, the same modified objects between functional modules A and B can be identified, and the same modified objects between functional modules A, C, and D can also be identified. To improve the accuracy of integration testing, the same modified objects between different functional modules can be identified as comprehensively as possible.

[0054] S102: Based on the target modification object, determine the affinity value between the at least two functional modules.

[0055] The intimacy value is used to reflect the degree of relevance between the modified objects of the at least two functional modules, and the intimacy value is used to determine the testing method for the at least two functional modules.

[0056] In this embodiment of the disclosure, functional modules with higher affinity values ​​are more related, meaning they have a closer relationship; conversely, functional modules with lower affinity values ​​are less related, meaning they have a more distant relationship. High affinity or close relationship between different functional modules means that these different functional modules correspond to a greater number of identical modification objects.

[0057] In practical applications, before calculating the affinity value between functional modules, it is necessary to configure preset weight values ​​for each modified object in the set of modified objects corresponding to the functional module.

[0058] In one optional implementation, a preset weight value can be determined based on the object type of the object being modified. Specifically, preset weight values ​​can be configured for modified objects of method object type, modified objects of class object type, and modified objects of module object type, respectively. Since the granularity of a method is smaller than that of a class, and further smaller than that of a module, the preset weight value for a method object type is greater than the preset weight value for a class object type, and the preset weight value for a class object type is greater than the preset weight value for a module object type.

[0059] In another alternative implementation, a preset weight value can be configured for each modified object. Modified objects with different degrees of influence can be configured with different preset weight values, with higher-influence modified objects having higher weight values.

[0060] A method for calculating the affinity value between at least two functional modules may include, in an optional implementation, first classifying the target modification objects based on object type, and then performing a weighted calculation based on the preset weight value corresponding to each object type and the number of target modification objects belonging to each object type, and finally determining the affinity value between at least two functional modules.

[0061] For example, suppose the default weight of method object type is 70, the default weight of class object type is 60, and the default weight of module object type is 50. If the number of target modified objects corresponding to functional module 1 and functional module 2 in the target application is 2 for method object type, 4 for class object type, and 1 for module object type, then the affinity between functional module 1 and functional module 2 is (2*70+4*60+1*50).

[0062] By determining the affinity value between at least two functional modules in the target application, the testing method for those at least two functional modules can be further determined based on the determined affinity value.

[0063] In one optional implementation, a preset intimacy threshold can be set to determine the testing method between the at least two functional modules. Specifically, the intimacy value between the at least two functional modules is compared with a preset intimacy value. If it is determined that the intimacy value between the at least two functional modules is greater than the preset intimacy value, then the at least two functional modules are tested together; if it is determined that the intimacy value between the at least two functional modules is not greater than the preset intimacy value, then other testing methods are applied to the at least two functional modules.

[0064] The combined testing of at least two functional modules can refer to a testing method that uses more rigorous testing methods to cover various scenarios involved in the two functional modules.

[0065] In one optional implementation, if it is determined that the affinity value between the at least two functional modules is greater than a preset affinity threshold, then the at least two functional modules are subjected to merged testing using the test cases corresponding to the at least two functional modules respectively, so as to comprehensively cover the various scenarios involved in the at least two functional modules.

[0066] In the integration testing method provided in this embodiment, firstly, identical modification objects in the modification object sets corresponding to at least two functional modules of the target application are identified as target modification objects. The object type of the modification object includes at least one type among methods, classes, and modules. Then, based on the target modification objects, a closeness value between at least two functional modules is determined. The closeness value is used to reflect the degree of correlation between the modification objects of at least two functional modules and to determine the testing method for at least two functional modules.

[0067] As can be seen, the embodiments of this disclosure can determine the functional modules that require key testing based on the degree of correlation between the modified objects of the application's functional modules, thereby reducing the risk of problems being leaked online.

[0068] In practical applications, based on the above embodiments, after determining the affinity values ​​corresponding to multiple groups of functional modules, the multiple groups of functional modules corresponding to the target application can be sorted based on the affinity values, and the test methods corresponding to the multiple groups of functional modules corresponding to the target application can be determined based on the sorting results.

[0069] Specifically, for the functional modules included in the target application, functional modules with the same modification objects are aggregated into a functional module test group. Then, the affinity value between functional modules within each functional module test group is calculated. Based on the affinity value, each functional module test group is sorted to obtain the sorting result. Based on the sorting result, the testing method is determined for each functional module test group and testing is carried out according to the functional module test group.

[0070] One method for aggregating functional modules with the same modification object into a functional module test group can be to first determine the set of modification objects corresponding to each functional module in the target application, then compare the set of modification objects corresponding to each functional module, and aggregate functional modules with the same modification object together as a functional module test group.

[0071] Based on the sorting results, the testing method for each functional module test group is determined. In one optional implementation, a preset affinity value is set. If the affinity value of a functional module test group is greater than the preset affinity value, then the test cases corresponding to the functional modules included in the functional module test group are used to test each functional module in the functional module test group.

[0072] In another optional implementation, based on the sorting results, the functional module test groups with higher sorting positions (i.e., test groups with higher intimacy values) are tested by merging, while the functional module test groups with lower sorting positions (i.e., test groups with lower intimacy values) are tested by other methods.

[0073] like Figure 2 The diagram illustrates the determination of test objects in an integration test according to an embodiment of this disclosure. As shown, the target application contains functional modules 1-10 whose code modifications are required. First, the set of modification objects corresponding to each functional module is determined. Then, functional modules with the same modification object (target modification object) are identified and grouped together as a functional module test group. Figure 2 The functional module test groups 201, 202, and 203 are shown in the figure.

[0074] Then, based on the object type and corresponding preset weight value of the same modified objects contained in each functional module test group, the affinity value of each functional module test group is calculated. The functional module test groups are then sorted based on their affinity values, and the testing method for each functional module test group is determined and tested based on the sorting results.

[0075] like Figure 2 In the schematic diagram illustrating the determination of test objects during integration testing, the affinity value corresponding to functional module test group 201 is 90, the affinity value corresponding to functional module test group 202 is 80, and the affinity value corresponding to functional module test group 203 is 50. Figure 2The test modules are sorted in descending order of their intimacy values. Assuming the preset intimacy value is 80, if the intimacy value of functional module test group 201 is greater than 80, then functional module 1 and functional module 2 in functional module test group 201 can be combined for testing using the test cases corresponding to functional module 1 and functional module 2 respectively, so as to more comprehensively cover the various scenarios involved in the two functional modules.

[0076] This disclosure enables the identification of key functional modules for testing based on the correlation between modified objects among functional modules of an application, thereby reducing the risk of issues being leaked online.

[0077] Based on the above method embodiments, this disclosure also provides an integrated testing apparatus, with reference to... Figure 3 This is a schematic diagram of an integrated testing device provided in an embodiment of the present disclosure. The device includes:

[0078] The first determining module 301 is used to determine the same modification objects in the modification object sets corresponding to at least two functional modules of the target application as target modification objects; wherein, the object type of the modification object includes at least one type among method, class and module;

[0079] The second determining module 302 is used to determine the affinity value between the at least two functional modules based on the target modification object; wherein the affinity value is used to reflect the degree of correlation between the modification objects of the at least two functional modules, and the affinity value is used to determine the testing method for the at least two functional modules.

[0080] In one optional implementation, the second determining module includes:

[0081] A classification module is used to classify the target modification object based on the object type;

[0082] The first determining submodule is used to perform a weighted calculation based on the preset weight values ​​corresponding to each of the object types and the number of target modification objects belonging to each of the object types to determine the affinity value between the at least two functional modules.

[0083] In one optional embodiment, the apparatus further includes:

[0084] The first testing module is used to perform a combined test on the at least two functional modules when the intimacy value is greater than a preset intimacy threshold.

[0085] In one optional implementation, the testing module is specifically used for:

[0086] When the intimacy value is determined to be greater than the preset intimacy threshold, tests are performed on the at least two functional modules using the test cases corresponding to the at least two functional modules respectively.

[0087] In one optional implementation, the preset weight value of the method object type is greater than the preset weight value of the class object type, and the preset weight value of the class object type is greater than the preset weight value of the module object type.

[0088] In one optional implementation, the at least two functional modules include a first functional module and a second functional module, wherein the first determining module includes:

[0089] The acquisition module is used to acquire a first set of modified objects corresponding to a first functional module of the target application, and a second set of modified objects corresponding to a second functional module of the target application; wherein the first set of modified objects includes the modified objects of the first functional module, and the second set of modified objects includes the modified objects of the second functional module;

[0090] The second determination submodule is used to determine the same modification objects in the first set of modification objects and the second set of modification objects as target modification objects.

[0091] In one optional embodiment, the apparatus further includes:

[0092] The sorting module is used to sort multiple functional module test groups corresponding to the target application based on the intimacy value to obtain a sorting result; wherein, the functional module test group includes functional modules with intimacy values, and the multiple functional module test groups include a first functional module test group, which includes the at least two functional modules.

[0093] The second testing module is used to test the multiple functional module test groups respectively based on the sorting results.

[0094] This disclosure provides an integrated testing apparatus. Specifically, firstly, identical modification objects in the modification object sets corresponding to at least two functional modules of a target application are identified as target modification objects. The object type of the modification object includes at least one type among methods, classes, and modules. Then, based on the target modification objects, a closeness value between at least two functional modules is determined. The closeness value reflects the degree of correlation between the modification objects of at least two functional modules and is used to determine the testing method for at least two functional modules.

[0095] As can be seen, the embodiments of this disclosure can determine the functional modules that require key testing based on the degree of correlation between the modified objects of the application's functional modules, thereby reducing the risk of problems being leaked online.

[0096] In addition to the methods and apparatus described above, embodiments of this disclosure also provide a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the integration testing method described in embodiments of this disclosure.

[0097] This disclosure also provides a computer program product, which includes a computer program / instruction that, when executed by a processor, implements the integration testing method described in this disclosure.

[0098] In addition, this disclosure also provides an integrated testing device, see [link to relevant documentation]. Figure 4 As shown, it may include:

[0099] The integrated test equipment includes a processor 401, a memory 402, an input device 403, and an output device 404. The number of processors 401 in the integrated test equipment can be one or more. Figure 4 Taking a processor as an example. In some embodiments of this disclosure, the processor 401, memory 402, input device 403, and output device 404 can be connected via a bus or other means, wherein, Figure 4 Taking the example of a connection between China and Israel via a bus.

[0100] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing of the integrated test equipment by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 403 can be used to receive input digital or character information, and to generate signal inputs related to user settings and function control of the integrated test equipment.

[0101] Specifically in this embodiment, the processor 401 loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby realizing the various functions of the above-mentioned integrated testing device.

[0102] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0103] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0104] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0105] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0106] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An integration testing method, characterized in that, include: The same modified objects in the modified object sets corresponding to at least two functional modules of the target application are identified as target modified objects; wherein, the object type of the modified object includes at least one type among method, class and module; Based on the target modification object, a closeness value is determined between the at least two functional modules; wherein, the closeness value is used to reflect the degree of relevance of the modification object of the at least two functional modules, and the closeness value is used to determine the testing method for the at least two functional modules.

2. The method according to claim 1, characterized in that, Determining the affinity value between the at least two functional modules based on the target modification object includes: The target modification object is classified based on the object type; The affinity value between the at least two functional modules is determined by weighting the preset weight values ​​corresponding to each of the object types and the number of target modification objects belonging to each of the object types.

3. The method according to claim 1 or 2, characterized in that, After determining the affinity value between the at least two functional modules based on the target modification object, the method further includes: If the intimacy value is determined to be greater than the preset intimacy threshold, then the at least two functional modules are combined for testing.

4. The method according to claim 3, characterized in that, If it is determined that the intimacy value is greater than a preset intimacy threshold, then a combined test is performed on the at least two functional modules, including: If it is determined that the intimacy value is greater than the preset intimacy threshold, then for the at least two functional modules, tests are performed using the test cases corresponding to the at least two functional modules respectively.

5. The method according to claim 1 or 2, characterized in that, The preset weight value of the method object type is greater than the preset weight value of the class object type, and the preset weight value of the class object type is greater than the preset weight value of the module object type.

6. The method according to claim 1, characterized in that, The at least two functional modules include a first functional module and a second functional module. The step of identifying identical modification objects from the modification object sets corresponding to the at least two functional modules of the target application as target modification objects includes: Obtain a first set of modified objects corresponding to a first functional module of the target application, and a second set of modified objects corresponding to a second functional module of the target application; wherein the first set of modified objects includes modified objects of the first functional module, and the second set of modified objects includes modified objects of the second functional module; Identify the same modified objects in the first set of modified objects and the second set of modified objects as the target modified objects.

7. The method according to claim 1, characterized in that, The method further includes: Based on the affinity value, the multiple functional module test groups corresponding to the target application are sorted to obtain the sorting result; wherein, the functional module test group includes functional modules with affinity values, the multiple functional module test groups include a first functional module test group, and the first functional module test group includes the at least two functional modules. Based on the sorting results, the test groups of the multiple functional modules were tested respectively.

8. An integrated testing device, characterized in that, The device includes: The first determining module is used to determine the same modified objects in the modified object sets corresponding to at least two functional modules of the target application as target modified objects; wherein, the object type of the modified object includes at least one type of method, class and module; The second determining module is used to determine the affinity value between the at least two functional modules based on the target modification object; wherein the affinity value is used to reflect the degree of correlation between the modification objects of the at least two functional modules, and the affinity value is used to determine the testing method for the at least two functional modules.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a terminal device, cause the terminal device to perform the method as described in any one of claims 1-7.

10. An integrated testing device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1-7.

11. A computer program product, characterized in that, The computer program product includes a computer program / instruction that, when executed by a processor, implements the method as described in any one of claims 1-7.