Layout constraint test method and device, equipment and storage medium
By building test scenario files and automated configuration testing processes, the problem of low layout constraint testing efficiency and accuracy is solved, and efficient and automated test results are achieved.
Patent Information
- Application Number
- CN202510735161.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-06-04
Smart Images

Figure CN120278113A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit design, and particularly relates to a layout constraint testing method, device, equipment and storage medium. Background Art
[0002] In EDA (Electronic Design Automation) software, layout constraints such as Fence constraints are usually adopted to control the placement of logic units or functional modules to achieve isolation between different functional modules. At present, in order to ensure the correctness of the constraint function of the Fence constraint, testers usually manually write verification files to test the Fence constraint, which not only has low efficiency, but also is prone to errors in writing the verification files, resulting in low test accuracy. Summary of the Invention
[0003] In view of this, the present invention provides a layout constraint testing method, device, equipment and storage medium to solve the problems of low testing efficiency and low accuracy of layout constraints.
[0004] In a first aspect, the present invention provides a layout constraint testing method, which includes: Construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case; the test case corresponds to at least one layout constraint; Create a target test project based on the target test case; Execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
[0005] In an optional implementation manner, constructing a test scenario file based on the control operation information of the target software and the test scenario information of the test case includes: Generate an initial test file based on the control operation information; the initial test file is used to represent the test process of the layout constraint; Configure the execution methods of each step in the test process in the initial test file based on the test scenario information to obtain the test scenario file.
[0006] In an optional implementation manner, creating a target test project based on the target test case includes: Create an initial project in the target software; Import the register transfer level file corresponding to the target test case into the initial project to obtain the target test project.
[0007] In an optional implementation manner, executing the target test project based on the test scenario file to obtain the test result corresponding to the target test case includes: Based on the target execution method corresponding to the target test case in the test scenario file, configure the target layout constraint corresponding to the target test case in the target test project; the target execution method is used to represent the configuration method of the layout constraint corresponding to the target test case. Based on the test steps included in the test scenario file, test the target layout constraint to obtain the test result corresponding to the target test case.
[0008] In an alternative implementation, based on the target execution method corresponding to the target test case in the test scenario file, configuring the target layout constraint corresponding to the target test case in the target test project includes: Based on the area configuration method in the target execution method, select the target area in the graphical selection interface of the target test project, and use the target area as the constraint area. Based on the module configuration method in the target execution method, select the target module in the target test project, and associate the target module with the constraint area.
[0009] In an alternative implementation, based on the test steps included in the test scenario file, testing the target layout constraint to obtain the test result corresponding to the target test case includes: If the test process includes a test step based on the target software, call the target function in the target software to test the target layout constraint to obtain the test result. If the test process includes a test step based on the constraint verification file, call the constraint verification file to test the target layout constraint to obtain the test result.
[0010] In an alternative implementation, if the test process includes a test step based on the constraint verification file, the method further includes: Generate a target constraint file based on the target layout constraint. Generate a constraint verification file based on the target constraint file.
[0011] In a second aspect, the present invention provides a layout constraint testing device, which includes: A test scenario file construction module, configured to construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case; the test case corresponds to at least one layout constraint. A target test project construction module, configured to create a target test project based on the target test case. A target test project execution module, configured to execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the layout constraint testing method according to the first aspect or any corresponding embodiment thereof.
[0013] In a fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to perform the layout constraint testing method according to the first aspect or any corresponding embodiment thereof.
[0014] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, and the computer instructions are used to cause a computer to perform the layout constraint testing method according to the first aspect or any corresponding embodiment thereof.
[0015] The layout constraint testing method provided by the embodiments of the present invention constructs a test scenario file through control operation information and test scenario information, configures the test process of test cases through the test scenario file, creates a target test project based on the target test case, and executes the target test project based on the test scenario file, so as to automatically execute the test of the layout constraint corresponding to the target test case according to the set test process, improving the test efficiency and accuracy of the layout constraint. Description of the Drawings
[0016] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 is a flowchart of the layout constraint testing method according to an embodiment of the present invention; Figure 2 is a flowchart of another layout constraint testing method according to an embodiment of the present invention; Figure 3 is a flowchart of yet another layout constraint testing method according to an embodiment of the present invention; Figure 4 is a structural block diagram of the layout constraint testing device according to an embodiment of the present invention; Figure 5 is a schematic hardware structure diagram of the computer device according to an embodiment of the present invention. Detailed Embodiments
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0019] In EDA (Electronic Design Automation) software, layout constraints such as Fence constraints are usually used to control the placement of logic units or functional modules to achieve isolation between different functional modules. Currently, to ensure the correctness of the constraint function of the Fence constraint, testers usually manually write verification files to test the Fence constraint, which not only has low efficiency but also is prone to errors in writing the verification files, resulting in low test accuracy.
[0020] Based on this, the present invention provides a layout constraint testing method. Based on the control operation information of the target software and the test scenario information of the test case, a test scenario file is constructed; the test case corresponds to at least one layout constraint; based on the target test case, a target test project is created; based on the test scenario file, the target test project is executed to obtain the test result corresponding to the target test case. In this way, the test scenario file is constructed through the control operation information and the test scenario information, the test process of the test case is configured through the test scenario file, the target test project is created based on the target test case, and the target test project is executed based on the test scenario file, so as to automatically execute the test of the layout constraint corresponding to the target test case according to the set test process, improving the test efficiency and accuracy of the layout constraint.
[0021] The layout constraint testing method provided by the embodiments of the present invention can be applied to any EDA software, and can automatically perform verification testing on the layout constraints involved in the software, improving the test efficiency and accuracy of the layout constraints.
[0022] According to the embodiments of the present invention, an embodiment of a layout constraint testing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0023] In this embodiment, a layout constraint testing method is provided, which can be used in any of the above EDA software. Figure 1 is a flowchart of the layout constraint testing method according to the embodiments of the present invention, as Figure 1As shown in the figure, the process includes the following steps: Step S101: Construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case.
[0024] In the embodiment of the present invention, the target software is the electronic design software used for the layout constraints corresponding to the test case; the control operation information of the target software is the control of the target software selected or operated during the test, such as controls of types like Window, Custom, Button, Tree, TreeItem, etc., the operation actions on these controls, the operation sequence of the controls, and so on. According to the control operation information of the target software, the specific test steps of the entire test process can be determined.
[0025] In the embodiment of the present invention, a test case corresponds to at least one layout constraint, and one test case corresponds to one test scenario; according to the number of layout constraints corresponding to the test case, in the EDA software, it is possible to test only one layout constraint or test multiple layout constraints simultaneously. The test scenario information of the test case contains the method classes adopted by each test step corresponding to this test case, and each method class can be distinguished and identified by modifiers; correspondingly, for different test cases, the method classes adopted by the test steps for configuring the layout constraints, that is, the layout method classes, can be different, and the method classes adopted by other test steps can be the same; that is to say, for different test cases, the same test process can be used for testing, and the difference lies in the different methods for configuring the layout constraints.
[0026] In the embodiment of the present invention, an automated test script is written by combining the control operation information and the test scenario information to obtain a test scenario file. The test scenario file can contain the operation processes of the test layout constraints corresponding to multiple test cases.
[0027] In an alternative embodiment, the control operation information can be saved and used in a string file. This string file can be automatically generated according to the recorded content by recording the test process, so as to batch add Qt objects to the string file. It is also possible to manually select to add Qt objects to the string file, so as to adjust and modify the string file on the basis of the original string file, and further modify and maintain the test process for testing the layout constraints.
[0028] Step S102: Create a target test project based on the target test case.
[0029] In the embodiment of the present invention, a target test project corresponding to the target test case is created in the target software, so as to test the layout constraints corresponding to the target test case on the basis of the hardware design corresponding to the target test case, to ensure the accuracy of the test of the layout constraints.
[0030] In an alternative embodiment, each test case has its corresponding Register-Transfer Level (RTL) file. When creating a target test project, an initial project can be created in the target software, and then the RTL file corresponding to the target test case is imported into the initial project to obtain the target test project. At this time, the obtained target test project is consistent with the hardware design corresponding to the target test case.
[0031] Step S103: Based on the test scenario file, execute the target test project to obtain the test result corresponding to the target test case.
[0032] In the embodiment of the present invention, based on the test scenario file, the target test project is executed. The target layout constraint corresponding to the target test case is configured in the target test project, and the target layout constraint is tested to obtain the test result corresponding to the target test case, thereby automatically completing the test of the layout constraint and eliminating the need to manually write a verification file, improving the test efficiency and accuracy of the layout constraint.
[0033] The layout constraint test method provided by the embodiment of the present invention constructs a test scenario file through control operation information and test scenario information, configures the test process of the test case through the test scenario file, creates a target test project based on the target test case, and executes the target test project based on the test scenario file, thereby automatically executing the test of the layout constraint corresponding to the target test case according to the set test process, improving the test efficiency and accuracy of the layout constraint.
[0034] In this embodiment, a layout constraint test method is provided, which can be used in any of the above EDA software. Figure 2 It is a flowchart of another layout constraint test method according to the embodiment of the present invention, as Figure 2 shown. The process includes the following steps: Step S201: Based on the control operation information of the target software and the test scenario information of the test case, construct a test scenario file.
[0035] Specifically, step S201 includes: Step S2011: Generate an initial test file based on the control operation information.
[0036] In the embodiment of the present invention, the initial test file is used to represent the test process of the layout constraint. Through an automated test script, a script file is generated according to the information represented by the control operation information to obtain the initial test file.
[0037] Step S2012: Based on the test scenario information, configure the execution methods of all steps in the test process in the initial test file to obtain the test scenario file.
[0038] In the embodiment of the present invention, based on the test scenario information, configure the execution methods of all steps included in the test process in the initial test file; the execution methods of all steps are the operations and methods specifically executed in that step. For each test case, there is its corresponding test scenario information; therefore, in the initial test file, the test scenarios corresponding to different test cases can be configured separately, so that the test scenario file contains the layout constraints corresponding to multiple test cases, thereby enabling the testing of multiple layout constraints in one test.
[0039] Step S202: Create a target test project based on the target test case. For details, please refer to Figure 1 Step S102 of the embodiment shown, which will not be elaborated here.
[0040] Step S203: Execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case. For details, please refer to Figure 1 Step S103 of the embodiment shown, which will not be elaborated here.
[0041] In this embodiment, a layout constraint testing method is provided, which can be used in any of the above EDA software. Figure 3 It is a flowchart of another layout constraint testing method according to the embodiment of the present invention. As Figure 3 shown, this process includes the following steps: Step S301: Construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case. For details, please refer to Figure 1 Step S101 of the embodiment shown, which will not be elaborated here.
[0042] Step S302: Create a target test project based on the target test case. For details, please refer to Figure 1 Step S102 of the embodiment shown, which will not be elaborated here.
[0043] Step S303: Execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
[0044] Specifically, Step S303 includes: Step S3031: Configure the target layout constraint corresponding to the target test case in the target test project based on the target execution method corresponding to the target test case in the test scenario file.
[0045] In an embodiment of the present invention, the target execution method is used to represent a configuration method for layout constraints corresponding to a target test case. When testing the target layout constraints corresponding to the target test case, first, relevant steps or processes before the layout constraints are gradually executed according to the test scenario file, and then the target execution method corresponding to the target test case is selected from the test scenario file, and the target layout constraints corresponding to the target test case are configured in the target test project.
[0046] In an alternative embodiment, if the layout constraints of each test case are tested according to different test processes, then in the test scenario file, each test scenario, that is, the test processes of each test case are different. At this time, the relevant execution method corresponding to the target test case is directly selected from the test scenario file, and these execution methods are gradually executed according to the test process, so as to complete the configuration of the target layout constraints.
[0047] In an alternative embodiment, when configuring the target layout constraints corresponding to the target test case in the target test project, first, based on the area configuration method in the target execution method, the target area is selected in the graphic selection interface of the target test project, and the target area is used as the constraint area; wherein, the target area can be used to limit the placement area of the modules associated with it to ensure that these modules do not exceed the boundary of the target area; the selection of the target area by the area configuration method can be manually selected by the operator or automatically generated by a script when configured into the test scenario file through the test scenario information. Then, based on the module configuration method in the target execution method, the target module is selected in the target test project, and the target module is associated with the constraint area; wherein, the target module can be any logic unit, module or functional block, and is specifically selected according to the layout requirements.
[0048] Step S3032: Test the target layout constraints based on the test steps included in the test scenario file to obtain the test results corresponding to the target test case.
[0049] In an embodiment of the present invention, the target layout constraints are tested based on the test steps included in the test scenario file related to the test verification of the layout constraints, so as to obtain the test results corresponding to the target test case.
[0050] In an alternative embodiment, the test and verification of the target layout constraint may include two types. The first is to perform test and verification based on the implementation functions of the target software itself, and the second is to perform test and verification based on the constraint verification file. Specifically, if the test process includes a test step based on the target software, the target function in the target software is called to test the target layout constraint to obtain a test result. When a module or unit associated with the constraint area is placed outside the constraint area, the target software will report an error indicating a constraint conflict. If the test process includes a test step based on the constraint verification file, the constraint verification file is called to test the target layout constraint to obtain a test result. When a module or unit associated with the constraint area is placed outside the constraint area, in the target software, the command-line interface corresponding to the constraint verification file will report an error indicating a constraint conflict.
[0051] In an alternative embodiment, if the test process includes a test step based on the constraint verification file, that is, when the test scenario file includes the test steps corresponding to the second type of test and verification described above, the test scenario file will also include relevant test steps for generating the constraint verification file. Then, when testing the target layout constraint, a target constraint file will be generated based on the target layout constraint, and a constraint verification file will be generated based on the target constraint file. That is, the target layout constraint is saved to obtain the target constraint file, and then a constraint verification file corresponding to the target module is written based on the target constraint file.
[0052] In this embodiment, a layout constraint testing device is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" may be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0053] This embodiment provides a layout constraint testing device, as Figure 4 shown, including: A test scenario file construction module 401, configured to construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case; the test case corresponds to at least one layout constraint; A target test project construction module 402, configured to create a target test project based on the target test case; A target test project execution module 403, configured to execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
[0054] In an alternative embodiment, the test scenario file construction module 401 includes: A test file generation unit for generating an initial test file based on control operation information; the initial test file is used to characterize the test process of layout constraints. An execution method configuration unit for configuring the execution methods of each step in the test process in the initial test file based on test scenario information to obtain a test scenario file.
[0055] In an alternative implementation, the target test project construction module 402 includes: An initial project creation unit for creating an initial project in the target software. A file import unit for importing the register transfer level file corresponding to the target test case into the initial project to obtain a target test project.
[0056] In an alternative implementation, the target test project execution module 403 includes: A layout constraint configuration unit for configuring the target layout constraint corresponding to the target test case in the target test project based on the target execution method corresponding to the target test case in the test scenario file; the target execution method is used to characterize the configuration method of the layout constraint corresponding to the target test case. A layout constraint test unit for testing the target layout constraint based on the test steps included in the test scenario file to obtain the test result corresponding to the target test case.
[0057] In an alternative implementation, the layout constraint configuration unit includes: A constraint area determination subunit for selecting a target area in the graphic selection interface of the target test project based on the area configuration method in the target execution method and using the target area as the constraint area. A module association subunit for selecting a target module in the target test project based on the module configuration method in the target execution method and associating the target module with the constraint area.
[0058] In an alternative implementation, the layout constraint test unit includes: A software test subunit for calling the target function in the target software to test the target layout constraint to obtain a test result if the test process includes a test step based on the target software. A file verification subunit for calling the constraint verification file to test the target layout constraint to obtain a test result if the test process includes a test step based on the constraint verification file.
[0059] In an alternative implementation, if the test process includes a test step based on the constraint verification file, the apparatus further includes: A constraint file generation module, configured to generate a target constraint file based on a target layout constraint; A verification file generation module, configured to generate a constraint verification file based on the target constraint file.
[0060] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.
[0061] The layout constraint testing device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0062] An embodiment of the present invention further provides a computer device having the above-mentioned Figure 4 shown layout constraint testing device.
[0063] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of a computer device provided by an optional embodiment of the present invention. As Figure 5 shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Figure 5 In
[0064] one processor 10 is taken as an example.
[0065] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiments.
[0066] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0067] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, a hard disk, or a solid-state drive; the memory 20 may further include a combination of the above types of memory.
[0068] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0069] The embodiment of the present invention further provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented by a computer code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and to be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may further include a combination of the above types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the method shown in the above embodiment is implemented.
[0070] A part of the present invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the present invention through the operations of the computer. Those skilled in the art should understand that the forms in which computer program instructions exist in a computer-readable medium include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include but are not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0071] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the present invention.
Claims
1. A layout constraint testing method, characterized in that The method includes: Constructing a test scenario file based on the control operation information of the target software and the test scenario information of the test case; the test case corresponds to at least one layout constraint; Creating a target test project based on the target test case; Executing the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
2. The method according to claim 1, characterized in that, The constructing a test scenario file based on the control operation information of the target software and the test scenario information of the test case includes: Generating an initial test file based on the control operation information; the initial test file is used to represent the test process of the layout constraint; Configuring the execution methods of each step in the test process in the initial test file based on the test scenario information to obtain the test scenario file.
3. The method according to claim 1, wherein The creating a target test project based on the target test case includes: Creating an initial project in the target software; Importing the register transfer level file corresponding to the target test case into the initial project to obtain the target test project.
4. The method according to claim 1, characterized in that, The executing the target test project based on the test scenario file to obtain the test result corresponding to the target test case includes: Configuring the target layout constraint corresponding to the target test case in the target test project based on the target execution method corresponding to the target test case in the test scenario file; the target execution method is used to represent the configuration method of the layout constraint corresponding to the target test case; Testing the target layout constraint based on the test steps included in the test scenario file to obtain the test result corresponding to the target test case.
5. The method according to claim 4, characterized in that, The configuring the target layout constraint corresponding to the target test case in the target test project based on the target execution method corresponding to the target test case in the test scenario file includes: Selecting a target area in the graphical selection interface of the target test project based on the area configuration method in the target execution method, and using the target area as the constraint area; Selecting a target module in the target test project based on the module configuration method in the target execution method, and associating the target module with the constraint area.
6. The method according to claim 4, characterized in that The testing the target layout constraint based on the test steps included in the test scenario file to obtain the test result corresponding to the target test case includes: If the test process includes a test step based on the target software, calling the target function in the target software to test the target layout constraint to obtain the test result; If the test process includes a test step based on the constraint verification file, calling the constraint verification file to test the target layout constraint to obtain the test result.
7. The method according to claim 6, wherein If the test process includes a test step based on the constraint verification file, the method further includes: Generating a target constraint file based on the target layout constraint; Generating the constraint verification file based on the target constraint file.
8. A layout constraint testing device, characterized in that The device includes: A test scenario file construction module, configured to construct a test scenario file based on the control operation information of the target software and the test scenario information of the test case; the test case corresponds to at least one layout constraint; A target test project construction module, configured to create a target test project based on the target test case; A target test project execution module, configured to execute the target test project based on the test scenario file to obtain the test result corresponding to the target test case.
9. A computer device, characterized in that, Comprising: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the layout constraint test method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the layout constraint test method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Automatic test system based on scene description and implementation method thereof
CN107783893A
Software testing method and device and computer readable storage medium
CN110874318A
Application program testing method and device
CN113505082A
Method and device for generating test case, server and medium
CN114253855A
Scene-based test method and device, computer equipment and storage medium
CN115509940A