Universal test method and device of automated test equipment, computer device and storage medium

By classifying and inheriting base classes from the test items of automated testing equipment, the problems of code redundancy and inconvenience in modification are solved, and flexible expansion and efficient management of test items are achieved.

CN115827428BActive Publication Date: 2026-03-03HANGZHOU ZHIQIANLI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211170670.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2026-03-03
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Existing automated testing equipment suffers from code redundancy and inconvenience when adding new test items or modifying basic functions, making it difficult to efficiently manage various types of test items.

Method used

The test items of automated testing equipment are classified into attribute classes and process classes, and inherit from the corresponding base classes. Parameters and basic interfaces are set, and the test items can be flexibly extended through the generic mechanism.

Benefits of technology

It enables the rapid addition of new test items and lightweight modification of existing code, reducing code duplication and improving code maintainability and readability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115827428B_ABST
    Figure CN115827428B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an automatic test equipment general test method and device, computer equipment and a storage medium. The method comprises: classifying test items supported by the automatic test equipment to obtain a classification result; dividing each type of test item in the classification result into two base classes; dividing each type of test item in the classification result into an attribute class and a flow class, and inheriting a corresponding parent class; setting parameters and test item basic interfaces for the two base classes; and constructing function parameters for the flow class. Through the method of the embodiments of the present application, the addition of new test items or the modification of existing code can be realized, the change can be small, omission and modification can be avoided, and repeated code can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to automated testing methods, and more specifically to general testing methods, devices, computer equipment, and storage media for automated testing equipment. Background Technology

[0002] With the increasing application of various automated testing equipment, functional and performance testing of equipment is essential before production. Nowadays, the functions of automated testing equipment are becoming more diversified, requiring support for multiple types of tests simultaneously. The same type of test is also divided into many sub-tests. For these test items, automated testing equipment can improve testing efficiency, reduce time and labor costs, and perform tests that are difficult or impossible to complete manually.

[0003] Because the implementation of automated testing equipment requires writing test items in software, there are some drawbacks: when the equipment needs to support new tests, the software also needs to add a new test item; when the basic functions change, the function of each test item needs to be modified; when the equipment needs to support a large number of test functions, it is easy to cause code redundancy.

[0004] Therefore, it is necessary to design a new method to make minor changes when adding new test items or modifying existing code, avoid omissions, and reduce code duplication. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide a general testing method, device, computer equipment and storage medium for automated testing equipment.

[0006] To achieve the above objectives, the present invention adopts the following technical solution: a general testing method for automated testing equipment, comprising:

[0007] The test items supported by the automated testing equipment are classified to obtain the classification results;

[0008] Each type of test item in the classification results is divided into two base classes;

[0009] Each type of test item in the classification results is divided into attribute class and process class, and inherits the corresponding parent class;

[0010] Set parameters for the two base classes and the basic interface for the test items;

[0011] Parameters for constructing the process class.

[0012] The further technical solution is as follows: The classification of test items supported by the automated testing equipment to obtain classification results includes:

[0013] The test items supported by the automated testing equipment are classified, and the common information of test items of the same type is placed in the base class. Each test item inherits from the parent class to obtain the classification result.

[0014] The further technical solution is as follows: two base classes include a streaming test attribute base class and a streaming test process base class.

[0015] The further technical solution is as follows: The test items of each type in the classification results are divided into attribute classes and process classes, and inherit from the corresponding parent classes, including:

[0016] Each type of test item in the classification results is divided into attribute class and process class;

[0017] The test items of the attribute class inherit from the flow test attribute base class, and the test items of the process class inherit from the flow test process base class.

[0018] The further technical solution is as follows: the basic interface for setting parameters for the two base classes and the test items includes:

[0019] Set the base class of the streaming test process to generic, and set the parameters of the base class of the streaming test process to the corresponding attribute classes;

[0020] Set up the basic interface for the test item.

[0021] This invention also provides a universal testing device for automated testing equipment, comprising:

[0022] The first classification unit is used to classify the test items supported by the automated testing equipment to obtain the classification results;

[0023] The second classification unit is used to divide each type of test item in the classification result into two base classes;

