Platform test method and device, electronic equipment and storage medium
By updating the platform information in the test cases and generating target test cases that are suitable for the new platform, the problem of platform changes in the existing technology requires re-editing of test cases, and the reuse and cost reduction of test cases are achieved.
Patent Information
- Application Number
- CN202310657824.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-12-06
AI Technical Summary
In the prior art, when the platform changes, the test cases need to be re-edited, resulting in high testing costs and waste of resources, and the failure to reuse previous test cases.
By obtaining the information of the existing test platform recorded in the test case, updating the target test cases of the platform to be tested, generating test cases that are suitable for the new platform, and avoiding re-editing.
It realizes the reuse of test cases, reduces the cost of platform testing, and improves testing efficiency.
Smart Images

Figure CN119088665A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle detection technology, and in particular to a platform testing method, device, electronic equipment and storage medium. Background Art
[0002] With the development of automated testing technology, more and more automated testing tools and frameworks have emerged in the market, and more and more testers are choosing to perform automated testing on applications. Currently, testers can write specific test case codes on demand. In this way, the backend system can automatically execute this test case code to achieve automated testing of the application.
[0003] In current technology, test cases on the same platform can usually be reused or simply modified. However, when a new platform appears, the test cases need to be re-edited, and the test cases of other platforms cannot be reused. Test cases need to be written based on the information of the new platform, which increases the cost of platform testing and takes up a lot of manpower and resources. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, an object of the present disclosure is to propose a platform testing method.
[0006] The second objective of the present disclosure is to provide a platform testing device.
[0007] A third objective of the present disclosure is to provide an electronic device.
[0008] A fourth object of the present disclosure is to provide a non-transitory computer-readable storage medium.
[0009] To achieve the above-mentioned purpose, the first aspect of the present disclosure proposes a platform testing method, including: obtaining a test case and first platform information of a platform to be tested, the test case being used to test an existing test platform; obtaining a storage node for second platform information of the existing test platform recorded in the test case; updating the second platform information in the storage node based on the first platform information to obtain a target test case for the platform to be tested; and calling the target test case to test the platform to be tested.
[0010] In one embodiment of the present disclosure, obtaining the storage node of the second platform information of the existing test platform recorded in the test case includes: parsing the test step set of the test case, and obtaining the storage node of the second platform information of the existing test platform recorded in the test step set.
[0011] In one embodiment of the present disclosure, the second platform information in the storage node is updated based on the first platform information to obtain a target test case for the platform to be tested, including: updating the second platform information in the storage node in the test step set based on the first platform information to obtain a target test step adapted for the platform to be tested; integrating the target test steps into a target test case suitable for the platform to be tested.
[0012] In one embodiment of the present disclosure, the target test steps are integrated into a target test case suitable for the platform to be tested, including: based on the test case, obtaining the test order of each test step in the test step set, and using it as the arrangement order of the target test steps; based on the arrangement order of the target test steps, sorting the target test steps to obtain the target test case.
[0013] In one embodiment of the present disclosure, the updating of the second platform information in the storage node based on the first platform information includes: obtaining first configuration information in the first platform information; matching the first configuration information with the second configuration information in the second platform information, and determining the successfully matched first configuration information as the target configuration information; and replacing the successfully matched second configuration information with the target configuration information.
[0014] In one embodiment of the present disclosure, the second platform information in the storage node is updated based on the first platform information to obtain a target test case for the platform to be tested, and also includes: replacing the second platform information in the storage node with the first platform information to obtain an initial target test case for the platform to be tested; if it is determined that special test steps need to be performed when testing the platform to be tested, generating a special test instruction case based on the special test steps; and integrating the special test case into the initial target test case to obtain the target test case.
[0015] In one embodiment of the present disclosure, obtaining the storage node of the second platform information of the existing test platform recorded in the test step set includes: obtaining a storage identifier preset in the test case, wherein the storage identifier is identification information pre-assigned to the storage node; and determining the storage node of the second platform information based on the storage identifier.
[0016] To achieve the above-mentioned purpose, the second aspect embodiment of the present disclosure proposes a platform testing device, including: an acquisition module, used to obtain a test case and a first platform information of a platform to be tested, wherein the test case is used to test an existing test platform; a parsing module, used to obtain a storage node for the second platform information of the existing test platform recorded in the test case; an update module, used to update the second platform information in the storage node based on the first platform information to obtain a target test case for the platform to be tested; and a testing module, used to call the target test case to test the platform to be tested.
[0017] To achieve the above-mentioned purpose, the third aspect embodiment of the present disclosure proposes an electronic device, comprising: 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 to implement the platform testing method as described in the first aspect embodiment of the present disclosure.
[0018] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to implement the platform testing method as described in the first aspect embodiment of the present disclosure.
[0019] Beneficial effect: By adopting the scheme of the present application, when it is necessary to test the platform to be tested, there is no need to re-edit the target test case. Instead, by determining the storage node of the test case of the existing test platform, the first platform information of the platform to be tested is used to update the second platform information of the existing test platform in the storage node. That is, the first platform information of the platform to be tested is used to directly update the second platform information in the test case, so that the target test case adapted to the platform to be tested can be generated. The target test case can be obtained through simple updating steps, thereby realizing the reuse of the test case of the existing test platform without re-editing, which can reduce the cost of platform testing and improve testing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a platform testing method according to one embodiment of the present disclosure;
[0021] Figure 2 is a flow chart of another platform testing method according to an embodiment of the present disclosure;
[0022] Figure 3 is a flow chart of another platform testing method according to an embodiment of the present disclosure;
[0023] Figure 4 A block diagram of a platform testing device proposed in the present disclosure;
[0024] Figure 5 The present invention provides a block diagram of an electronic device. DETAILED DESCRIPTION
[0025] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0026] Figure 1 A schematic diagram of an exemplary implementation of a platform testing method proposed in the present disclosure is shown as follows: Figure 1 As shown, the platform testing method includes the following steps:
[0027] S101, obtaining a test case and first platform information of a platform to be tested, wherein the test case is used to test an existing test platform.
[0028] In the embodiments of the present disclosure, the platform information may include a variety of information, which is not limited here and may be limited according to actual design needs. The platform information may include the address and website of entering the test platform, and may also include the network configuration of the platform, the platform name, etc.
[0029] In the embodiments of the present disclosure, there are many methods for obtaining platform information, which are not limited here. For example, it can be input by a user, or it can be obtained by parsing the platform through software.
[0030] In implementation, test cases are generally in the form of text, i.e., test case text. It should be noted that the test case text may include a variety of information, which is not limited here and may be changed according to actual design needs. For example, it may include the steps to be executed during the test, the ports to be called during the test, the test objects, etc.
[0031] It should be noted that the existing test platform in the embodiment of the present disclosure can be obtained from the test case data of successful historical tests, or can be manually edited and input and successfully verified, so as to improve the accuracy of subsequent use.
[0032] S102, obtaining a storage node for the second platform information of the existing test platform recorded in the test case.
[0033] It should be noted that the storage node is a location point for storing platform information, and the storage node can be used to call the platform information for processing operations when performing operations. The storage node is a storage location for storing platform information in a test case.
[0034] It should be noted that there are many methods for obtaining storage nodes, and no limitation is made here.
[0035] Optionally, the storage node where the user stores the second platform information may be obtained by decomposing the test case text of the test case.
[0036] Optionally, the test case can also be input into the storage node determination model to obtain the storage node where the user stores the second platform information. The determination model is trained in advance and can be stored in the storage space of the electronic device to facilitate retrieval and use when needed.
[0037] S103: Update the second platform information in the storage node based on the first platform information to obtain a target test case of the platform to be tested.
[0038] There may be many methods for updating the second platform information in the storage node based on the first platform information, which are not limited here.
[0039] Optionally, the first platform information may directly replace the second platform information.
[0040] Optionally, the first platform information may be processed to generate update information adapted to the test case and updated to the storage node. There may be multiple processing methods, for example, processing the first platform information into data in the same format as the second platform information, and desensitizing the first platform information.
[0041] S104, calling the target test case to test the platform to be tested.
[0042] In the disclosed embodiment, the test case and the first platform information of the platform to be tested are first obtained, the test case is used to test the existing test platform, and then the storage node of the second platform information of the existing test platform recorded in the test case is obtained, and then the second platform information in the storage node is updated based on the first platform information to obtain the target test case of the platform to be tested, and finally the target test case is called to test the platform to be tested. Thus, by determining the storage node of the test case of the existing test platform, the second platform information in the storage node of the platform to be tested is updated to replace the second platform information in the test case, and generate a target test case adapted to the platform to be tested, the test case of the existing test platform can be reused without re-editing, which can reduce the cost of platform testing and improve testing efficiency.
[0043] In an embodiment of the present disclosure, the storage node of the second platform information of the existing test platform recorded in the test case can be obtained by parsing the test step set of the test case to obtain the storage node of the second platform information of the existing test platform recorded in the test step set.
[0044] In one embodiment of the present disclosure, the storage node of the second platform information of the existing test platform recorded in the test step set is obtained by parsing the test step set of the test case to obtain the storage node of the second platform information of the existing test platform recorded in the test step set.
[0045] As another possible implementation method, the storage node of the second platform information of the existing test platform recorded in the test step set can be obtained by obtaining a storage identifier preset in the test case, wherein the storage identifier is identification information pre-assigned to the storage node, and then the storage node of the second platform information is determined based on the storage identifier.
[0046] It should be noted that different storage nodes may correspond to different storage identifiers. For example, the storage identifier corresponding to the storage node storing the URL and the storage identifier corresponding to the storage node storing the user login information may be different. In this way, different storage nodes and corresponding configuration information can be distinguished.
[0047] It should be noted that in response to the target test case failing to be tested normally on the platform to be tested, an error correction alarm is issued, so that the tester can be notified to make timely adjustments to the test case.
[0048] In the above embodiment, the second platform information in the storage node is updated based on the first platform information to obtain the target test case of the platform to be tested. Figure 2 Explaining further, the method includes:
[0049] S201, updating the second platform information in the storage node in the test step set based on the first platform information to obtain a target test step adapted to the platform to be tested.
[0050] In the embodiment of the present disclosure, the test step set is a set of each step when testing the platform. There are many ways to obtain the test steps, and no limitation is made here.
[0051] Optionally, the test case text may be input into a test step generation model for processing to obtain test steps for the test. The test step generation model is a model for generating test steps for the test case, which is trained in advance and stored in the storage space of the electronic device for easy retrieval and use when needed.
[0052] Optionally, natural language processing can be performed on the test case text to parse out the test steps in the test case text. In implementation, the test steps recorded in the test case text are generally arranged according to normal test steps, so the order in which the test steps appear in the test case text can be used as the test steps of the test case.
[0053] In implementation, the test steps recorded in the test case text are generally arranged according to a normal test sequence. Therefore, the order in which the test steps appear in the test case text can be used as the test sequence of the test case.
[0054] For example, the test sequence obtained based on the test case can be: 1: enter the POST diagnostic menu, 2: activate the POSTTFTP service, 3: upload the bin file through the POST TFTP function, 4: downgrade all firmware through POST, 5: restart the system, 6: check whether all updated firmware is successfully updated, 7: enter all firmware into the original version for recovery, 8: repeat steps 1-7.
[0055] S202, integrating target test steps into target test cases suitable for the platform to be tested.
[0056] After obtaining the target test steps, they can be sorted according to the test order of the test cases to obtain the target test cases.
[0057] Optionally, based on the test case, the test order of each test step in the test step set can be obtained and used as the arrangement order of the target test steps. Then, based on the arrangement order of the target test steps, the target test steps are sorted to obtain the target test case.
[0058] In an embodiment of the present disclosure, first, the second platform information in the storage node in the test step set is updated based on the first platform information to obtain the target test steps adapted to the platform to be tested, and then the second platform information in the storage node in the test step set is updated based on the first platform information to obtain the target test steps adapted to the platform to be tested, and finally the target test steps are integrated into a target test case suitable for the platform to be tested.
[0059] In the above embodiment, the second platform information in the storage node is updated based on the first platform information to obtain the target test case of the platform to be tested, and the target test case of the platform to be tested can also be obtained by Figure 3 Explaining further, the method includes:
[0060] S301: Obtain first configuration information in first platform information.
[0061] It should be noted that the configuration information of different platforms to be tested may be different, and no limitation is made here. The configuration information adapted to the platform to be tested may be determined from the test case library based on the type and name of the test platform. The configuration information may include multiple types, for example, the driver and dialect for starting the test platform, and no limitation is made here.
[0062] In the embodiments of the present disclosure, there may be multiple methods for obtaining the first configuration information, which are not limited here. For example, the first configuration information may be obtained by identifying a tag or position set in advance. Optionally, the first platform information may also be processed, such as by performing semantic analysis, to obtain the first configuration information.
[0063] S302: Match the first configuration information with the second configuration information in the second platform information, and determine the first configuration information that matches successfully as the target configuration information.
[0064] In the embodiment of the present disclosure, the configuration information may include multiple types. In order to make the target test case fit the platform to be tested and be a complete test case, it is necessary to determine the one-to-one corresponding information before replacing the target configuration information with the corresponding second configuration information.
[0065] In the embodiment of the present disclosure, the first configuration information and the second configuration information in the second platform information can be processed by a matching model to determine the target configuration information that matches successfully. The matching model can be trained in advance and stored in the storage space of the electronic device to facilitate retrieval and use when needed.
[0066] Optionally, the target configuration information that matches successfully can also be determined by a natural language algorithm. The natural language algorithm is set in advance and can be changed according to actual design needs, and is not limited here.
[0067] S303: Use the target configuration information to replace the successfully matched second configuration information.
[0068] In the disclosed embodiment, the first configuration information in the first platform information is first obtained, and then the first configuration information is matched with the second configuration information in the second platform information to determine the successfully matched target configuration information, and finally the successfully matched second configuration information is replaced with the target configuration information. Thus, by matching the first configuration information with the second configuration information in the second platform information and performing corresponding replacement, a data basis is provided for the subsequent generation of test cases that match the platform to be tested.
[0069] It should be noted that the first configuration information and the second configuration information include one or more of platform parameters, configuration parameters and test case status judgment rules.
[0070] In one possible implementation of the present disclosure, the second platform information in the storage node is updated based on the first platform information to obtain the target test case of the platform to be tested. The first platform information can also replace the second platform information in the storage node to obtain the initial target test case of the platform to be tested. If it is determined that special test steps need to be performed when testing the platform to be tested, special test instruction cases are generated based on the special test steps. Finally, the special test cases are integrated into the initial target test cases to obtain the target test cases.
[0071] It should be noted that the special test steps may include multiple types. For example, they may be personalized steps that distinguish the platform to be tested from the existing test platforms, or they may be test steps that are set in advance based on test needs during the test.
[0072] By adding special test steps, you can implement personalized testing or testing that is adapted to the current test platform, thereby improving the test effect.
[0073] Corresponding to the platform testing methods provided in the above-mentioned embodiments, an embodiment of the present disclosure further provides a platform testing device. Since the platform testing device provided in the embodiment of the present disclosure corresponds to the platform testing methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned platform testing methods are also applicable to the platform testing device provided in the embodiment of the present disclosure and will not be described in detail in the following embodiments.
[0074] Figure 4 A schematic diagram of a platform testing device proposed in the present disclosure, such as Figure 4 As shown, the platform testing device 400 includes: an acquisition module 410 , a parsing module 420 , an updating module 430 and a testing module 440 .
[0075] The acquisition module 410 is used to acquire the test case and the first platform information of the platform to be tested, and the test case is used to test the existing test platform.
[0076] The parsing module 420 is used to obtain a storage node of the second platform information of the existing test platform recorded in the test case.
[0077] The updating module 430 is used to update the second platform information in the storage node based on the first platform information to obtain a target test case of the platform to be tested.
[0078] The testing module 450 is used to call the target test case to test the platform to be tested.
[0079] In one embodiment of the present disclosure, the parsing module 420 is further used to: parse the test step set of the test case, and obtain the storage node of the second platform information of the existing test platform recorded in the test step set.
[0080] In one embodiment of the present disclosure, the parsing module 420 is further used to: obtain a storage identifier preset in the test case, wherein the storage identifier is identification information pre-assigned to the storage node; and determine the storage node of the second platform information based on the storage identifier.
[0081] In one embodiment of the present disclosure, the update module 430 is also used to: update the second platform information in the storage node in the test step set based on the first platform information to obtain the target test steps adapted to the platform to be tested; and integrate the target test steps into a target test case suitable for the platform to be tested.
[0082] In one embodiment of the present disclosure, the update module 430 is also used to: based on the test case, obtain the test order of each test step in the test step set, and use it as the arrangement order of the target test steps; based on the arrangement order of the target test steps, sort the target test steps to obtain the target test case.
[0083] In one embodiment of the present disclosure, the update module 430 is further used to: obtain the first configuration information in the first platform information; match the first configuration information with the second configuration information in the second platform information, and determine the successfully matched first configuration information as the target configuration information; and replace the successfully matched second configuration information with the target configuration information.
[0084] In one embodiment of the present disclosure, the update module 430 is also used to: replace the second platform information in the storage node with the first platform information to obtain the initial target test case of the platform to be tested; if it is determined that special test steps need to be performed when testing the platform to be tested, generate special test instruction cases based on the special test steps; and obtain the target test case after integrating the special test case into the initial target test case.
[0085] By determining the storage node of the test case of the existing test platform, the second platform information in the storage node of the platform to be tested is updated to replace the second platform information in the test case, and generate a target test case suitable for the platform to be tested. This can achieve the reuse of the test cases of the existing test platform without the need for re-editing, which can reduce the cost of platform testing and improve testing efficiency.
[0086] In an embodiment of the present disclosure, the storage node of the second platform information of the existing test platform recorded in the test case can be obtained by parsing the test step set of the test case to obtain the storage node of the second platform information of the existing test platform recorded in the test step set.
[0087] In one embodiment of the present disclosure, the storage node of the second platform information of the existing test platform recorded in the test step set is obtained by parsing the test step set of the test case to obtain the storage node of the second platform information of the existing test platform recorded in the test step set.
[0088] As another possible implementation method, the storage node of the second platform information of the existing test platform recorded in the test step set can be obtained by obtaining a storage identifier preset in the test case, wherein the storage identifier is identification information pre-assigned to the storage node, and then the storage node of the second platform information is determined based on the storage identifier.
[0089] It should be noted that different storage nodes may correspond to different storage identifiers. For example, the storage identifier corresponding to the storage node storing the URL and the storage identifier corresponding to the storage node storing the user login information may be different. In this way, different storage nodes and corresponding configuration information can be distinguished.
[0090] It should be noted that in response to the target test case failing to be tested normally on the platform to be tested, an error correction alarm is issued, so that the tester can be notified to make timely adjustments to the test case.
[0091] In order to implement the above embodiment, the present disclosure also provides an electronic device 500, such as Figure 5 As shown, the electronic device 500 includes: a processor 501 and a memory 502 communicatively connected to the processor, the memory 502 stores instructions executable by at least one processor, and the instructions are executed by at least one processor 501 to implement the platform testing method as an embodiment of the first aspect of the present disclosure.
[0092] In order to implement the above embodiments, the embodiments of the present disclosure further propose a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to implement the platform testing method as described in the first aspect of the embodiments of the present disclosure.
[0093] In order to implement the above embodiments, the embodiments of the present disclosure further provide a computer program product, including a computer program, which implements the platform testing method of the first aspect of the present disclosure when executed by a processor.
[0094] In the description of the present disclosure, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.
[0095] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0096] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0097] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A platform testing method, characterized in that: The method comprises: Acquire a test case and first platform information of a platform to be tested, wherein the test case is used to test an existing test platform; Obtaining a storage node for the second platform information of the existing test platform recorded in the test case; The second platform information in the storage node is updated based on the first platform information to obtain a target test case of the platform to be tested; The target test case is called to test the platform to be tested.
2. The platform testing method according to claim 1, characterized in that: The acquiring the storage node of the second platform information of the existing test platform recorded in the test case includes: The test step set of the test case is parsed to obtain a storage node of the second platform information of the existing test platform recorded in the test step set.
3. The method according to claim 1, characterized in that The acquiring the storage node of the second platform information of the existing test platform recorded in the test case includes: Obtaining a storage identifier preset in the test case, wherein the storage identifier is identification information pre-assigned to the storage node; A storage node for the second platform information is determined based on the storage identifier.
4. The platform testing method according to any one of claims 1 to 3, characterized in that: The updating the second platform information in the storage node based on the first platform information to obtain a target test case for the platform to be tested includes: Based on the first platform information, the second platform information in the storage node in the test step set is updated to obtain a target test step adapted to the platform to be tested; The target test steps are integrated into target test cases suitable for the platform to be tested.
5. The method according to claim 4, characterized in that The step of integrating the target test steps into a target test case suitable for the platform to be tested comprises: Based on the test case, obtaining the test order of each test step in the test step set, and using it as the arrangement order of the target test steps; Based on the arrangement order of the target test steps, the target test steps are sorted to obtain the target test case.
6. The method according to claim 1, characterized in that The updating the second platform information in the storage node based on the first platform information includes: Obtaining first configuration information in the first platform information; Based on matching the first configuration information with the second configuration information in the second platform information, determining the first configuration information that successfully matches as the target configuration information; The target configuration information is used to replace the second configuration information that matches successfully.
7. The method according to claim 1, characterized in that The updating the second platform information in the storage node based on the first platform information to obtain a target test case for the platform to be tested includes: Replacing the second platform information in the storage node with the first platform information to obtain an initial target test case of the platform to be tested; If it is determined that special test steps need to be performed when testing the platform to be tested, a special test instruction case is generated based on the special test steps; The target test case is obtained by integrating the special test case into the initial target test case.
8. A platform testing device, characterized in that: The device comprises: An acquisition module, used to acquire a test case and first platform information of a platform to be tested, wherein the test case is used to test an existing test platform; A parsing module, used for obtaining a storage node of the second platform information of the existing test platform recorded in the test case; An updating module, configured to update the second platform information in the storage node based on the first platform information to obtain a target test case for the platform to be tested; The test module is used to call the target test case to test the platform to be tested.
9. An electronic device, characterized in that: including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
