CN114090445A - Test code generation method, device and equipment - Google Patents

Test code generation method, device and equipment Download PDF

Info

Publication number
CN114090445A
CN114090445A CN202111402015.7A CN202111402015A CN114090445A CN 114090445 A CN114090445 A CN 114090445A CN 202111402015 A CN202111402015 A CN 202111402015A CN 114090445 A CN114090445 A CN 114090445A
Authority
CN
China
Prior art keywords
test
code
filling
parameter
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111402015.7A
Other languages
Chinese (zh)
Inventor
朱少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Ziguang Zhanrui Technology Co ltd
Original Assignee
Xi'an Ziguang Zhanrui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Ziguang Zhanrui Technology Co ltd filed Critical Xi'an Ziguang Zhanrui Technology Co ltd
Priority to CN202111402015.7A priority Critical patent/CN114090445A/en
Publication of CN114090445A publication Critical patent/CN114090445A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a test code generation method, a test code generation device and test code generation equipment, wherein the method comprises the following steps: acquiring a code template, wherein the code template comprises a fixed code and a plurality of filling positions; determining a plurality of test parameters and a parameter type of each test parameter; determining the parameter type corresponding to each filling position; and determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code. The efficiency of generating test codes is improved.

Description

Test code generation method, device and equipment
Technical Field
The present application relates to the field of test technologies, and in particular, to a method, an apparatus, and a device for generating a test code.
Background
Before the system is on-line, the functions in the system need to be tested through the verification codes so as to avoid the system from generating problems. For example, a plurality of functions in an application program are tested by test code.
At present, the verification code corresponding to the system function can be obtained in a way of manually writing the verification code. For example, when a configuration function in the system needs to be tested, the configuration function can be tested by manually writing a test code corresponding to the configuration function. However, the method of manually writing the verification code is inefficient, which in turn results in inefficient generation of the verification code.
Disclosure of Invention
The application provides a test code generation method, a test code generation device and test code generation equipment, which are used for solving the technical problem that in the prior art, the generation efficiency of verification codes is low.
In a first aspect, the present application provides a test code generation method, including:
acquiring a code template, wherein the code template comprises a fixed code and a plurality of filling positions;
determining a plurality of test parameters and a parameter type of each test parameter;
determining the parameter type corresponding to each filling position;
and determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code.
In a possible implementation manner, determining, according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions, the test parameter corresponding to each filling position includes:
grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, wherein the group of test parameters comprises at least one test parameter, and the parameter types of the test parameters in each group of test parameters are the same;
and filling a group of test parameters corresponding to the filling position to the corresponding filling position to obtain the target test code.
In one possible embodiment, for any one filling position; filling a set of test parameters corresponding to the filling position, including:
acquiring a parameter format corresponding to the filling position;
formatting a group of test parameters corresponding to the filling position according to the parameter format to obtain a filling code;
and filling the filling code into the filling position.
In one possible embodiment, determining a plurality of test parameters includes:
acquiring test requirement information;
and analyzing the test requirement information to obtain a plurality of test parameters.
In a possible implementation manner, the test requirement information includes function requirement information corresponding to a plurality of test functions, and the function requirement information includes a test mode, an information sampling path, and at least one test data set;
analyzing the test requirement information to obtain a plurality of test parameters, including:
analyzing and processing each function requirement information respectively to obtain a test parameter corresponding to each test function, wherein the test parameter corresponding to each test function comprises: a test mode, an information sampling path and at least one test data set;
and determining that the plurality of test parameters comprise test parameters corresponding to each test function and an identifier corresponding to each test function.
In one possible embodiment, the test mode comprises an independent test mode and a combined test mode;
and if the test mode is the combined test mode, the function requirement information also comprises an identifier of a test function which is combined with the test function for testing.
In one possible embodiment, obtaining a code template includes:
determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested;
and acquiring the code template in a preset code template library according to the application program to be tested and the plurality of test functions.
In a possible implementation manner, after the filling the test parameters to the corresponding filling positions to obtain the target test code, the method further includes:
and testing the plurality of test functions of the application program to be tested according to the target test code.
In a second aspect, an embodiment of the present application provides a test code generation apparatus, where the test code generation apparatus includes an obtaining module, a first determining module, a second determining module, and a third determining module, where:
the acquisition module is used for acquiring a code template, and the code template comprises a fixed code and a plurality of filling positions;
the first determining module is used for determining a plurality of testing parameters and the parameter type of each testing parameter;
the second determining module is used for determining the parameter types corresponding to the filling positions;
and the third determining module is used for determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code.
In a possible implementation manner, the third determining module is specifically configured to:
grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, wherein the group of test parameters comprises at least one test parameter, and the parameter types of the test parameters in each group of test parameters are the same;
and filling a group of test parameters corresponding to the filling position to the corresponding filling position to obtain the target test code.
In a possible implementation manner, the third determining module is specifically configured to:
acquiring a parameter format corresponding to the filling position;
formatting a group of test parameters corresponding to the filling position according to the parameter format to obtain a filling code;
and filling the filling code into the filling position.
In a possible implementation manner, the second determining module is specifically configured to:
acquiring test requirement information;
and analyzing the test requirement information to obtain a plurality of test parameters.
In a possible implementation manner, the second determining module is specifically configured to:
analyzing and processing each function requirement information respectively to obtain a test parameter corresponding to each test function, wherein the test parameter corresponding to each test function comprises: a test mode, an information sampling path and at least one test data set;
and determining that the plurality of test parameters comprise test parameters corresponding to each test function and an identifier corresponding to each test function.
In a possible implementation manner, the second determining module is specifically configured to:
and if the test mode is the combined test mode, the function requirement information also comprises an identifier of a test function which is combined with the test function for testing.
In a possible implementation manner, the obtaining module is specifically configured to:
determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested;
and acquiring the code template in a preset code template library according to the application program to be tested and the plurality of test functions.
In a possible embodiment, the test code generating device further comprises a testing device, and the testing device is configured to:
and testing the plurality of test functions of the application program to be tested according to the target test code.
In a third aspect, an embodiment of the present application provides a test code generation apparatus, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the test code generation method of any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the test code generation method according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the test code generation method according to any one of the foregoing first aspects.
The application provides a test code generation method, a test code generation device and a test code generation device, wherein a code template is obtained, the code template comprises a fixed code and a plurality of filling positions, a plurality of test parameters and a parameter type of each test parameter are determined, the parameter type corresponding to each filling position is determined, the test parameter corresponding to each filling position is determined according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, the test parameters are filled to the corresponding filling positions, and a target test code is obtained. According to the method, when the test code needs to be generated, the plurality of test parameters can be directly and accurately filled into the corresponding code template according to the types of the test parameters, the plurality of test codes can be generated simultaneously according to the plurality of test parameters corresponding to the user requirements, manual compiling of the test codes is not needed, and the generation efficiency of the test codes can be improved.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a test code generation method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating another test code generation method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a process for filling test parameters according to an embodiment of the present application;
fig. 5 is a schematic process diagram of a code generation method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a test code generation apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another test code generation apparatus according to an embodiment of the present application;
fig. 8 is a schematic hardware structure diagram of a test code generation apparatus according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For ease of understanding, the concepts related to the embodiments of the present application will be explained first.
The terminal equipment: the device has a wireless transceiving function. The terminal equipment can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a vehicle terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in smart city (smart city), a wireless terminal device in smart home (smart home), a wearable terminal device, and the like. The terminal device according to the embodiments of the present application may also be referred to as a terminal, a User Equipment (UE), an access terminal device, a vehicle-mounted terminal, an industrial control terminal, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a UE terminal device, a wireless communication device, a UE agent, or a UE apparatus. The terminal equipment may also be fixed or mobile.
In the related art, before the system is brought online, a plurality of functions of the system need to be tested, so as to avoid the problem of bringing the system online. For example, before an application program is on-line, functions such as configuration function and data transmission of the application program need to be tested to ensure that the application program does not have problems. Currently, a test code may be used to test a function of a system, and in the prior art, the test code for testing the function of the system may be obtained by writing the test code manually. For example, when the transfer limit function in the bank application needs to be tested, a test code for testing the transfer limit function can be written, and then the transfer limit function in the bank application is tested through the test code. However, the method of manually writing the test code is inefficient, and thus the test code is inefficient to generate.
In order to solve the technical problem of low test code generation efficiency in the related art, an embodiment of the present application provides a test code generation method, which includes obtaining a code template including a fixed code and a plurality of filling positions, obtaining test requirement confidence, performing parsing processing on test requirement information to obtain a plurality of test parameters and a parameter type of each test parameter, determining a parameter type corresponding to each filling position in the code template, performing grouping processing on the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, where one group of test parameters includes at least one test parameter, the parameter types of the test parameters included in each group of test parameters are the same, filling the group of test parameters corresponding to the filling positions to the corresponding filling positions, and obtaining the target code. According to the method, when the test code needs to be generated, the plurality of test parameters can be directly and accurately filled into the corresponding code template according to the types of the test parameters, and the plurality of test codes can be simultaneously generated according to the plurality of test parameters corresponding to the user requirements without manually compiling the test code, so that the generation efficiency of the test code can be improved.
Next, an application scenario to which the embodiment of the present application is applied will be described with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. Please refer to fig. 1, which includes a preset table and a terminal device. The preset table comprises test requirement information A and test requirement information B. The terminal equipment comprises a preset script, and the preset script is used for analyzing the test requirement information to obtain a test parameter corresponding to the test requirement information.
Referring to fig. 1, when the terminal device receives the preset table, the terminal device may analyze the test requirement information a and the test requirement information B in the preset table to obtain a plurality of test parameters corresponding to the test requirement information a and a plurality of test parameters corresponding to the test requirement information B, and further generate a test code a corresponding to the test requirement information a and a test code B corresponding to the test requirement information B according to the plurality of test parameters. Therefore, a plurality of test codes can be generated simultaneously according to a plurality of test parameters corresponding to user requirements, manual compiling of the test codes is not needed, and then the generation efficiency of the test codes can be improved.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may exist alone or in combination with each other, and description of the same or similar contents is not repeated in different embodiments.
Fig. 2 is a schematic flowchart of a test code generation method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, obtaining a code template.
The execution subject of the embodiment of the application may be a terminal device, and may also be a test code generation apparatus provided in the terminal device. Alternatively, the test code generation apparatus may be implemented by software, or may be implemented by a combination of software and hardware.
The code template is used to generate test code. For example, the code template may be a template corresponding to a test code, and the test code for testing may be generated through the code template. The code template comprises a fixed code and a plurality of filling positions. Optionally, the fixed code is a non-variable code in the code template. For example, the fixed code in the code template does not need to be changed, and for any test requirement, the fixed code in the code template does not need to be changed. The filling position is a position where a non-fixed code is filled in the code template. For example, the terminal device may fill the filling position with a corresponding code according to the test requirements of the user.
Alternatively, the code template may be obtained according to the following feasible implementation: determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested, and acquiring a code template from a preset code template library according to the application program to be tested and the plurality of test functions.
Optionally, the application to be tested is an application determined according to requirements. For example, if the user needs to test the bank transfer function, the application program to be tested is a bank application program, and if the user needs to test the function in the mobile phone system, the application program to be tested is the mobile phone system.
Optionally, the terminal device may receive an application program test request, and determine an application program to be tested, where the application program test request includes a plurality of application programs. For example, if the application test request includes application a and application B, the applications to be tested are application a and application B.
The test function is a function to be tested in the application program to be tested. For example, if a user needs to test a bluetooth function in a mobile phone system, the application program to be tested is the mobile phone system, the test function corresponding to the application program to be tested is the bluetooth function, if the user needs to test a WIFI function in the mobile phone system, the application program to be tested is the mobile phone system, and the test function corresponding to the application program to be tested is the WIFI function. Optionally, the application to be tested may include a plurality of test functions. For example, if a user needs to test a bluetooth function and a WIFI function in a mobile phone, the application program to be tested is a mobile phone system, and the multiple test functions corresponding to the application program to be tested are the bluetooth function and the WIFI function.
Optionally, the preset code template library includes a plurality of code templates. For example, the preset code template library includes a plurality of preset code templates, where each code template may be a template written by SV coverage code syntax.
Optionally, the code template may be obtained from a preset code template library according to the following feasible implementation manners: and acquiring a first preset relation. The first preset relationship comprises at least one application program to be tested, a test function corresponding to each application program to be tested, and a code template corresponding to the application program to be tested and the test function. For example, the first preset relationship may be as shown in table 1:
TABLE 1
Application to be tested Testing function Code template
Application program 1 Function 1 Form 1
Application 2 Function 2 Form 2
Application 3 Function 3 Form 3
…… …… ……
It should be noted that table 1 is only an exemplary first preset relationship, and does not limit the first preset relationship.
And acquiring a code template from a preset code template library according to the application program to be tested and a plurality of test functions. For example, if the application program to be tested determined by the terminal device is application program 1, and the test function corresponding to application program 1 is function 1, the code template determined by the terminal device is template 1; if the application program to be tested determined by the terminal device is the application program 2 and the test function corresponding to the application program 2 is the function 2, the code template determined by the terminal device is the template 2; if the application program to be tested determined by the terminal device is the application program 3, and the test function corresponding to the application program 3 is the function 3, the code template determined by the terminal device is the template 3.
S202, determining a plurality of test parameters and the parameter type of each test parameter.
The test parameters are parameters corresponding to the test functions. For example, in the process of automatically generating the verification code, the test code of the corresponding test function needs to be designed according to the requirement of the user, and the test parameter may be a parameter in the test function required by the user.
Optionally, a plurality of test parameters may be determined according to the following feasible implementation: and acquiring the test requirement information, and analyzing the test requirement information to obtain a plurality of test parameters. Optionally, the test requirement information includes function requirement information corresponding to a plurality of test functions. The function requirement information comprises a test mode, an information sampling path and at least one test data set.
Optionally, the test mode includes an independent test mode and a combined test mode. For example, the test mode in the function requirement information may be an independent test mode or a combined test mode, and if the test mode is the combined test mode, the function requirement information further includes an identifier of a test function that performs a combined test with the test function. The information sampling path is a path of test data required for the test function. For example, when the bluetooth function of the mobile phone is tested, the information sampling path is a signal sampling path corresponding to the bluetooth function, and the terminal device may obtain the bluetooth data information according to the signal sampling path to test the bluetooth function. Optionally, the information sampling path may include path information of a plurality of corresponding functions in the function requirement information.
Optionally, the test data set includes at least one of the following parameters: identification of the functional coverage point, type of the functional coverage point, test conditions of the functional coverage point, and bin information of the functional coverage point.
Optionally, the function coverage point is at least one function that can be tested by the test code corresponding to the test function. Optionally, the test function may be a test function required by a user, and the test function may include a plurality of function coverage points, where each function coverage point corresponds to a function of the application program. For example, the function corresponding to the function coverage point 1 may be a bluetooth function in a mobile phone system, and the function corresponding to the function coverage point 2 may be a call function in the mobile phone system. For example, the test function required by the user is a call test, the test code of the test function needs to include a function coverage point corresponding to a voice function and a function coverage point corresponding to a signal transmission function, and the test code of the test function can test the call function of the mobile phone.
Optionally, the types of functional coverage points include a single coverage type and a cross coverage type. The single coverage type is used for indicating that the function corresponding to the function coverage point is an independently used function, and only separate testing is needed when testing. For example, when a device matched with a bluetooth connection of a mobile phone is used, the bluetooth function can be tested separately, and the type of the function coverage point corresponding to the bluetooth function is a single coverage type. The cross coverage type is used to indicate that the function corresponding to the function coverage point is a cross-use function, and when testing, all the function coverage points need to be tested. For example, when a mobile phone is used for a call, the signal transmission function and the voice function are used together, so that the signal transmission function and the voice function need to be tested together in a call scene of the mobile phone, and the function coverage points corresponding to the signal transmission function and the voice function are both cross coverage type function coverage points. Optionally, if the type of the functional coverage point is a cross coverage type, the test parameter corresponding to the type of the functional coverage point further includes an identifier of the cross functional coverage point.
Optionally, the test condition of the functional coverage point is a condition that the sampling data can be sampled and is required to meet. For example, the test condition of the functional coverage point may be an application scenario of the functional coverage point, in the application scenario, the test data corresponding to the functional coverage point may be sampled to test the functional coverage point, and if the test condition is not in the application scenario, the function of the functional coverage point does not need to be tested, so that the test data corresponding to the functional coverage point does not need to be sampled.
Optionally, the bin information of the function coverage point includes the number of bins corresponding to the value range of the test data corresponding to the function coverage point, and the value range of each bin. For example, if the value range of the test data corresponding to the functional coverage point is 1 to 10, the number of bins (bins) is less than or equal to 10. For example, if the value range of the test data corresponding to the functional coverage point is 1-10, and the number of the bins is 10, the value of one test data corresponding to each bin may be determined (e.g., the value range of bin 1 is 1, the value range of bin 2 is 2, … …, and the value range of bin 10 is 10). For example, if the value range of the test data corresponding to the function coverage point is 1 to 10, and the number of the bins is 2, the values of 5 test data corresponding to each bin (for example, the value range of the bin 1 is 1 to 5, and the value range of the bin 2 is 6 to 10) may be determined, and in an actual application process, the number of the bins and the value range of the bins may be values arbitrarily set by a user, which is not limited in the embodiment of the present application.
Optionally, the test requirement information may be analyzed according to the following feasible implementation manner to obtain a plurality of test parameters: analyzing and processing each function requirement information respectively to obtain a test parameter corresponding to each test function, wherein the test parameter corresponding to each test function comprises a test mode, an information sampling path and at least one test data set, and a plurality of test parameters are determined to comprise the test parameter corresponding to each test function and an identification corresponding to each test function. For example, if the test requirement information includes function requirement information 1 and function requirement information 2, the test parameter corresponding to the function requirement information 1 is parameter 1, and the test parameter corresponding to the function requirement information 2 is parameter 2, the test parameter determined by the terminal device includes parameter 1 and parameter 2.
Optionally, the test requirement information may be a preset table. For example, according to a test function required by a user, corresponding function requirement information may be filled in a preset table, so that the terminal device determines a plurality of test parameters through the preset table. Optionally, when the test requirement information is a preset form, function requirement information corresponding to a test function may be filled in each row of the preset form. For example, the preset table may include a plurality of function requirement information, one for each action. For example, in an actual application process, the function requirement information may be information included in the coverage group, and thus, one row in the preset table may be information included in one coverage group, where each row of the preset table may include an identifier of the coverage group, an identifier of at least one function coverage point included in the coverage group, a type of the function coverage point, path information of test data corresponding to the function coverage point, a test condition of the function coverage point, bin information of the function coverage point, and the like, and the terminal device may obtain, in a manner of obtaining line by line, a plurality of test parameters indicated by the preset table, and an identifier (identifier of the coverage group) corresponding to each test function.
Optionally, the plurality of test parameters includes a plurality of parameter types. For example, the type corresponding to the identifier of the coverage group is type 1, the type corresponding to the identifier of the functional coverage point is type 2, the type corresponding to the type of the functional coverage point is type 3, the type corresponding to the path information of the test data corresponding to the functional coverage point is type 4, the type corresponding to the test condition of the functional coverage point is type 5, and the type corresponding to the bin information of the functional coverage point is type 6.
And S203, determining the parameter types corresponding to the filling positions.
Optionally, the parameter type of the filling position in the code template is the same as the parameter type included in the test parameter. For example, if the parameter type corresponding to the test parameter includes: type a, type B, type C, type D, type E, and type F, the parameter types corresponding to the filling position also include: type A, type B, type C, type D, type E, and type F.
Optionally, the parameter type corresponding to each filling position may be a preset type. For example, when a code template is added to the preset code template library, an identifier of a corresponding parameter type is preset for a filling position in each code template, and after the terminal device acquires the code template, the parameter type corresponding to the filling position may be determined according to the identifier of the corresponding parameter type in the filling position.
S204, determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code.
Optionally, the test parameters corresponding to the filling positions may be determined, and the test parameters are filled into the corresponding filling positions, so as to obtain the target test code.
The embodiment of the application provides a test code generation method, which includes determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested, and acquiring a code template from a preset code template library according to the application program to be tested and the plurality of test functions. The method comprises the steps of obtaining test requirement information, analyzing the test requirement information to obtain a plurality of test parameters and a parameter type of each test parameter, determining the parameter type corresponding to each filling position, determining the test parameter corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain target test codes. Therefore, the terminal equipment can directly and accurately fill a plurality of test parameters into the corresponding code templates according to the types of the test parameters, and can generate a plurality of test codes according to a plurality of test parameters corresponding to user requirements without manual writing of the test codes, so that the generation efficiency of the test codes can be improved.
Based on the embodiment shown in fig. 2, the test code generation method will be described in detail below with reference to fig. 3.
Fig. 3 is a flowchart illustrating another test code generation method according to an embodiment of the present application. Referring to fig. 3, the process of the method includes:
s301, a code template is obtained, wherein the code template comprises a fixed code and a plurality of filling positions.
It should be noted that the execution process of step S301 may refer to the execution process of step S201, and details thereof are not described again in this embodiment of the application.
S302, determining a plurality of test parameters and the parameter type of each test parameter.
It should be noted that the execution process of step S301 may refer to the execution process of step S202, which is not described again in this embodiment of the application.
And S303, determining the parameter types corresponding to the filling positions.
It should be noted that the execution process of step S303 may refer to the execution process of step S203, which is not described again in this embodiment of the application.
S304, grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position.
Optionally, the set of test parameters includes at least one test parameter, and the test parameters included in each set of test parameters have the same parameter type. For example, 3 test parameters may be included in a set of test parameters, and the parameter types of the test parameters in the set are the same. For example, the type of the test parameter 1 and the test parameter 2 is type a, the type of the test parameter 3, the type of the test parameter 4, and the type of the test parameter 5 is type B, and since the types of the test parameter 1 and the test parameter 2 are the same, the test parameter 1 and the test parameter 2 may be a set of test parameters, and since the types of the test parameter 3, the test parameter 4, and the test parameter 5 are the same, the test parameter 3, the test parameter 4, and the test parameter 5 may be a set of test parameters. For example, in an actual application process, after the terminal device extracts data in the preset table, the terminal device may set 6 arrays, where an identifier of a coverage point is stored in a 1 st array, an identifier of a function coverage point is stored in a 2 nd array, a type of the function coverage point is stored in a 3 rd array, path information of test data corresponding to the function coverage point is stored in a 4 th array, a test condition of the function coverage point is stored in a 5 th array, and bin information of the function coverage point is stored in the 6 th array.
Optionally, the terminal device may determine the test parameter with the same parameter type as the parameter corresponding to the filling position as the test parameter corresponding to the filling position. For example, if the parameter type corresponding to the filling position 1 is type 1, the parameter type corresponding to the filling position 2 is type 2, the array 1 includes a plurality of test parameters of type 1, and the array 2 includes a plurality of test parameters of type 2, the terminal device determines that the test parameter corresponding to the filling position 1 is the test parameter in the array 1, and the test parameter corresponding to the filling position 2 is the test parameter in the array 2.
Optionally, the terminal device may receive a plurality of pieces of test requirement information at the same time, each piece of test requirement information includes an identifier of the test requirement information, and the terminal device may identify the corresponding test parameter through the identifier of the test requirement information. For example, the terminal device may obtain a table name of the preset table, and further determine a test parameter corresponding to the preset table.
S305, filling a group of test parameters corresponding to the filling position to the corresponding filling position to obtain the target test code.
Optionally, after the terminal device determines a set of test parameters corresponding to the filling positions in the code template, the terminal device may fill the test parameters into the corresponding filling positions. Optionally, for any filling position, a set of test parameters corresponding to the filling position may be filled to the corresponding filling position through the following feasible implementation manners: and acquiring a parameter format corresponding to the filling position. The parameter format is the format of a filling position preset in the code template. For example, the parameter format corresponding to the filling position needs to satisfy "a? "in the format of.
And formatting a group of test parameters corresponding to the filling position according to the parameter format to obtain a filling code. For example, if a set of test parameters obtained by the terminal device is 1, 2, 3, and 4, and the parameter format of the filling location corresponding to the set of test parameters is "a? If "the terminal device formats the set of test parameters, and obtains the corresponding padding code" a is 1, a is 2, a is 3, and a is 4 ".
Fill codes are filled into the fill locations. For example, the terminal device fills the filling code to the corresponding filling position, and the target test code can be obtained. For example, the terminal device may print information on the code template into a file, and reserve variable information at the filling position, so that when the terminal device runs a preset form through a preset script, the preset script may fill the test parameters into the corresponding filling position.
Next, a process of filling the test parameters in the filling position will be described with reference to fig. 4.
Fig. 4 is a schematic process diagram of filling test parameters according to an embodiment of the present disclosure. Please refer to fig. 4, which includes: terminal equipment, a code template and test parameters. The code template comprises a fixed code, a filling position 1, a filling position 2 and a filling position 3, and the test parameters comprise a test parameter 1, a test parameter 2 and a test parameter 3. The parameter type of the test parameter 1 is the same as that of the filling position 1, the filling type of the test parameter 2 is the same as that of the filling position 2, and the parameter type of the test parameter 3 is the same as that of the filling position 3.
Referring to fig. 4, when the terminal device receives the test parameter, the terminal device may add the test parameter 1 to the filling position 1, add the test parameter 2 to the filling position 2, and add the test parameter 3 to the filling position 3, so as to obtain the target test code. The target test code comprises a fixed code, a test parameter 1, a test parameter 2 and a test parameter 3.
S306, testing a plurality of testing functions of the application program to be tested according to the target testing code.
Optionally, after the terminal device fills the test parameters to the filling position in the code template, the terminal device may further add an instantiation code and a sampling code corresponding to the code template in the code template, so that the target test code generated by the terminal device includes: and testing codes, instantiation codes and sampling codes corresponding to the testing parameters. Therefore, the instantiation codes and the sampling codes can be called by upper-layer logic, so that the target test codes generated by the terminal equipment can be directly called in the functional test process, and the test efficiency is further improved.
Optionally, a plurality of test functions of the application program to be tested are tested according to the target test code. For example, if the target test code is obtained according to a requirement (test requirement information) of the call function test, the terminal device may test the voice function and the signal transmission function in the system program through the target test code, and if the target test code is obtained according to a requirement of the bluetooth connection function test, the terminal device may test the bluetooth function through the target test code.
The embodiment of the application provides a test code generation method, which includes obtaining a code template, wherein the code template comprises a fixed code and a plurality of filling positions, determining a plurality of test parameters and a parameter type of each test parameter, determining a parameter type corresponding to each filling position, grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, filling the group of test parameters corresponding to the filling positions to the corresponding filling positions to obtain a target test code, and testing a plurality of test functions of an application program to be tested according to the target test code. Therefore, when the test codes are required to be generated, a plurality of test parameters can be directly and accurately filled into the corresponding code templates according to the parameter types of the test parameters and the parameter types of the filling positions, and a plurality of test codes can be generated simultaneously according to a plurality of test parameters corresponding to user requirements without manually writing the test codes, so that the generation efficiency of the test codes can be improved.
On the basis of any of the above embodiments, the following describes a process of the code generation method with reference to fig. 5.
Fig. 5 is a process diagram of a code generation method according to an embodiment of the present application. Please refer to fig. 5, which includes a preset table and a code template. The preset table comprises 2 rows of information, the first row of information comprises a covering group identifier 1, a function covering point identifier 1, a type 1 of a function covering point, a sampling path 1, a sampling condition 1 and bin information 1 of the function covering point, and the second row of information comprises a covering group identifier 2, a function covering point identifier 2, a type 2 of the function covering point, a sampling path 2, a sampling condition 2 and bin information 2 of the function covering point. The code template includes a fixed code, a filling position 1, a filling position 2, a filling position 3, a filling position 4, a filling position 5, and a filling position 6.
Please refer to fig. 5, the terminal device obtains the preset table and generates 6 arrays, wherein the array 1 includes a coverage group identifier 1 and a coverage group identifier 2, the array 2 includes a function coverage point identifier 1 and a function coverage point identifier 2, the array 3 includes a function coverage point type 1 and a function coverage point type 2, the array 4 includes a sampling path 1 and a sampling path 2, the array 5 includes a sampling condition 1 and a sampling condition 2, and the array 6 includes bin information 1 of the function coverage point and bin information 2 of the function coverage point.
Referring to fig. 5, the terminal device determines that the filling position corresponding to the array 1 is the filling position 1, the terminal device determines that the filling position corresponding to the array 2 is the filling position 2, the terminal device determines that the filling position corresponding to the array 3 is the filling position 3, the terminal device determines that the filling position corresponding to the array 4 is the filling position 4, the terminal device determines that the filling position corresponding to the array 5 is the filling position 5, and the terminal device determines that the filling position corresponding to the array 6 is the filling position 6.
Referring to fig. 5, the terminal device respectively adds an overlay group identifier 1 and an overlay group identifier 2 to a filling position 1, respectively adds a function overlay point identifier 1 and a function overlay point identifier 2 to a filling position 2, respectively adds a function overlay point type 1 and a function overlay point type 2 to a filling position 3, respectively adds a sampling path 1 and a sampling path 2 to a filling position 4, respectively adds a sampling condition 1 and a sampling condition 2 to a filling position 5, and respectively adds bin information 1 of the function overlay point and bin information 2 of the function overlay point to a filling position 6. And further obtaining a target test code A and a target test code B. Therefore, when the test codes are required to be generated, a plurality of test parameters can be directly and accurately filled into the corresponding code templates according to the parameter types of the test parameters and the parameter types of the filling positions, and a plurality of test codes can be generated simultaneously according to a plurality of test parameters corresponding to user requirements without manually writing the test codes, so that the generation efficiency of the test codes can be improved.
Fig. 6 is a schematic structural diagram of a test code generation apparatus according to an embodiment of the present application. Referring to fig. 6, the test code generating apparatus 10 includes an obtaining module 11, a first determining module 12, a second determining module 13, and a third determining module 14, where:
the obtaining module 11 is configured to obtain a code template, where the code template includes a fixed code and a plurality of filling positions;
the first determining module 12 is configured to determine a plurality of test parameters and a parameter type of each test parameter;
the second determining module 13 is configured to determine a parameter type corresponding to each filling position;
the third determining module 14 is configured to determine a test parameter corresponding to each filling position according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions, and fill the test parameter to the corresponding filling position to obtain a target test code.
In a possible implementation, the third determining module 14 is specifically configured to:
grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, wherein the group of test parameters comprises at least one test parameter, and the parameter types of the test parameters in each group of test parameters are the same;
and filling a group of test parameters corresponding to the filling position to the corresponding filling position to obtain the target test code.
In a possible implementation, the third determining module 14 is specifically configured to:
acquiring a parameter format corresponding to the filling position;
formatting a group of test parameters corresponding to the filling position according to the parameter format to obtain a filling code;
and filling the filling code into the filling position.
In a possible implementation, the second determining module 13 is specifically configured to:
acquiring test requirement information;
and analyzing the test requirement information to obtain a plurality of test parameters.
In a possible implementation, the second determining module 13 is specifically configured to:
analyzing and processing each function requirement information respectively to obtain a test parameter corresponding to each test function, wherein the test parameter corresponding to each test function comprises: a test mode, an information sampling path and at least one test data set;
and determining that the plurality of test parameters comprise test parameters corresponding to each test function and an identifier corresponding to each test function.
In a possible implementation manner, the second determining module 13 is specifically configured to:
and if the test mode is the combined test mode, the function requirement information also comprises an identifier of a test function which is combined with the test function for testing.
In a possible implementation manner, the obtaining module 11 is specifically configured to:
determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested;
and acquiring the code template in a preset code template library according to the application program to be tested and the plurality of test functions.
The test code generation apparatus provided in the embodiment of the present application may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
The test code generation device shown in the embodiment of the application can be a chip, a hardware module, a processor and the like. Of course, the test code generation device may have other forms, and this embodiment of the present application is not particularly limited thereto.
Fig. 7 is a schematic structural diagram of another test code generation apparatus according to an embodiment of the present application. On the basis of the embodiment shown in fig. 6, please refer to fig. 7, the test code generating apparatus further includes a testing apparatus 15, where the testing apparatus 15 is configured to:
and testing the plurality of test functions of the application program to be tested according to the target test code.
The test code generation apparatus provided in the embodiment of the present application may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
The test code generation device shown in the embodiment of the application can be a chip, a hardware module, a processor and the like. Of course, the test code generation apparatus may have other forms, and this embodiment of the present application is not particularly limited thereto.
Fig. 8 is a schematic hardware structure diagram of a test code generation apparatus according to an embodiment of the present application. Referring to fig. 8, the test code generation apparatus 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to call the program instructions in the memory to perform the test code generation method shown in any of the above-described method embodiments.
Optionally, the test code generation device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a test code generation method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the test code generation method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable test code generation apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable test code generation apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable test code generation apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable test code generation apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications can be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (12)