[0024] The third classification unit is used to divide each type of test item in the classification results into attribute class and process class, and inherit the corresponding parent class;

[0025] The configuration unit is used to set parameters for the two base classes and the basic interface for test items;

[0026] A construction unit is used to construct function parameters for the process class.

[0027] The further technical solution is as follows: The first classification unit is used to classify the test items supported by the automated testing equipment, place the common information of the same type of test items in the base class, and each test item inherits the parent class to obtain the classification result.

[0028] Its further technical solution is as follows: The second classification unit includes:

[0029] The test item classification subunit is used to divide each type of test item in the classification results into attribute class and process class;

[0030] The inheritance sub-unit is used to inherit the test items of the attribute class from the flow test attribute base class, and to inherit the test items of the process class from the flow test process base class.

[0031] The present invention also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the above-described method.

[0032] The present invention also provides a storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0033] The beneficial effects of this invention compared to the prior art are: This invention

[0034] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description

[0035] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 A flowchart illustrating the general testing method for automated testing equipment provided in this embodiment of the invention;

[0037] Figure 2 A schematic diagram of a sub-process of the general testing method for automated testing equipment provided in an embodiment of the present invention;

[0038] Figure 3 A schematic diagram of a sub-process of the general testing method for automated testing equipment provided in an embodiment of the present invention;

[0039] Figure 4 A schematic diagram of the basic template class diagram provided in the embodiments of the present invention;

[0040] Figure 5 A schematic block diagram of a general testing device for automated testing equipment provided in an embodiment of the present invention;

[0041] Figure 6 A schematic block diagram of the second classification unit of the general testing device for automated testing equipment provided in the embodiments of the present invention;

[0042] Figure 7A schematic block diagram of the setting unit of the general testing device for automated testing equipment provided in the embodiments of the present invention;

[0043] Figure 8 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation

[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0046] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0047] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0048] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a general testing method for automated testing equipment provided in an embodiment of the present invention. This general testing method for automated testing equipment is applied to automated testing equipment, enabling the addition of new test items or modification of existing code with minimal changes, avoiding omissions and reducing duplicate code.

[0049] Figure 1 This is a flowchart illustrating the general testing method for automated testing equipment provided in this embodiment of the invention. Figure 1 As shown, the method includes the following steps S110 to S150.

[0050] S110. Classify the test items supported by the automated testing equipment to obtain the classification results.

[0051] In this embodiment, the classification results include FlowTest, CommunicationTest, etc.

[0052] Specifically, the test items supported by the automated testing equipment are classified, and the common information of test items of the same type is placed in the base class. Each test item inherits from the parent class to obtain the classification result.

[0053] The automated testing equipment supports various test items, categorizing them and placing common information for test items of the same type in a base class, with each test item inheriting from the parent class. For example, if the equipment supports pairwise interaction testing, aggregation testing, and serial port testing, since pairwise interaction testing and aggregation testing belong to stream testing, and serial port testing belongs to communication testing, then there can be two base classes: a stream testing class and a communication testing class. Pairwise interaction testing and aggregation testing can inherit from the stream testing class, and serial port testing can inherit from the communication testing class.

[0054] In this way, the common parts are extracted as the base class. When various test items are added later, only a new subclass needs to be added, which stores the attributes not included in the base class.

[0055] When new test items are added in this embodiment, only the unique test attributes need to be added.

[0056] S120. Divide each type of test item in the classification results into two base classes.

[0057] In this embodiment, the two base classes include a streaming test attribute base class and a streaming test process base class.

[0058] Specifically, a base class for flow test properties (FlowTestSetting) is created, which contains common test properties for all flow tests; a base class for flow test processes (FlowTestItem) is created, which is compatible with test processes for all flow tests.

[0059] S130. Divide each type of test item in the classification results into attribute class and process class, and inherit the corresponding parent class.

[0060] In one embodiment, please refer to Figure 2 The above-mentioned step S130 may include steps S131 to S132.

[0061] S131. Divide each type of test item in the classification results into attribute class and process class;

[0062] S132. Inherit the test items of the attribute class from the flow test attribute base class, and inherit the test items of the process class from the flow test process base class.

