A 3D CAD software testing method and system based on unified interface driver
By designing a unified standard test interface specification and encapsulating an SDK interface that adapts to existing 3D CAD software, automated testing of 3D CAD software has been realized, cross-software comparability and efficiency issues have been solved, and the quality and market competitiveness of domestic software have been improved.
Patent Information
- Application Number
- CN202210088096.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-01-25
AI Technical Summary
Existing 3D CAD software lacks a unified and universal testing interface, making it difficult for automated testing tools to achieve cross-software comparability and efficiency, affecting the quality and market promotion of domestic software.
Design a unified standard test interface specification, encapsulate the SDK interface that adapts to existing 3D CAD software, and implement automated testing through the unified interface, including designing test cases and scripts, executing automatic tests, outputting result models for comparison, and recording resource consumption and time.
It achieves quantitative comparability between domestic 3D CAD software and foreign software, improves testing efficiency, helps domestic software make up for technical shortcomings, and promotes market promotion.
Smart Images

Figure CN114661576B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of CAD software testing, and more specifically, to a three-dimensional CAD software testing method and system based on a unified interface driver. Background Art
[0002] Judging from the overall development trend of 3D CAD software at home and abroad, driven by new technologies such as big data, the Internet of Things, and cloud computing, 3D CAD software is becoming increasingly intelligent, cloud-based, and customized. Foreign 3D CAD started early, and software giants have fully mastered the underlying core technology and have formed a monopoly on the 3D CAD market. However, domestic 3D CAD software has developed to date, and there is still a clear gap between the software technology level, performance, commercialization, and marketization and international mainstream products. 3D CAD software is the core and foundation of product innovation and design. Its technical level and performance directly affect the R&D level of new products and the data security in the fields of national defense and military industry.
[0003] In order to ensure the quality of domestic 3D CAD software, it is necessary to conduct comprehensive software testing so that the functional indicators, performance indicators, and system stability indicators of the 3D CAD system can fully meet the actual requirements of modern industrial design and manufacturing. Since 3D CAD software has complex functions and many evaluation indicators, and the test results are greatly affected by people's operating proficiency and subjective feelings, manual testing is difficult to be efficient, objective, and quantitative. It is necessary to study automated evaluation technology, design and develop automated software tools and standard case libraries, and realize automated testing.
[0004] At present, after years of development, general automated testing technologies and tools for conventional software have become relatively mature. The initial automated testing tools only provided simple capture / playback functions, recording and playing keyboard keys, and then capturing and comparing screens. Later, they were replaced by test script tools with stronger functions and flexibility. In order to reduce maintenance costs and enhance reusability, data-driven scripts and keyword-driven automated testing frameworks have emerged, allowing testers to focus their main efforts on the design of test cases. In terms of automated testing tool development, domestic software manufacturers have also achieved some research and development results, including automated testing software independently developed by Jinhang Digital and Zhongwang, which are basically automated testing tools based on recording and playback of user operations, combined with macros and automated testing script technology. At present, there is no tool for 3D CAD automated testing based on unified test interface calls. At present, mainstream foreign 3D CAD software such as CATIA, SolidWorks, UG, etc., have opened secondary development interfaces, but there are significant differences in interface definition, function and implementation. Domestic 3D CAD software manufacturers have also opened up access interfaces between system layers, external data exchange interfaces, system integration interfaces and user secondary development interfaces, but have failed to form a unified and universal testing interface and cannot be directly used for interface-based automated testing. Summary of the invention
[0005] The present invention aims to solve the technical problem that three-dimensional CAD software in the prior art cannot form a unified and universal test interface.
[0006] The present invention provides a 3D CAD software testing method based on a unified interface driver, comprising the following steps:
[0007] S1, design a unified standard test interface specification; based on the comparison and analysis of the secondary development interface of existing mainstream foreign 3D CAD software, introduce the concepts of objects and behaviors to abstract the standard test interface and design a unified standard test interface specification;
[0008] S2, encapsulating a 3D CAD test component based on a unified standard test interface; according to the requirements of the unified standard test interface specification, encapsulating and adapting or reconstructing or transforming the existing SDK interfaces of existing foreign mainstream 3D CAD software and domestic 3D CAD software to be tested, to obtain a 3D CAD automatic test interface component covering the unified standard test interface specification;
[0009] S3, design test cases based on the unified test interface, including a set of test cases that cover all functional test indicators and are comparable, express test cases through interpretable scripts, design and establish a classification case system, use interpretable scripts to call the unified test interface of the tested 3D CAD software, complete automatic testing of test cases in the tested 3D CAD software, and output test results;
[0010] S4, executing a unified test script to complete automatic testing; executing the same test case in each tested 3D CAD software to achieve automatic testing respectively;
[0011] S5, compares the output result model obtained by automatic testing with the standard model to verify the correctness of the output result; and automatically records the computing resources and time consumption during the interface call execution process, and compares them with the reference values obtained by benchmarking software testing to obtain comparable quantitative performance indicators.
[0012] Preferably, S3 further includes: designing a test case script, and calling a unified standard test interface through the test case script.
[0013] Preferably, the S4 specifically includes: by applying Python and C++ bidirectional integration technology, the automatic test tool is started through a menu, the automatic test function is completed with one-key operation, and the test result model and performance data of the corresponding function are formed;
[0014] Preferably, the existing foreign mainstream 3D CAD software includes UG, CROE, and CATIA.
[0015] Preferably, the unified standard test interface includes a function evaluation interface and a performance evaluation interface.
[0016] Preferably, the objects include parts, features, surfaces, and curves; and the behaviors include editing operations.
[0017] Preferably, S4 and S5 specifically include: calling the corresponding functional modules of the existing foreign mainstream 3D CAD software and the 3D CAD software to be tested respectively through the unified standard test interface, and obtaining the standard model and the test result 3D model based on the unified STEP intermediate format respectively, comparing the geometric shape, size, accuracy, annotation, and MBD information of the two models, and displaying the geometric shape differences of the two models for analysis.
[0018] The present invention also provides a 3D CAD software testing system based on a unified interface driver, the system is used to implement a 3D CAD software testing method based on a unified interface driver, comprising:
[0019] Unified standard test interface specification design module, used to design unified standard test interface specifications; based on the comparison and analysis of the secondary development interfaces of existing mainstream foreign 3D CAD software, the object and behavior concepts are introduced to abstract the standard test interface and design unified standard test interface specifications;
[0020] A unified standard test interface generation module is used to encapsulate 3D CAD test components based on the unified standard test interface; according to the requirements of the unified standard test interface specification, the existing SDK interfaces of the existing foreign mainstream 3D CAD software and the domestic 3D CAD software to be tested are encapsulated and adapted or reconstructed or transformed to obtain a 3D CAD automatic test interface component covering the unified standard test interface specification;
[0021] The unified test case generation module is used to design test cases based on the unified test interface. It includes a set of test cases that cover all functional test indicators and are comparable. The test cases are expressed through interpretable scripts, and a classification case system is designed and established. The unified test interface of the 3D CAD software under test is called by interpretable scripts, and the test cases are automatically tested in the 3D CAD software under test, and the test results are output;
[0022] The automatic testing module is used to execute a unified test script to complete automatic testing; the same test case is executed in each 3D CAD software under test to achieve automatic testing respectively;
[0023] The comparative analysis module is used to compare the output result model obtained by automatic testing with the standard model to verify the correctness of the output result; and automatically record the computing resources and time consumption during the interface call execution process, and compare them with the reference values obtained by benchmarking software testing to obtain comparable quantitative performance indicators.
[0024] The present invention also provides an electronic device, comprising a memory and a processor, wherein the processor is used to implement the steps of a three-dimensional CAD software testing method based on a unified interface driver when executing a computer management program stored in the memory.
[0025] The present invention also provides a computer-readable storage medium on which a computer management program is stored. When the computer management program is executed by a processor, the steps of a three-dimensional CAD software testing method based on a unified interface driver are implemented.
[0026] Beneficial effects: The present invention provides a 3D CAD software testing method and system based on unified interface drive, which defines a unified interface specification covering all functions and performance test indicators, and uses the secondary development interface provided by foreign 3D CAD software to develop an adaptation layer component to meet the unified interface requirements, thereby realizing automated testing of 3D CAD software. The same tools, use cases and standards can be used to compare and evaluate domestic and foreign 3D CAD, and a quantitative reference benchmark for indicators can be established. This enables different 3D CAD software to have quantitative comparability, which is conducive to domestic 3D CAD to find gaps and make up for technical shortcomings; using automated testing tools and use case libraries to improve testing efficiency and accelerate the iterative improvement of domestic 3D CAD products; it is also conducive to domestic corporate users to objectively evaluate domestic 3D CAD, eliminate doubts, and promote the promotion and application of domestic 3D CAD. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart of a 3D CAD software testing method based on a unified interface driver provided by the present invention;
[0028] Figure 2 A schematic diagram of the hardware structure of a possible electronic device provided by the present invention;
[0029] Figure 3 A schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention;
[0030] Figure 4 A schematic diagram of a 3D CAD software testing system based on a unified interface driver provided by the present invention;
[0031] Figure 5 A specific implementation principle diagram of a 3D CAD software testing method based on a unified interface driver provided by the present invention. DETAILED DESCRIPTION
[0032] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0033] Figure 1 The present invention provides a 3D CAD software testing method based on a unified interface driver, comprising the following steps:
[0034] S1, design a unified standard test interface specification; based on the comparative analysis of the secondary development interface of existing mainstream foreign 3D CAD software, introduce the concepts of objects and behaviors to abstract the standard test interface and design a unified standard test interface specification.
[0035] S2, encapsulate the 3D CAD test component based on the unified standard test interface; according to the requirements of the unified standard test interface specification, encapsulate and adapt or reconstruct or transform the existing SDK interfaces of the existing foreign mainstream 3D CAD software and the domestic 3D CAD software to be tested, and obtain the 3D CAD automatic test interface component covering the unified standard test interface specification. The unified standard test interface includes a function evaluation interface and a performance evaluation interface.
[0036] S3, design test cases based on the unified test interface, including a set of test cases that cover all functional test indicators and are comparable, express test cases through interpretable scripts, design and establish a classification case system, use interpretable scripts to call the unified test interface of the tested 3D CAD software, complete automatic testing of test cases in the tested 3D CAD software, and output test results. Design test case scripts, and call the unified standard test interface through the test case scripts.
[0037] S4, execute the unified test script to complete the automatic test; execute the same test case in each tested 3D CAD software to achieve automatic testing. By applying Python and C++ two-way integration technology, the automatic test tool can be started through the menu, and the automatic test function can be completed with one click, forming the test result model and performance data of the corresponding function.
[0038] S5, compare the output result model obtained by the automatic test with the standard model for consistency, verify the correctness of the output result; and automatically record the computing resources and time consumption during the interface call execution process, and compare them with the reference values obtained by benchmarking software testing to obtain comparable quantitative performance indicators. Through the unified standard test interface, the corresponding functional modules of the existing foreign mainstream 3D CAD software and the 3D CAD software to be tested are called respectively, and the standard model and the test result 3D model based on the unified STEP intermediate format are obtained respectively, and the geometric shape, size, accuracy, annotation, and MBD information of the two models are compared, and the geometric shape differences of the two models are displayed for analysis.
[0039] Among them, objects include parts, features, surfaces, and curves; and behaviors include editing, stretching, cutting, and rotating.
[0040] The following is an illustration taking domestic 3D CAD software (i.e. the 3D CAD software to be tested) and existing foreign 3D CAD software (i.e. the existing 3D CAD software) as examples.
[0041] The 3D CAD automatic testing tool is not developed for a specific 3D CAD software, but must be developed based on a unified testing interface. The technical route is as follows:
[0042] 1) Compare and analyze the secondary development interface solutions of mainstream 3D CAD at home and abroad, introduce the concepts of objects and behaviors to abstract the test interface, and design the design specifications of a unified standard test interface;
[0043] 2) Research the unified interface component packaging technology of domestic and foreign 3D CAD. According to the requirements of the design specifications of the unified standard test interface, encapsulate and adapt, reconstruct or transform the existing SDK interfaces of domestic and foreign 3D CAD manufacturers, cover all functional test interfaces as much as possible, and obtain a unified standard test interface.
[0044] 3) Next, based on the unified standard test interface, the technology of using script test cases to call the interface to complete automatic testing is studied. In the 3D CAD, the Python script entry function is called through the plug-in menu to start the automatic testing function. The script entry function completes the automatic testing by calling a series of standard API interfaces encapsulated by the 3D CAD system, and generates the test result model file and performance data.
[0045] 4) Complete automated modeling by calling the unified test stub interface through scripts and perform consistency comparison with the standard model; automatically record test results, software defects and performance data.
[0046] like Figure 5 As shown, in a specific implementation scenario:
[0047] First, the unified test pile interface implementation technology of 3D CAD is studied. According to user needs, the functions of various 3D CAD tools are compared and analyzed, and the functional interfaces of various 3D CAD are abstracted and summarized. Referring to the secondary development interface design scheme of existing 3D CAD software, namely the mainstream 3D CAD at home and abroad (UG, PARASOLID, PRO_E, SolidWorks, etc.), the basic concepts of objects and behaviors are introduced to form a set of universal "abstract test interfaces", which is called the unified standard test interface SI3D / API. The SI3D / API interface is implemented in the form of DLL.
[0048] The scope of the unified standard test interface includes general function interface, performance evaluation interface, practical combination interface (this is the combination implementation of the underlying interface), and other auxiliary function interfaces. SI3D / API takes the elements in 3D CAD (such as parts, features, surfaces, curves, etc.) as objects, and realizes the communication and control between users and 3D CAD systems and between various objects by assigning different properties and methods to objects. Each function in the SI3D / API function library executes a specific behavior of a specific object. The naming rule of SI3D / API functions is "SI_function set name_name of the behavior executed", and it uses C interface definition. For example, the function interface for creating a sketch in a model object is int SI_MODL_create_sketch.
[0049] On this basis, the unified interface component packaging technology of domestic and foreign 3D CAD is studied. According to the requirements of the unified interface design specification, the existing SDK interfaces of domestic and foreign 3D CAD manufacturers are packaged, adapted, reconstructed or transformed to cover all unified test interfaces as much as possible.
[0050] Next, based on the unified test interface, the technology of using script test cases to call the interface to complete automatic testing is studied. In 3D CAD, the Python script entry function is called through the plug-in menu to start the automatic testing function. The script entry function completes the automatic testing by calling a series of standard API interfaces encapsulated by the 3D CAD system, and generates test result model files and performance data. The key to this technology is to achieve two-way integration of Python and C++ interfaces. Python integrates C++ interface to implement test case scripts calling 3D CAD standard API interface to generate models and performance data. C++ integrates Python, starts Python scripts through automatic testing tools, and script functions execute standard API interfaces.
[0051] Finally, the automatic test result data and the reference indicator data are compared and analyzed to promote product improvement and achieve the goal of this project. The difference comparison between the test result 3D model and the standard model is based on the unified STEP intermediate format, and the geometric shape, size, accuracy, annotation, and MBD information of the model are compared. The difference is displayed in a convenient way, such as using color, animation, Boolean operation, etc. to display the geometric shape difference of the model; the performance parameter comparison analysis is carried out based on the research results of software performance evaluation technology based on multi-scale visualization of response data.
[0052] By applying this technical achievement, we have developed an automated function and performance testing tool system based on a unified interface drive; completed test functions such as 3D graphics drawing, 3D entity editing, precise 3D graphics drawing, 3D graphics dimensioning, 3D entity projection of 2D graphics, 3D parametric drawing, and 3D entity assembly, and generated result models and performance data.
[0053] This solution develops automated function and performance testing technology driven by a unified interface, which can automatically execute all modeling functions of 3D CAD by calling the unified interface; based on this technology, an automated testing tool based on a unified test stub interface has been developed, and the same test case can produce the same results on different 3D CADs, which provides conditions for comparability testing of various 3D CAD software.
[0054] See also Figure 2 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 2 As shown, an embodiment of the present invention provides an electronic device, including a memory 1310, a processor 1320, and a computer program 1311 stored in the memory 1310 and executable on the processor 1320. When the processor 1320 executes the computer program 1311, the following steps are implemented: S1, comparing and analyzing the secondary development interface scheme of the existing three-dimensional CAD software, introducing the concepts of objects and behaviors to abstract the test interface, and designing a design specification of a unified standard test interface;
[0055] S2, adopting the unified interface component packaging method of the existing 3D CAD software, according to the requirements of the design specification, encapsulating and adapting or reconstructing or transforming the existing SDK interfaces of the existing 3D CAD software and the 3D CAD software to be tested, so as to obtain a unified standard test interface covering all test requirements;
[0056] S3, respectively calling corresponding functional modules of the existing 3D CAD software and the 3D CAD software to be tested through the unified standard test interface, respectively obtaining corresponding test result data and reference index data, and performing comparative analysis to promote the improvement of the 3D CAD software to be tested.
[0057] See also Figure 3 Schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 3 As shown, this embodiment provides a computer-readable storage medium 1400, on which a computer program 1411 is stored. When the computer program 1411 is executed by a processor, the following steps are implemented: S1, comparing and analyzing the secondary development interface scheme of existing 3D CAD software, introducing object and behavior concepts to abstract the test interface, and designing a unified standard test interface design specification;
[0058] S2, adopting the unified interface component packaging method of the existing 3D CAD software, according to the requirements of the design specification, encapsulating and adapting or reconstructing or transforming the existing SDK interfaces of the existing 3D CAD software and the 3D CAD software to be tested, so as to obtain a unified standard test interface covering all test requirements;
[0059] S3, respectively calling corresponding functional modules of the existing 3D CAD software and the 3D CAD software to be tested through the unified standard test interface, respectively obtaining corresponding test result data and reference index data, and performing comparative analysis to promote the improvement of the 3D CAD software to be tested.
[0060] like Figure 4 As shown, an embodiment of the present invention further provides a 3D CAD software testing system based on a unified interface driver, the system is used to implement a 3D CAD software testing method based on a unified interface driver, including:
[0061] The specification design module is used to compare and analyze the secondary development interface solutions of existing 3D CAD software, introduce object and behavior concepts to abstract the test interface, and design the design specifications of a unified standard test interface;
[0062] The test interface generation module is used to adopt the unified interface component packaging method of the existing 3D CAD software, and according to the requirements of the design specification, encapsulate and adapt or reconstruct or transform the existing SDK interfaces of the existing 3D CAD software and the 3D CAD software to be tested, so as to obtain a unified standard test interface covering all test requirements;
[0063] The comparative analysis module is used to call the corresponding functional modules of the existing 3D CAD software and the 3D CAD software to be tested respectively through the unified standard test interface, obtain the test result data and the reference index data respectively, and perform comparative analysis to promote the improvement of the 3D CAD software to be tested.
[0064] At present, there are many automated testing tools at home and abroad, but most of them are general-purpose automated testing tools, which use keyboard and mouse operation capture / playback, screen comparison, test scripts and other technical means, as well as data-driven scripts and keyword-driven automated testing frameworks. These tools are not very effective in automated testing of 3D CAD. The reason is that when performing 3D design modeling, the screen is a constantly changing 3D model, which brings difficulties to the use of general automated testing tools driven by test scripts based on screen input. This project aims at the characteristics of 3D CAD and completes automated modeling directly by calling a unified test pile interface with a script. The model structure that can be created by 3D CAD is infinitely variable, but the complex and changeable model structure can be generated by scripts called for basic functional interfaces, without being affected by the dynamic display on the screen or the differences in the interface layout of different 3D CAD software.
[0065] This project is based on an automated testing tool with a unified test pile interface. The same test case can produce the same results when run on different 3D CADs, which provides conditions for comparability testing of various 3D CAD software.
[0066] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0067] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0068] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0069] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0070] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0071] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0072] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A 3D CAD software testing method based on a unified interface driver, characterized in that: The following steps are involved: S1, design unified standard test interface specification; Based on the comparative analysis of the secondary development interfaces of existing mainstream foreign 3D CAD software, the concepts of objects and behaviors are introduced to abstract the standard test interface and design a unified standard test interface specification. S2, encapsulating a 3D CAD test component based on a unified standard test interface; according to the requirements of the unified standard test interface specification, encapsulating and adapting or reconstructing or transforming the existing SDK interfaces of existing foreign mainstream 3D CAD software and domestic 3D CAD software to be tested, to obtain a 3D CAD automatic test interface component covering the unified standard test interface specification; S3, design test cases based on the unified test interface, including a set of test cases that cover all functional test indicators and are comparable, express test cases through interpretable scripts, design and establish a classification case system, use interpretable scripts to call the unified test interface of the 3D CAD software under test, complete automatic testing of test cases in the 3D CAD software under test, and output test results; S4, execute the unified test script based on the unified test interface to complete the automatic test; Execute the same test case in each 3D CAD software under test to achieve automatic testing; S5, comparing the output result model obtained by the automatic test with the standard model to verify the correctness of the output result; It also automatically records the computing resources and time consumption during the execution of the interface call, and compares them with the reference values obtained by benchmarking software testing to obtain comparable quantitative performance indicators.
2. The three-dimensional CAD software testing method based on unified interface driver according to claim 1 is characterized in that: The S3 also includes: designing a test case script, and calling a unified standard test interface through the test case script.
3. The three-dimensional CAD software testing method based on unified interface driver according to claim 2 is characterized in that: The S4 specifically includes: by applying Python and C++ bidirectional integration technology, the automatic testing tool is started through the menu, the automatic testing function is completed with one-key operation, and the test result model and performance data of the corresponding function are formed.
4. The 3D CAD software testing method based on unified interface driver according to claim 1, characterized in that: The existing mainstream foreign 3D CAD software includes UG, CROE, and CATIA.
5. The 3D CAD software testing method based on unified interface driver according to claim 1, characterized in that: The unified standard test interface includes a function evaluation interface and a performance evaluation interface.
6. The 3D CAD software testing method based on unified interface driver according to claim 1, characterized in that: The objects include parts, features, surfaces, and curves; and the behaviors include editing operations.
7. The 3D CAD software testing method based on unified interface driver according to claim 1, characterized in that: The S4 and S5 specifically include: calling the corresponding functional modules of the existing foreign mainstream 3D CAD software and the 3D CAD software to be tested respectively through the unified standard test interface, and obtaining the standard model and the test result 3D model based on the unified STEP intermediate format respectively, comparing the geometric shape, size, accuracy, annotation, and MBD information of the two models, and displaying the geometric shape differences of the two models for analysis.
8. A 3D CAD software testing system based on a unified interface driver, characterized in that: The system is used to implement the three-dimensional CAD software testing method based on unified interface drive according to any one of claims 1 to 7, comprising: Unified standard test interface specification design module, used to design unified standard test interface specifications; based on the comparison and analysis of the secondary development interface of existing mainstream foreign 3D CAD software, the object and behavior concepts are introduced to abstract the standard test interface and design a unified standard test interface specification; A unified standard test interface generation module is used to encapsulate 3D CAD test components based on the unified standard test interface; according to the requirements of the unified standard test interface specification, the existing SDK interfaces of the existing foreign mainstream 3D CAD software and the domestic 3D CAD software to be tested are encapsulated and adapted or reconstructed or transformed to obtain a 3D CAD automatic test interface component covering the unified standard test interface specification; The unified test case generation module is used to design test cases based on the unified test interface, including a set of test cases that cover all functional test indicators and are comparable. The test cases are expressed through interpretable scripts, and a classification case system is designed and established. The unified test interface of the 3D CAD software under test is called by interpretable scripts, and the test cases are automatically tested in the 3D CAD software under test, and the test results are output; The automatic testing module is used to execute a unified test script to complete automatic testing; the same test case is executed in each 3D CAD software under test to achieve automatic testing respectively; The comparative analysis module is used to compare the output result model obtained by automatic testing with the standard model to verify the correctness of the output result; and automatically record the computing resources and time consumption during the interface call execution process, and compare them with the reference values obtained by benchmarking software testing to obtain comparable quantitative performance indicators.
9. An electronic device, characterized in that: It includes a memory and a processor, and the processor is used to implement the steps of the three-dimensional CAD software testing method based on unified interface drive as described in any one of claims 1 to 7 when executing the computer management program stored in the memory.
10. A computer-readable storage medium, characterized in that: A computer management program is stored thereon, and when the computer management program is executed by a processor, the steps of the three-dimensional CAD software testing method based on a unified interface driver as described in any one of claims 1 to 7 are implemented.