1. A test code generation method, comprising:
acquiring a code template, wherein the code template comprises a fixed code and a plurality of filling positions;
determining a plurality of test parameters and a parameter type of each test parameter;
determining the parameter type corresponding to each filling position;
and determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code.
2. The method of claim 1, wherein determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions comprises:
grouping the plurality of test parameters according to the parameter types of the plurality of test parameters and the parameter types corresponding to the plurality of filling positions to obtain a group of test parameters corresponding to each filling position, wherein the group of test parameters comprises at least one test parameter, and the parameter types of the test parameters in each group of test parameters are the same;
and filling a group of test parameters corresponding to the filling position to the corresponding filling position to obtain the target test code.
3. The method of claim 2, wherein for any one fill location; filling a set of test parameters corresponding to the filling position, including:
acquiring a parameter format corresponding to the filling position;
formatting a group of test parameters corresponding to the filling position according to the parameter format to obtain a filling code;
and filling the filling code into the filling position.
4. The method of any of claims 1-3, wherein determining a plurality of test parameters comprises:
acquiring test requirement information;
and analyzing the test requirement information to obtain a plurality of test parameters.
5. The method of claim 4, wherein the test requirement information includes function requirement information corresponding to a plurality of test functions, and the function requirement information includes a test mode, an information sampling path, and at least one test data set;
analyzing the test requirement information to obtain a plurality of test parameters, including:
analyzing and processing each function requirement information respectively to obtain a test parameter corresponding to each test function, wherein the test parameter corresponding to each test function comprises: a test mode, an information sampling path and at least one test data set;
and determining that the plurality of test parameters comprise test parameters corresponding to each test function and an identifier corresponding to each test function.
6. The method of claim 5, wherein the test mode comprises an independent test mode and a combined test mode;
and if the test mode is the combined test mode, the function requirement information also comprises an identifier of a test function which is combined with the test function for testing.
7. The method of any of claims 1-6, wherein obtaining a code template comprises:
determining an application program to be tested and a plurality of test functions corresponding to the application program to be tested;
and acquiring the code template from a preset code template library according to the application program to be tested and the plurality of test functions.
8. The method of claim 7, wherein after the filling the test parameters to the corresponding filling positions to obtain the target test code, further comprising:
and testing the plurality of test functions of the application program to be tested according to the target test code.
9. A test code generation device is characterized by comprising an acquisition module, a first determination module, a second determination module and a third determination module, wherein:
the acquisition module is used for acquiring a code template, and the code template comprises a fixed code and a plurality of filling positions;
the first determining module is used for determining a plurality of testing parameters and the parameter type of each testing parameter;
the second determining module is used for determining the parameter types corresponding to the filling positions;
and the third determining module is used for determining the test parameters corresponding to each filling position according to the parameter types of the test parameters and the parameter types corresponding to the filling positions, and filling the test parameters to the corresponding filling positions to obtain the target test code.
10. A test code generation apparatus, characterized by comprising: a processor, a memory;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the test code generation method of any of claims 1 to 8.
11. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the test code generation method of any one of claims 1 to 8.
12. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the test code generation method of any of claims 1 to 8.
CN202111402015.7A 2021-11-19 2021-11-19 Test code generation method, device and equipment Pending CN114090445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111402015.7A CN114090445A (en) 2021-11-19 2021-11-19 Test code generation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111402015.7A CN114090445A (en) 2021-11-19 2021-11-19 Test code generation method, device and equipment