[0063] Specifically, create an attribute class: AllcustomSetting, which inherits from FlowTestSetting, containing the test attributes required for pairwise interactions other than those in FlowTestSetting; create a process class: AllcustomItem, which inherits from FlowTestItem. For a given test process in FlowTestItem, if different test items have different test methods, these methods are overridden in AllcustomItem. For example, if the test results need to be validated, the validation interface in FlowTestItem provides a general validation method. If the validation methods for pairwise interactions differ, then the validation interface is overridden in AllcustomItem.

[0064] Each test is divided into two main categories: test attribute settings and test process items. For example, the FlowTest class can be divided into the FlowTestSetting class (flow test attribute class) and the FlowTestItem class (flow test process class). The FlowTestSetting class contains the test attributes common to all flow tests, while the FlowTestItem class contains the common test processes for flow tests.

[0065] Similarly, pairwise interaction tests are also divided into pairwise interaction attribute classes (Class testSetting, inheriting from FlowTestSetting) and pairwise interaction process classes (Class testItem, inheriting from FlowTestItem). If some processes in FlowTestItem handle different test items differently, they should be overridden in testItem. If a pairwise interaction attribute is not present in FlowTestSetting, it should be added in testSetting.

[0066] Modifying common attributes requires only one file. When adding a new test item, the file content only needs to include the new content. Each test item is divided into two main categories: test attributes and processes, which is intuitive and easy to maintain.

[0067] This embodiment minimizes the amount of modification required when changing test items and maintains a clear structural hierarchy.

[0068] S140, setting parameters for the two base classes and the basic interface for test items.

[0069] In one embodiment, please refer to Figure 3 The above-mentioned step S140 may include steps S141 to S142.

[0070] S141. Set the base class of the streaming test process to generic, and set the parameters of the base class of the streaming test process to the corresponding attribute classes;

[0071] S142. Set the basic interface for the test item.

[0072] Please see Figure 4 Set FlowTestItem to generic type and set the parameter to the corresponding property class, such as: classFlowTestItem <t>:TestItem <t>The `where T:FlowTestSetting` directive associates the attribute class with the flow class, such as a pairwise interaction: `class AllcustomItem:FlowTestItem`. <allcustomsetting>;TestItem <t>This is the basic interface for test items: Initialize(), Run(T setting) to run the test, and Stop() to stop the test. `setting` is the property class for the test item, such as AllCustomSetting.

[0073] S150, Construct function parameters for the process class.

[0074] In this embodiment, the parameters of the AllcustomItem constructor can be some basic test properties, such as AllCustomTest(TestItemOption option), which is the entry property for initializing the test item, while AllCustomSetting is equivalent to a condition property.

[0075] This embodiment allows for minimal changes when adding new test items or modifying existing code, avoiding omissions and reducing code duplication. A clear hierarchical structure and categorization of test items improve code maintainability and readability, facilitating subsequent management.

[0076] For a concrete example: Automated testing equipment can perform pairwise interaction tests, convergence tests, and serial port tests. This leads to two categories: flow testing and communication testing. Flow testing has two files: `FlowTestItem` (basic test flow) and `FlowTestParameters` (basic test attributes). Communication testing also has two files: `CommunicationTestItem` (basic test flow) and `CommunicationTestParameters` (basic test attributes). Pairwise interaction tests also have two files: `AllCustomSetting` (test attributes unique to basic test attributes) and `AllCustomTest` (parts of the basic test flow that need to be overridden). The parent class of `AllCustomSetting` is `FlowTestParameters`, and the parent class of `AllCustomTest` is `FlowTestItem`. Similarly, serial port testing has two files: `SerialPortSetting` (test attributes unique to basic test attributes) and `SerialPortTest` (parts of the basic test flow that need to be overridden). The parent class of `SerialPortSetting` is `CommunicationTestParameters`, and the parent class of `SerialPortTest` is `CommunicationTestItem`.

[0077] The aforementioned general testing method for automated testing equipment categorizes the test items supported by the automated testing equipment, defining attribute classes and process classes, and inheriting from the corresponding parent class, i.e., the base class. When adding various test items later, only a new subclass needs to be added, containing attributes not included in the base class. Modifications to common attributes only require modifying a single file. When adding a new test item, the file content only needs to include the new content. Each test item is divided into two main categories: test attributes and processes, which is intuitive and easy to maintain. Adding new test items or modifying existing code allows for minimal changes, avoiding omissions and reducing code duplication.

[0078] Figure 5 This is a schematic block diagram of a general-purpose automated testing device 300 provided in an embodiment of the present invention. Figure 5 As shown, corresponding to the above-described general testing method for automated testing equipment, the present invention also provides a general testing device 300 for automated testing equipment. This general testing device 300 includes a unit for executing the above-described general testing method for automated testing equipment, and the device can be configured in a server. Specifically, please refer to... Figure 5 The general-purpose testing device 300 of the automated testing equipment includes a first classification unit 301, a second classification unit 302, a third classification unit 303, a setting unit 304, and a construction unit 305.

[0079] The first classification unit 301 is used to classify the test items supported by the automated testing equipment to obtain classification results; the second classification unit 302 is used to divide each type of test item in the classification results into two base classes; the third classification unit 303 is used to divide each type of test item in the classification results into attribute classes and process classes, and inherit the corresponding parent classes; the setting unit 304 is used to set parameters for the two base classes and the basic interface of the test items; the construction unit 305 is used to construct function parameters for the process class.

[0080] In one embodiment, the first classification unit 301 is used to classify the test items supported by the automated testing equipment, place the common information of test items of the same type in the base class, and each test item inherits the parent class to obtain the classification result.

[0081] In one embodiment, such as Figure 6 As shown, the second classification unit 302 includes a test item classification subunit 3021 and an inheritance subunit 3022.

[0082] The test item classification subunit 3021 is used to divide each type of test item in the classification result into attribute class and process class; the inheritance subunit 3022 is used to inherit the attribute class test item into the flow test attribute base class and the process class test item into the flow test process base class.

[0083] In one embodiment, such as Figure 7 As shown, the third classification unit 303 includes a base class setting subunit 3031 and an interface setting subunit 3032.

[0084] The base class setting subunit 3031 is used to set the base class of the streaming test process to generic and set the parameters of the base class of the streaming test process to the corresponding attribute classes; the interface setting subunit 3032 is used to set the basic interface of the test item.

[0085] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned general testing device 300 for automated testing equipment and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.

[0086] The aforementioned automated testing equipment general-purpose testing device 300 can be implemented as a computer program, which can perform tests such as... Figure 8 It runs on the computer device shown.

[0087] Please see Figure 8 , Figure 8 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a server, wherein the server can be a standalone server or a server cluster composed of multiple servers.

[0088] See Figure 8 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.

[0089] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a general test method for automated test equipment.

[0090] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0091] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a general test method for automated test equipment.

[0092] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0093] The processor 502 is used to run a computer program 5032 stored in the memory to perform the following steps:

[0094] The test items supported by the automated testing equipment are classified to obtain classification results; each type of test item in the classification results is divided into two base classes; each type of test item in the classification results is divided into attribute classes and process classes, and inherits the corresponding parent classes; parameters and basic interfaces for test items are set for the two base classes; function parameters are constructed for the process classes.

[0095] Among them, there are two base classes: the streaming test attribute base class and the streaming test process base class.

[0096] In one embodiment, when the processor 502 implements the step of classifying the test items supported by the automated testing equipment to obtain classification results, it specifically implements the following steps:

[0097] The test items supported by the automated testing equipment are classified, and the common information of test items of the same type is placed in the base class. Each test item inherits from the parent class to obtain the classification result.

[0098] In one embodiment, when the processor 502 implements the step of dividing each type of test item in the classification result into attribute class and process class, and inheriting the corresponding parent class, the specific implementation steps are as follows:

[0099] Each type of test item in the classification results is divided into attribute class and process class; the test items of the attribute class inherit from the flow test attribute base class, and the test items of the process class inherit from the flow test process base class.

[0100] In one embodiment, when implementing the steps of setting parameters for the two base classes and the basic interface for test items, the processor 502 specifically implements the following steps:

[0101] Set the base class of the streaming test process to generic, and set the parameters of the base class of the streaming test process to the corresponding attribute classes; set the basic interface of the test items.

[0102] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0103] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.

[0104] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein when executed by a processor, the computer program causes the processor to perform the following steps:

[0105] The test items supported by the automated testing equipment are classified to obtain classification results; each type of test item in the classification results is divided into two base classes; each type of test item in the classification results is divided into attribute classes and process classes, and inherits the corresponding parent classes; parameters and basic interfaces for test items are set for the two base classes; function parameters are constructed for the process classes.

[0106] Among them, there are two base classes: the streaming test attribute base class and the streaming test process base class.

[0107] In one embodiment, when the processor executes the computer program to classify the test items supported by the automated testing equipment to obtain classification results, it specifically implements the following steps:

[0108] The test items supported by the automated testing equipment are classified, and the common information of test items of the same type is placed in the base class. Each test item inherits from the parent class to obtain the classification result.

[0109] In one embodiment, when the processor executes the computer program to implement the step of classifying each type of test item in the classification result into attribute classes and process classes, and inheriting the corresponding parent class, the specific implementation is as follows:

[0110] Each type of test item in the classification results is divided into attribute class and process class; the test items of the attribute class inherit from the flow test attribute base class, and the test items of the process class inherit from the flow test process base class.

[0111] In one embodiment, when the processor executes the computer program to implement the steps of setting parameters for the two base classes and the basic interface for the test items, it specifically implements the following steps:

[0112] Set the base class of the streaming test process to generic, and set the parameters of the base class of the streaming test process to the corresponding attribute classes; set the basic interface of the test items.

[0113] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.

[0114] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0115] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0116] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0117] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.

[0118] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.< / t> < / allcustomsetting> < / t> < / t>

Claims

1. A general testing method for automated testing equipment, characterized in that, include: The test items supported by the automated testing equipment are classified to obtain the classification results; Each type of test item in the classification results is divided into two base classes; Each type of test item in the classification results is divided into attribute class and process class, and inherits the corresponding parent class; Set parameters for the two base classes and the basic interface for the test items; Construct function parameters for the process class; The process of classifying the test items supported by the automated testing equipment to obtain classification results includes: The test items supported by the automated testing equipment are classified, and the common information of test items of the same type is placed in the base class. Each test item inherits from the parent class to obtain the classification result. The two base classes include a base class for streaming test attributes and a base class for streaming test processes; The step of dividing each type of test item in the classification results into attribute classes and process classes, and inheriting from the corresponding parent class, includes: Each type of test item in the classification results is divided into attribute class and process class; The test items of the attribute class inherit from the flow test attribute base class, and the test items of the process class inherit from the flow test process base class. The parameter settings for the two base classes and the basic interface for test items include: Set the base class of the streaming test process to generic, and set the parameters of the base class of the streaming test process to the corresponding attribute classes; Set up the basic interface for the test item.

2. A universal testing device for automated testing equipment, characterized in that, The device uses the general testing method for automated testing equipment as described in claim 1, including: The first classification unit is used to classify the test items supported by the automated testing equipment to obtain the classification results; The second classification unit is used to divide each type of test item in the classification result into two base classes; The third classification unit is used to divide each type of test item in the classification results into attribute class and process class, and inherit the corresponding parent class; The configuration unit is used to set parameters for the two base classes and the basic interface for test items; Construction unit, used to construct function parameters for the process class; The first classification unit is used to classify the test items supported by the automated testing equipment, place the common information of test items of the same type in the base class, and each test item inherits the parent class to obtain the classification result; The second classification unit includes: The test item classification subunit is used to divide each type of test item in the classification results into attribute class and process class; The inheritance sub-unit is used to inherit the test items of the attribute class from the flow test attribute base class, and the test items of the process class from the flow test process base class. The two base classes include the streaming test attribute base class and the streaming test process base class.

3. A computer device, characterized in that, The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method as described in claim 1.

4. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the method as described in claim 1.

Citation Information

Patent Citations

  • Software system multi-user characteristic testing method and system

    CN101034370A

  • Method and device for detection of terminal performance

    CN103064785A

  • Universal configuration method and equipment in optical module automatic test system

    CN112526255A