Publications (1)

Publication Number Publication Date
CN114090445A true CN114090445A (en) 2022-02-25

Family

ID=80303811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111402015.7A Pending CN114090445A (en) 2021-11-19 2021-11-19 Test code generation method, device and equipment

Country Status (1)

Country Link
CN (1) CN114090445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598401A (en) * 2022-05-09 2022-06-07 荣耀终端有限公司 Radio frequency test method, Bluetooth device, electronic device and radio frequency test system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598401A (en) * 2022-05-09 2022-06-07 荣耀终端有限公司 Radio frequency test method, Bluetooth device, electronic device and radio frequency test system
CN114598401B (en) * 2022-05-09 2022-09-27 荣耀终端有限公司 Radio frequency test method, Bluetooth device, electronic device and radio frequency test system

Similar Documents

Publication Publication Date Title
CN114090445A (en) Test code generation method, device and equipment
CN112035344A (en) Multi-scenario test method, device, equipment and computer readable storage medium
CN105404574B (en) Smart card and mobile terminal consistency test method and device
CN111897660A (en) Model deployment method, model deployment device and terminal equipment
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN110297764B (en) Vulnerability test model training method and device
CN112565468B (en) Driving scene recognition method and system
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
CN110831049A (en) Network performance testing method and device
CN109783221B (en) Virtual machine resource allocation method and device and resource server
CN111123728A (en) Unmanned vehicle simulation method, device, equipment and computer readable medium
CN110289890B (en) Near field communication test method, system, mobile terminal and storage medium
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
CN107678967B (en) Unit test coverage rate generation method and device, readable storage medium and equipment
CN107645430B (en) Data processing method, system and related equipment
CN114896161A (en) File construction method and device based on artificial intelligence, computer equipment and medium
CN113760768A (en) Test method, monitoring platform, electronic equipment and storage medium
CN102868461A (en) Base band test method, device and system
CN108089989B (en) Path detection method, electronic device and readable storage medium
CN111679974A (en) Application program testing method and device
CN110365738A (en) Localization method, device and storage medium based on Hybird framework
CN106443732B (en) Path diagram drawing method and system based on GPS
CN111061258A (en) Function testing method and device based on train control system
CN105809408A (en) Data transmission method and data transmission device
CN114327485A (en) Code processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination