CN112685282A - Test method, test device, electronic equipment and computer readable storage medium - Google Patents
Test method, test device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112685282A CN112685282A CN201910989889.3A CN201910989889A CN112685282A CN 112685282 A CN112685282 A CN 112685282A CN 201910989889 A CN201910989889 A CN 201910989889A CN 112685282 A CN112685282 A CN 112685282A
- Authority
- CN
- China
- Prior art keywords
- test
- information
- instruction
- test application
- request
- 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.)
- Granted
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本公开涉及测试技术领域,具体涉及一种测试方法、装置、电子设备及计算机可读存储介质。The present disclosure relates to the field of testing technologies, and in particular, to a testing method, an apparatus, an electronic device, and a computer-readable storage medium.
背景技术Background technique
随着互联网技术的发展,越来越多的商家或者服务提供商通过互联网应用来为用户提供服务,为了提高服务质量,需要经常对于互联网应用所提供的服务内容进行测试,以及时发现互联网应用中可能存在的问题,进而及时解决,保障互联网应用的正常运转。但现有技术中,测试代码通常无序存放,而且命名较为抽象难懂,测试人员难以在短时间内确定测试代码所能执行的测试内容,尤其对于较为复杂的测试场景来说,寻找、组合测试代码更是花费了测试人员较多的时间,从而导致人力成本浪费,测试效率降低。With the development of Internet technology, more and more businesses or service providers use Internet applications to provide services to users. In order to improve service quality, it is necessary to frequently test the service content provided by Internet applications, and to find out the content of Internet applications in a timely manner. Possible problems, and then solve them in time to ensure the normal operation of Internet applications. However, in the prior art, test codes are usually stored out of order, and the names are abstract and difficult to understand. It is difficult for testers to determine the test content that can be executed by the test code in a short period of time, especially for more complex test scenarios. Testing code takes more time for testers, resulting in wasted labor costs and reduced testing efficiency.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供一种测试方法、装置、电子设备及计算机可读存储介质。Embodiments of the present disclosure provide a testing method, an apparatus, an electronic device, and a computer-readable storage medium.
第一方面,本公开实施例中提供了一种测试方法。In a first aspect, an embodiment of the present disclosure provides a testing method.
具体的,所述测试方法,包括:Specifically, the test method includes:
响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;In response to receiving the test request sent by the test requester that carries at least the test application description information, splitting the test application description information to obtain test application description sub-information;
根据所述测试应用描述子信息确定与其对应的测试指令;Determine the corresponding test instruction according to the test application descriptor information;
组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果。The test instructions are combined to obtain a test instruction set corresponding to the test request, and the test instruction set is executed to obtain a test result.
结合第一方面,本公开在第一方面的第一种实现方式中,所述响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息,包括:With reference to the first aspect, in a first implementation manner of the first aspect of the present disclosure, in response to receiving a test request sent by a test requester that carries at least the test application description information, the test application description information is disassembled score, get the test application descriptor information, including:
响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,获取测试应用描述信息,并获取预设单位的测试主体对象行为特征;In response to receiving the test request sent by the test requester that carries at least the description information of the test application, obtain the description information of the test application, and obtain the behavior characteristics of the test subject object of the preset unit;
对所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。The test application description information is split according to the behavior characteristics of the test subject object of the preset unit, and the test application description sub-information corresponding to the behavior characteristics of the test subject object of the preset unit is obtained.
结合第一方面和第一方面的第一种实现方式,本公开在第一方面的第二种实现方式中,所述根据所述测试应用描述子信息确定与其对应的测试指令,包括:In combination with the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect of the present disclosure, the determining of the corresponding test instruction according to the test application descriptor information includes:
确定所述测试应用描述子信息的指令索引信息;determining the instruction index information of the test application descriptor information;
向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;sending a test instruction acquisition request carrying at least the instruction index information to the test instruction database, so that the test instruction database searches for the test instruction corresponding to the instruction index information according to the instruction index information;
接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。A test instruction corresponding to the instruction index information sent by the test instruction database is received.
结合第一方面、第一方面的第一种实现方式和第一方面的第二种实现方式,本公开在第一方面的第三种实现方式中,所述测试应用描述子信息的指令索引信息为所述测试应用描述子信息对应的关键词。In combination with the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the test application describes the instruction index information of the sub-information Describe the keyword corresponding to the sub-information for the test application.
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式和第一方面的第三种实现方式,本公开在第一方面的第四种实现方式中,所述组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果,包括:With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, the Combining the test instructions, obtaining a test instruction set corresponding to the test request, and executing the test instruction set to obtain a test result, including:
确定所述测试应用描述子信息的执行顺序;determining the execution order of the test application descriptor information;
根据所述测试应用描述子信息的执行顺序组合与所述测试应用描述子信息对应的测试指令,得到与所述测试请求对应的测试指令集;Combine the test instructions corresponding to the test application descriptor information according to the execution order of the test application descriptor information to obtain a test instruction set corresponding to the test request;
执行所述测试指令集得到测试结果。A test result is obtained by executing the test instruction set.
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式、第一方面的第三种实现方式和第一方面的第四种实现方式,本公开在第一方面的第五种实现方式中,还包括:In conjunction with the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, the present disclosure is described in the first The fifth implementation manner of the aspect further includes:
显示所述测试结果。The test results are displayed.
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式、第一方面的第三种实现方式、第一方面的第四种实现方式和第一方面的第五种实现方式,本公开在第一方面的第六种实现方式中,还包括:In combination with the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, and the third implementation manner of the first aspect Five implementation manners, in the sixth implementation manner of the first aspect, the present disclosure also includes:
显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。A test prompt image corresponding to the test request is displayed, wherein the test prompt image is used to prompt the test result.
结合第一方面、第一方面的第一种实现方式、第一方面的第二种实现方式、第一方面的第三种实现方式、第一方面的第四种实现方式、第一方面的第五种实现方式和第一方面的第六种实现方式,本公开在第一方面的第七种实现方式中,所述显示与所述测试请求对应的测试提示图像,包括:In combination with the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, the fourth implementation manner of the first aspect, and the third implementation manner of the first aspect Five implementation manners and a sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect of the present disclosure, the displaying a test prompt image corresponding to the test request includes:
获取与所述测试指令对应的提示图像信息;Obtain the prompt image information corresponding to the test instruction;
根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,得到并显示与所述测试请求对应的测试提示图像。Combine the prompt image information according to the execution order of the test application description sub-information to obtain and display a test prompt image corresponding to the test request.
第二方面,本公开实施例中提供了一种测试装置。In a second aspect, an embodiment of the present disclosure provides a testing device.
具体的,所述测试装置,包括:Specifically, the test device includes:
拆分模块,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;A splitting module, configured to split the test application description information in response to receiving the test request sent by the test requester and carrying at least the test application description information to obtain the test application description sub-information;
确定模块,被配置为根据所述测试应用描述子信息确定与其对应的测试指令;a determining module, configured to determine a corresponding test instruction according to the test application descriptor information;
执行模块,被配置为组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果。The execution module is configured to combine the test instructions to obtain a test instruction set corresponding to the test request, and execute the test instruction set to obtain a test result.
结合第二方面,本公开在第二方面的第一种实现方式中,所述拆分模块包括:In conjunction with the second aspect, in a first implementation manner of the second aspect of the present disclosure, the splitting module includes:
第一获取子模块,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,获取测试应用描述信息,并获取预设单位的测试主体对象行为特征;The first acquisition sub-module is configured to acquire the test application description information and acquire the behavior characteristics of the test subject object of the preset unit in response to receiving the test request sent by the test requester and carrying at least the test application description information;
拆分子模块,被配置为对所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。A splitting sub-module, configured to split the test application description information according to the behavioral characteristics of the test subject object of the preset unit, and obtain the test application description sub-information corresponding to the behavioral characteristics of the test subject object of the preset unit .
结合第二方面和第二方面的第一种实现方式,本公开在第二方面的第二种实现方式中,所述确定模块包括:In combination with the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect of the present disclosure, the determining module includes:
第一确定子模块,被配置为确定所述测试应用描述子信息的指令索引信息;a first determination sub-module, configured to determine the instruction index information of the test application description sub-information;
发送子模块,被配置为向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;A sending submodule, configured to send a test instruction acquisition request carrying at least the instruction index information to the test instruction database, so that the test instruction database searches for the test instruction corresponding to the instruction index information according to the instruction index information ;
接收子模块,被配置为接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。The receiving submodule is configured to receive the test instruction corresponding to the instruction index information sent by the test instruction database.
结合第二方面、第二方面的第一种实现方式和第二方面的第二种实现方式,本公开在第二方面的第三种实现方式中,所述测试应用描述子信息的指令索引信息为所述测试应用描述子信息对应的关键词。In combination with the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in the third implementation manner of the second aspect, the test application describes the instruction index information of the sub-information Describe the keyword corresponding to the sub-information for the test application.
结合第二方面、第二方面的第一种实现方式、第二方面的第二种实现方式和第二方面的第三种实现方式,本公开在第二方面的第四种实现方式中,所述执行模块包括:In combination with the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in the fourth implementation manner of the second aspect, the The execution modules described above include:
第二确定子模块,被配置为确定所述测试应用描述子信息的执行顺序;a second determination submodule, configured to determine the execution order of the test application description sub-information;
组合子模块,被配置为根据所述测试应用描述子信息的执行顺序组合与所述测试应用描述子信息对应的测试指令,得到与所述测试请求对应的测试指令集;a combining submodule, configured to combine test instructions corresponding to the test application descriptor information according to the execution order of the test application descriptor information to obtain a test instruction set corresponding to the test request;
执行子模块,被配置为执行所述测试指令集得到测试结果。The execution submodule is configured to execute the test instruction set to obtain the test result.
结合第二方面、第二方面的第一种实现方式、第二方面的第二种实现方式、第二方面的第三种实现方式和第二方面的第四种实现方式,本公开在第二方面的第五种实现方式中,还包括:In conjunction with the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, the present disclosure is described in the second The fifth implementation manner of the aspect further includes:
第一显示模块,被配置为显示所述测试结果。The first display module is configured to display the test result.
结合第二方面、第二方面的第一种实现方式、第二方面的第二种实现方式、第二方面的第三种实现方式、第二方面的第四种实现方式和第二方面的第五种实现方式,本公开在第二方面的第六种实现方式中,还包括:Combining the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, the fourth implementation manner of the second aspect, and the third implementation manner of the second aspect Five implementation manners, in the sixth implementation manner of the second aspect, the present disclosure also includes:
第二显示模块,被配置为显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。The second display module is configured to display a test prompt image corresponding to the test request, wherein the test prompt image is used to prompt the test result.
结合第二方面、第二方面的第一种实现方式、第二方面的第二种实现方式、第二方面的第三种实现方式、第二方面的第四种实现方式、第二方面的第五种实现方式和第二方面的第六种实现方式,本公开在第二方面的第七种实现方式中,所述第二显示模块包括:In combination with the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, the fourth implementation manner of the second aspect, and the third implementation manner of the second aspect Five implementation manners and a sixth implementation manner of the second aspect, the present disclosure is in a seventh implementation manner of the second aspect, the second display module includes:
第二获取子模块,被配置为获取与所述测试指令对应的提示图像信息;The second acquisition sub-module is configured to acquire prompt image information corresponding to the test instruction;
显示子模块,被配置为根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,得到并显示与所述测试请求对应的测试提示图像。The display sub-module is configured to combine the prompt image information according to the execution order of the test application description sub-information to obtain and display the test prompt image corresponding to the test request.
第三方面,本公开实施例提供了一种电子设备,包括存储器和至少一个处理器,其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述至少一个处理器执行以实现上述第一方面中测试方法的方法步骤。In a third aspect, embodiments of the present disclosure provide an electronic device, including a memory and at least one processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are The at least one processor executes the method steps to implement the testing method in the first aspect above.
第四方面,本公开实施例提供了一种计算机可读存储介质,用于存储测试装置所用的计算机指令,其包含用于执行上述第一方面中测试方法为测试装置所涉及的计算机指令。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by a testing device, including computer instructions used to execute the testing method in the first aspect as a testing device.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
上述技术方案通过对于测试指令进行有序存放,使用简单易懂的命名方式对其进行命名,并对测试请求进行解析,以得到与所述测试请求对应的测试指令,进而完成测试工作。该技术方案能够大大节省测试人员的测试工作量,提高测试工作的执行效率,同时还能够有效保障测试的准确率。The above technical solution stores the test instructions in an orderly manner, names them in a simple and easy-to-understand naming manner, and parses the test request to obtain the test instruction corresponding to the test request, thereby completing the test work. The technical solution can greatly save the test workload of the testers, improve the execution efficiency of the test work, and at the same time can effectively guarantee the test accuracy.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
结合附图,通过以下非限制性实施方式的详细描述,本公开的其它特征、目的和优点将变得更加明显。在附图中:Other features, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the attached image:
图1示出根据本公开一实施方式的测试方法的流程图;FIG. 1 shows a flowchart of a testing method according to an embodiment of the present disclosure;
图2示出根据图1所示实施方式的测试方法的步骤S101的流程图;Fig. 2 shows a flowchart of step S101 of the testing method according to the embodiment shown in Fig. 1;
图3示出根据图1所示实施方式的测试方法的步骤S102的流程图;FIG. 3 shows a flowchart of step S102 of the testing method according to the embodiment shown in FIG. 1;
图4示出根据图1所示实施方式的测试方法的步骤S103的流程图;FIG. 4 shows a flowchart of step S103 of the testing method according to the embodiment shown in FIG. 1;
图5示出根据本公开了另一实施方式的测试方法的流程图;5 shows a flowchart of a testing method according to another embodiment of the present disclosure;
图6示出根据本公开了再一实施方式的测试方法的流程图;6 shows a flowchart of a testing method according to yet another embodiment of the present disclosure;
图7示出根据图6所示实施方式的测试方法的步骤S605的流程图;Fig. 7 shows a flowchart of step S605 of the testing method according to the embodiment shown in Fig. 6;
图8示出根据本公开一实施方式的测试装置的结构框图;FIG. 8 shows a structural block diagram of a testing device according to an embodiment of the present disclosure;
图9示出根据图8所示实施方式的测试装置的拆分模块801的结构框图;Fig. 9 shows a structural block diagram of the
图10示出根据图8所示实施方式的测试装置的确定模块802的结构框图;Fig. 10 shows a structural block diagram of the
图11示出根据图8所示实施方式的测试装置的执行模块803的结构框图;Fig. 11 shows a structural block diagram of the
图12示出根据本公开另一实施方式的测试装置的结构框图;12 shows a structural block diagram of a testing device according to another embodiment of the present disclosure;
图13示出根据本公开再一实施方式的测试装置的结构框图;FIG. 13 shows a structural block diagram of a testing device according to still another embodiment of the present disclosure;
图14示出根据图13所示实施方式的测试装置的第二显示模块1305的结构框图;FIG. 14 shows a structural block diagram of the
图15示出根据本公开一实施方式的电子设备的结构框图;15 shows a structural block diagram of an electronic device according to an embodiment of the present disclosure;
图16是适于用来实现根据本公开一实施方式的测试方法的计算机系统的结构示意图。FIG. 16 is a schematic structural diagram of a computer system suitable for implementing a testing method according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下文中,将参考附图详细描述本公开的示例性实施方式,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施方式无关的部分。Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts unrelated to describing the exemplary embodiments are omitted from the drawings.
在本公开中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的特征、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他特征、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts, or combinations thereof disclosed in this specification, and are not intended to exclude a or multiple other features, numbers, steps, acts, components, parts, or combinations thereof may exist or be added.
另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that the embodiments of the present disclosure and the features of the embodiments may be combined with each other under the condition of no conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
本公开实施例提供的技术方案通过对于测试指令进行有序存放,使用简单易懂的命名方式对其进行命名,并对测试请求进行解析,以得到与所述测试请求对应的测试指令,进而完成测试工作。该技术方案能够大大节省测试人员的测试工作量,提高测试工作的执行效率,同时还能够有效保障测试的准确率。The technical solution provided by the embodiments of the present disclosure is to store the test instructions in an orderly manner, name them in a simple and easy-to-understand naming manner, and parse the test request to obtain the test instruction corresponding to the test request, and then complete Test work. The technical solution can greatly save the test workload of the testers, improve the execution efficiency of the test work, and at the same time can effectively guarantee the test accuracy.
图1示出根据本公开一实施方式的测试方法的流程图,可适用于服务器端。如图1所示,所述测试方法包括以下步骤S101-S103:FIG. 1 shows a flowchart of a testing method according to an embodiment of the present disclosure, which can be applied to the server side. As shown in Figure 1, the test method includes the following steps S101-S103:
在步骤S101中,响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;In step S101, in response to receiving the test request sent by the test requester and carrying at least the test application description information, split the test application description information to obtain test application description sub-information;
在步骤S102中,根据所述测试应用描述子信息确定与其对应的测试指令;In step S102, the corresponding test instruction is determined according to the test application description sub-information;
在步骤S103中,组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果。In step S103, the test instructions are combined to obtain a test instruction set corresponding to the test request, and the test instruction set is executed to obtain a test result.
上文提及,随着互联网技术的发展,越来越多的商家或者服务提供商通过互联网应用来为用户提供服务,为了提高服务质量,需要经常对于互联网应用所提供的服务内容进行测试,以及时发现互联网应用中可能存在的问题,进而及时解决,保障互联网应用的正常运转。但现有技术中,测试代码通常无序存放,而且命名较为抽象难懂,测试人员难以在短时间内确定测试代码所能执行的测试内容,尤其对于较为复杂的测试场景来说,寻找、组合测试代码更是花费了测试人员较多的时间,从而导致人力成本浪费,测试效率降低。As mentioned above, with the development of Internet technology, more and more businesses or service providers provide services to users through Internet applications. In order to improve service quality, it is necessary to frequently test the service content provided by Internet applications to ensure Timely discover possible problems in Internet applications, and then solve them in time to ensure the normal operation of Internet applications. However, in the prior art, test codes are usually stored out of order, and the names are abstract and difficult to understand. It is difficult for testers to determine the test content that can be executed by the test code in a short period of time, especially for more complex test scenarios. Testing code takes more time for testers, resulting in wasted labor costs and reduced testing efficiency.
考虑到上述缺陷,在该实施方式中,提出一种测试方法,该方法通过对于测试指令进行有序存放,使用简单易懂的命名方式对其进行命名,并对测试请求进行解析,以得到与所述测试请求对应的测试指令,进而完成测试工作。该技术方案能够大大节省测试人员的测试工作量,提高测试工作的执行效率,同时还能够有效保障测试的准确率。Considering the above-mentioned defects, in this embodiment, a test method is proposed. The method stores the test instructions in an orderly manner, names them with a simple and easy-to-understand naming method, and parses the test request to obtain the corresponding test instructions. The test request corresponds to the test instruction, and then the test work is completed. The technical solution can greatly save the test workload of the testers, improve the execution efficiency of the test work, and at the same time can effectively guarantee the test accuracy.
在本实施例的一个可选实现方式中,所述测试请求中至少携带有测试应用描述信息,其还可携带有测试请求方识别信息、测试要求信息等信息。其中,所述测试应用描述信息用于描述测试应用信息,比如测试应用场景信息等等,所述测试请求方识别信息用于对于测试请求方进行唯一性标识,所述测试要求信息比如可以为测试时间要求信息、测试时长要求信息、测试结果返回时间要求信息、测试条件要求信息、测试结果返回格式要求信息等等。In an optional implementation manner of this embodiment, the test request carries at least test application description information, and may also carry information such as test requester identification information, test requirement information, and the like. The test application description information is used to describe test application information, such as test application scenario information, etc., the test requester identification information is used to uniquely identify the test requester, and the test request information can be, for example, the test Time requirement information, test duration requirement information, test result return time requirement information, test condition requirement information, test result return format requirement information, etc.
通常所述测试应用描述信息包括多种应用分段信息,例如,若所述测试应用描述信息为测试应用场景信息,则所述测试应用场景信息中可能包括能够组成所述测试应用场景的多个应用场景环节,比如,若所述测试应用场景信息为用户下单的测试应用场景,则该测试应用场景就包括用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单等多个订单处理环节。因此,为了提高测试指令的应用灵活性,在该实现方式中,为每一应用环节均配置有相应的测试指令,同时在接收到测试应用描述信息之后,对其进行拆分,获得所述测试应用描述信息中包括的多个应用分段信息,即测试应用描述子信息,然后再根据测试应用描述子信息确定与其对应的测试指令,最后将与每个测试应用描述子信息对应的测试指令组合起来,得到与所述测试请求对应的测试指令集,执行所述测试指令集即可得到最终的测试结果。Usually, the test application description information includes a variety of application segmentation information. For example, if the test application description information is test application scene information, the test application scene information may include multiple pieces of information that can form the test application scene. The application scenario link, for example, if the test application scenario information is a test application scenario where the user places an order, the test application scenario includes the user generating a new order, the merchant processing the order, the delivery resource delivery order, the user receiving the order and the goods completing the order, etc. Multiple order processing steps. Therefore, in order to improve the application flexibility of the test instruction, in this implementation manner, each application link is configured with a corresponding test instruction, and after receiving the test application description information, it is split to obtain the test The multiple application segment information included in the application description information is the test application description sub-information, and then the corresponding test instructions are determined according to the test application description sub-information, and finally the test instructions corresponding to each test application description sub-information are combined. Then, a test instruction set corresponding to the test request is obtained, and the final test result can be obtained by executing the test instruction set.
在本实施例的一个可选实现方式中,所述测试指令指的是能够被执行或运行,并在执行和运行后能够得到一定的测试结果的指令,比如,所述测试指令可以为测试代码。In an optional implementation of this embodiment, the test instruction refers to an instruction that can be executed or run, and can obtain a certain test result after being executed and run. For example, the test instruction may be a test code .
在本实施例的一个可选实现方式中,如图2所示,所述步骤S101,即响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息,包括以下步骤S201-S202:In an optional implementation manner of this embodiment, as shown in FIG. 2 , the step S101 is to describe the test application in response to receiving the test request sent by the test requester and carrying at least the test application description information. The information is split to obtain test application descriptor information, including the following steps S201-S202:
在步骤S201中,响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,获取测试应用描述信息,并获取预设单位的测试主体对象行为特征;In step S201, in response to receiving the test request sent by the test requester and carrying at least the test application description information, obtain the test application description information, and obtain the behavior characteristics of the test subject object of the preset unit;
在步骤S202中,对所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。In step S202, the test application description information is split according to the behavior characteristics of the test subject object of the preset unit, and the test application description sub-information corresponding to the behavior characteristics of the test subject object of the preset unit is obtained.
为了获取更准确的测试指令,在该实施方式中,需要首先对于所述测试应用描述信息进行拆分,得到测试应用描述子信息,后续再根据拆分得到的测试应用描述子信息获取对应的测试指令。具体地,在接收到测试请求方发送的至少携带有测试应用描述信息的测试请求后,获取其中的测试应用描述信息,并基于所述测试应用描述信息获取其中的预设单位的测试主体对象行为特征;然后对于所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。In order to obtain more accurate test instructions, in this embodiment, it is necessary to first split the test application description information to obtain the test application descriptor information, and then obtain the corresponding test according to the split test application descriptor information. instruction. Specifically, after receiving the test request sent by the test requester and carrying at least the test application description information, the test application description information therein is obtained, and the behavior of the test subject object of the preset unit is obtained based on the test application description information. Then, the test application description information is divided according to the behavior characteristics of the test subject object of the preset unit, and the test application description sub-information corresponding to the behavior characteristics of the test subject object of the preset unit is obtained.
在本实施例的一个可选实现方式中,所述测试主体对象行为特征指的是能够表征测试主体对象行为特点的特征信息,所述预设单位的测试主体对象行为特征指的是最小、不可拆分的测试主体对象行为特征。比如,对于用户下单的测试应用场景来说,该测试应用场景中包括用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单等多个订单处理环节,相应的,对应存在用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品等测试主体对象行为特征,根据上述测试主体对象行为特征信息,即可将用户下单的测试应用场景拆分为与所述测试主体对象行为特征信息对应的多个测试应用子场景,也可以将所述测试应用描述信息拆分为与所述测试主体对象行为特征信息对应的测试应用描述子信息。In an optional implementation of this embodiment, the behavioral characteristics of the test subject refer to feature information that can characterize the behavioral characteristics of the test subject, and the behavioral characteristics of the test subject in the preset unit refer to the minimum, impossible Split test subject object behavior characteristics. For example, for the test application scenario where the user places an order, the test application scenario includes multiple order processing links, such as the user generating a new order, the merchant processing the order, the distribution resource delivery order, and the user receiving the order product to complete the order. Correspondingly, the corresponding There are behavioral characteristics of test subjects such as users generating new orders, merchants processing orders, distribution resource delivery orders, and users receiving order goods. multiple test application sub-scenarios corresponding to the test subject object behavior feature information, or the test application description information may be split into test application descriptor sub-information corresponding to the test subject object behavior feature information.
在本实施例的一个可选实现方式中,如图3所示,所述步骤S102,即根据所述测试应用描述子信息确定与其对应的测试指令,包括以下步骤S301-S303:In an optional implementation manner of this embodiment, as shown in FIG. 3 , the step S102, that is, determining the corresponding test instruction according to the test application description sub-information, includes the following steps S301-S303:
在步骤S301中,确定所述测试应用描述子信息的指令索引信息;In step S301, determine the instruction index information of the test application description sub-information;
在步骤S302中,向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;In step S302, a test instruction acquisition request carrying at least the instruction index information is sent to the test instruction database, so that the test instruction database searches for the test instruction corresponding to the instruction index information according to the instruction index information;
在步骤S303中,接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。In step S303, a test instruction corresponding to the instruction index information sent by the test instruction database is received.
为了准确获取与所述测试应用描述子信息对应的测试指令,在该实施方式中,为与最小单位的测试主体对象行为特征对应的测试指令使用简单易懂的命名方式对其进行命名,然后将其有序存放在测试指令数据库中,接着确定所述测试应用描述子信息的指令索引信息,向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;然后接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。In order to accurately obtain the test instructions corresponding to the test application descriptor information, in this embodiment, the test instructions corresponding to the behavioral characteristics of the test subject object of the smallest unit are named in a simple and easy-to-understand naming manner, and then the It is stored in the test instruction database in an orderly manner, and then the instruction index information of the test application description sub-information is determined, and a test instruction acquisition request carrying at least the instruction index information is sent to the test instruction database, so that the test instruction database Search for the test instruction corresponding to the instruction index information according to the instruction index information; and then receive the test instruction corresponding to the instruction index information sent by the test instruction database.
在本实施例的一个可选实现方式中,使用能够表征测试指令的测试行为、测试内容、测试目的或者测试效果的自然语言来对所述测试指令进行命名,比如,对于能够实现配送资源配送订单的测试指令,其名称可以设置为“订单配送”,这样就可以直接从测试指令的名称上了解该测试指令的测试行为、测试内容、测试目的或者测试效果,同时也方便测试人员根据测试目的和测试应用描述信息来查找需要的测试指令,从而在增强测试指令可读性的情况下,还能够提高测试指令的获取效率,进而提高测试效率。In an optional implementation of this embodiment, the test instructions are named using a natural language that can characterize the test behavior, test content, test purpose, or test effect of the test instructions. The name of the test instruction can be set to "order delivery", so that the test behavior, test content, test purpose or test effect of the test instruction can be directly understood from the name of the test instruction, and it is also convenient for the tester to determine the test purpose and test effect. The test application description information is used to find the required test instructions, so that in the case of enhancing the readability of the test instructions, the acquisition efficiency of the test instructions can also be improved, thereby improving the test efficiency.
在本实施例的一个可选实现方式中,所述测试指令被有序存放在用于存储测试指令的测试指令数据库中,比如,所述测试指令可以按照对应测试主体对象行为特征发生的先后顺序进行存放,这样在后续根据测试应用描述子信息查找测试指令时,由于测试应用描述子信息也是根据对应的测试主体对象行为特征发生的先后顺序产生的,因此能够更快地找到与所述测试应用描述子信息对应的测试指令,进一步提高测试指令的获取效率和测试效率。In an optional implementation manner of this embodiment, the test instructions are stored in an orderly manner in a test instruction database for storing test instructions. For example, the test instructions may be in the order in which the behavioral characteristics of the corresponding test subject object occur. Store it, so that when the test instruction is subsequently searched according to the test application descriptor information, since the test application descriptor information is also generated according to the order in which the behavior characteristics of the corresponding test subject object occur, the test application can be found more quickly. The test instructions corresponding to the sub-information are described to further improve the acquisition efficiency and test efficiency of the test instructions.
由于所述测试指令使用能够表征测试指令的测试行为、测试内容、测试目的或者测试效果的自然语言命名,并且按照对应测试主体对象行为特征发生的先后顺序进行存放,因此,在该实现方式中,当需要根据所述测试应用描述子信息确定与其对应的测试指令时,首先确定所述测试应用描述子信息的指令索引信息,然后向存放有测试指令的测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;然后接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。Since the test instructions are named in a natural language that can characterize the test behavior, test content, test purpose or test effect of the test instructions, and are stored in the order in which the behavioral characteristics of the corresponding test subject object occur, therefore, in this implementation, When it is necessary to determine the corresponding test instruction according to the test application descriptor information, first determine the instruction index information of the test application descriptor information, and then send at least the instruction index to the test instruction database storing the test instruction. A test instruction acquisition request for information, so that the test instruction database searches for the test instruction corresponding to the instruction index information according to the instruction index information; and then receives the test instruction corresponding to the instruction index information sent by the test instruction database. instruction.
在本实施例的一个可选实现方式中,所述测试应用描述子信息的指令索引信息为所述测试应用描述子信息对应的关键词。比如,若所述测试应用描述子信息为“配送资源配送订单”,则其对应的关键词可设置为“订单配送”。In an optional implementation manner of this embodiment, the instruction index information of the test application description sub-information is a keyword corresponding to the test application description sub-information. For example, if the test application descriptor information is "delivery resource delivery order", the corresponding keyword may be set to "order delivery".
为了提高关键词的信息量,增强测试应用描述子信息与测试指令之间的匹配度,可使用关键词提取工具提取得到所述测试应用描述子信息的关键词信息。In order to increase the amount of keyword information and enhance the matching degree between the test application descriptor information and the test instruction, a keyword extraction tool can be used to extract the keyword information of the test application descriptor information.
在本实施例的一个可选实现方式中,如图4所示,所述步骤S103,即组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果,包括以下步骤S401-S403:In an optional implementation manner of this embodiment, as shown in FIG. 4 , the step S103 is to combine the test instructions to obtain a test instruction set corresponding to the test request, and execute the test instruction set to obtain a test As a result, the following steps S401-S403 are included:
在步骤S401中,确定所述测试应用描述子信息的执行顺序;In step S401, determine the execution order of the test application description sub-information;
在步骤S402中,根据所述测试应用描述子信息的执行顺序组合与所述测试应用描述子信息对应的测试指令,得到与所述测试请求对应的测试指令集;In step S402, combining the test instructions corresponding to the test application descriptor information according to the execution order of the test application descriptor information to obtain a test instruction set corresponding to the test request;
在步骤S403中,执行所述测试指令集得到测试结果。In step S403, the test instruction set is executed to obtain a test result.
在获取得到与所述测试应用描述子信息对应的测试指令之后,为了获取与所述测试请求精确对应的测试指令集,在该实施方式中,根据所述测试应用描述子信息的执行顺序来相应组合与所述测试应用描述子信息对应的测试指令,进而得到与所述测试请求对应的测试指令集。其中,所述测试应用描述子信息的执行顺序指的是与所述测试应用描述子信息相关的测试主体对象行为特征的执行顺序,比如,若所述测试应用描述子信息分别为配送资源配送订单、商户处理订单、用户生成新订单、用户接收订单商品完成订单,与所述测试应用描述子信息相关的测试主体对象行为特征的执行顺序为用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单,则按照上述测试主体对象行为特征的执行顺序来组合与所述测试应用描述子信息对应的测试指令。After obtaining the test instruction corresponding to the test application description sub-information, in order to obtain the test instruction set exactly corresponding to the test request, in this embodiment, the corresponding test instruction is executed according to the execution order of the test application description sub-information. The test instructions corresponding to the test application description sub-information are combined to obtain a test instruction set corresponding to the test request. The execution sequence of the test application descriptor information refers to the execution sequence of the behavioral characteristics of the test subject object related to the test application descriptor information. For example, if the test application descriptor information is a distribution resource distribution order, respectively , the merchant processes the order, the user generates a new order, the user receives the order product and completes the order, and the execution sequence of the behavioral characteristics of the test subject object related to the test application descriptor information is for the user to generate a new order, the merchant processes the order, the delivery resource delivery order, After the user receives the ordered product and completes the order, the test instruction corresponding to the test application description sub-information is combined according to the execution order of the behavioral characteristics of the test subject object.
在本实施例的一个可选实现方式中,所述方法还包括显示所述测试结果的步骤,即如图5所示,所述测试方法包括以下步骤S501-S504:In an optional implementation manner of this embodiment, the method further includes the step of displaying the test result, that is, as shown in FIG. 5 , the test method includes the following steps S501-S504:
在步骤S501中,响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;In step S501, in response to receiving the test request sent by the test requester and carrying at least the test application description information, split the test application description information to obtain test application description sub-information;
在步骤S502中,根据所述测试应用描述子信息确定与其对应的测试指令;In step S502, determine the corresponding test instruction according to the test application description sub-information;
在步骤S503中,组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果;In step S503, combine the test instructions to obtain a test instruction set corresponding to the test request, and execute the test instruction set to obtain a test result;
在步骤S504中,显示所述测试结果。In step S504, the test result is displayed.
为了能够让测试人员及时了解测试结果,在该实施方式中,在得到测试结果之后,还对于所述测试结果进行显示。In order to enable the tester to know the test result in time, in this embodiment, after the test result is obtained, the test result is also displayed.
在本实施例的一个可选实现方式中,所述方法还包括显示与所述测试请求对应的测试提示图像的步骤,其中,所述测试提示图像用于对于测试结果进行提示,即如图6所示,所述测试方法包括以下步骤S601-S605:In an optional implementation of this embodiment, the method further includes the step of displaying a test prompt image corresponding to the test request, wherein the test prompt image is used to prompt the test result, as shown in FIG. 6 As shown, the test method includes the following steps S601-S605:
在步骤S601中,响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;In step S601, in response to receiving the test request sent by the test requester and carrying at least the test application description information, split the test application description information to obtain test application description sub-information;
在步骤S602中,根据所述测试应用描述子信息确定与其对应的测试指令;In step S602, the corresponding test instruction is determined according to the test application description sub-information;
在步骤S603中,组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果;In step S603, combine the test instructions to obtain a test instruction set corresponding to the test request, and execute the test instruction set to obtain a test result;
在步骤S604中,显示所述测试结果;In step S604, displaying the test result;
在步骤S605中,显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。In step S605, a test prompt image corresponding to the test request is displayed, wherein the test prompt image is used to prompt the test result.
为了能够让测试人员更为直观地了解测试结果,在该实施方式中,除了显示所述测试结果之后或者显示所述测试结果,还显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。In order to allow the tester to understand the test result more intuitively, in this embodiment, in addition to displaying the test result or displaying the test result, a test prompt image corresponding to the test request is also displayed, wherein the The test prompt image is used to prompt the test result.
在本实施例的一个可选实现方式中,如图7所示,所述步骤S605,即显示与所述测试请求对应的测试提示图像,包括以下步骤S701-S702:In an optional implementation manner of this embodiment, as shown in FIG. 7 , the step S605, that is, displaying a test prompt image corresponding to the test request, includes the following steps S701-S702:
在步骤S701中,获取与所述测试指令对应的提示图像信息;In step S701, obtain prompt image information corresponding to the test instruction;
在步骤S702中,根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,得到并显示与所述测试请求对应的测试提示图像。In step S702, the prompt image information is combined according to the execution order of the test application description sub-information to obtain and display a test prompt image corresponding to the test request.
在该实现方式中,为了获取与所述测试请求对应的测试提示图像并显示出来,首先获取与所述测试指令对应的提示图像信息,其中,与所述测试指令对应的提示图像信息可在生成所述测试指令时设置或生成,并与所述测试指令一并对应存放在所述测试指令数据库中;然后与测试指令的组合方式一样,根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,最终得到并显示与所述测试请求对应的测试提示图像。In this implementation, in order to obtain and display the test prompt image corresponding to the test request, first obtain the prompt image information corresponding to the test instruction, wherein the prompt image information corresponding to the test instruction can be generated in the The test instructions are set or generated, and are stored in the test instruction database together with the test instructions; then the combination of the test instructions is the same as the combination of the test instructions, according to the execution order of the test application description sub-information. prompt image information, and finally obtain and display the test prompt image corresponding to the test request.
下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure.
图8示出根据本公开一实施方式的测试装置的结构框图,该装置可以通过软件、硬件或者两者的结合实现成为电子设备的部分或者全部,可实现为服务器端。如图8所示,所述测试装置包括:8 shows a structural block diagram of a testing apparatus according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device through software, hardware, or a combination of the two, and may be implemented as a server side. As shown in Figure 8, the test device includes:
拆分模块801,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;The
确定模块802,被配置为根据所述测试应用描述子信息确定与其对应的测试指令;A
执行模块803,被配置为组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果。The
上文提及,随着互联网技术的发展,越来越多的商家或者服务提供商通过互联网应用来为用户提供服务,为了提高服务质量,需要经常对于互联网应用所提供的服务内容进行测试,以及时发现互联网应用中可能存在的问题,进而及时解决,保障互联网应用的正常运转。但现有技术中,测试代码通常无序存放,而且命名较为抽象难懂,测试人员难以在短时间内确定测试代码所能执行的测试内容,尤其对于较为复杂的测试场景来说,寻找、组合测试代码更是花费了测试人员较多的时间,从而导致人力成本浪费,测试效率降低。As mentioned above, with the development of Internet technology, more and more businesses or service providers provide services to users through Internet applications. In order to improve service quality, it is necessary to frequently test the service content provided by Internet applications to ensure Timely discover possible problems in Internet applications, and then solve them in time to ensure the normal operation of Internet applications. However, in the prior art, test codes are usually stored out of order, and the names are abstract and difficult to understand. It is difficult for testers to determine the test content that can be executed by the test code in a short period of time, especially for more complex test scenarios. Testing code takes more time for testers, resulting in wasted labor costs and reduced testing efficiency.
考虑到上述缺陷,在该实施方式中,提出一种测试装置,该装置通过对于测试指令进行有序存放,使用简单易懂的命名方式对其进行命名,并对测试请求进行解析,以得到与所述测试请求对应的测试指令,进而完成测试工作。该技术方案能够大大节省测试人员的测试工作量,提高测试工作的执行效率,同时还能够有效保障测试的准确率。Considering the above-mentioned defects, in this embodiment, a test device is proposed. The device stores the test instructions in an orderly manner, names them in a simple and easy-to-understand naming manner, and parses the test request to obtain the corresponding test instructions. The test request corresponds to the test instruction, and then the test work is completed. The technical solution can greatly save the test workload of the testers, improve the execution efficiency of the test work, and at the same time can effectively guarantee the test accuracy.
在本实施例的一个可选实现方式中,所述测试请求中至少携带有测试应用描述信息,其还可携带有测试请求方识别信息、测试要求信息等信息。其中,所述测试应用描述信息用于描述测试应用信息,比如测试应用场景信息等等,所述测试请求方识别信息用于对于测试请求方进行唯一性标识,所述测试要求信息比如可以为测试时间要求信息、测试时长要求信息、测试结果返回时间要求信息、测试条件要求信息、测试结果返回格式要求信息等等。In an optional implementation manner of this embodiment, the test request carries at least test application description information, and may also carry information such as test requester identification information, test requirement information, and the like. The test application description information is used to describe test application information, such as test application scenario information, etc., the test requester identification information is used to uniquely identify the test requester, and the test request information can be, for example, the test Time requirement information, test duration requirement information, test result return time requirement information, test condition requirement information, test result return format requirement information, etc.
通常所述测试应用描述信息包括多种应用分段信息,例如,若所述测试应用描述信息为测试应用场景信息,则所述测试应用场景信息中可能包括能够组成所述测试应用场景的多个应用场景环节,比如,若所述测试应用场景信息为用户下单的测试应用场景,则该测试应用场景就包括用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单等多个订单处理环节。因此,为了提高测试指令的应用灵活性,在该实现方式中,为每一应用环节均配置有相应的测试指令,同时在接收到测试应用描述信息之后,对其进行拆分,获得所述测试应用描述信息中包括的多个应用分段信息,即测试应用描述子信息,然后再根据测试应用描述子信息确定与其对应的测试指令,最后将与每个测试应用描述子信息对应的测试指令组合起来,得到与所述测试请求对应的测试指令集,执行所述测试指令集即可得到最终的测试结果。Usually, the test application description information includes a variety of application segmentation information. For example, if the test application description information is test application scene information, the test application scene information may include multiple pieces of information that can form the test application scene. The application scenario link, for example, if the test application scenario information is a test application scenario where the user places an order, the test application scenario includes the user generating a new order, the merchant processing the order, the delivery resource delivery order, the user receiving the order and the goods completing the order, etc. Multiple order processing steps. Therefore, in order to improve the application flexibility of the test instruction, in this implementation manner, each application link is configured with a corresponding test instruction, and after receiving the test application description information, it is split to obtain the test The multiple application segment information included in the application description information is the test application description sub-information, and then the corresponding test instructions are determined according to the test application description sub-information, and finally the test instructions corresponding to each test application description sub-information are combined. Then, a test instruction set corresponding to the test request is obtained, and the final test result can be obtained by executing the test instruction set.
在本实施例的一个可选实现方式中,所述测试指令指的是能够被执行或运行,并在执行和运行后能够得到一定的测试结果的指令,比如,所述测试指令可以为测试代码。In an optional implementation of this embodiment, the test instruction refers to an instruction that can be executed or run, and can obtain a certain test result after being executed and run. For example, the test instruction may be a test code .
在本实施例的一个可选实现方式中,如图9所示,所述拆分模块801包括:In an optional implementation manner of this embodiment, as shown in FIG. 9 , the
第一获取子模块901,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,获取测试应用描述信息,并获取预设单位的测试主体对象行为特征;The
拆分子模块902,被配置为对所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。The splitting
为了获取更准确的测试指令,在该实施方式中,需要首先对于所述测试应用描述信息进行拆分,得到测试应用描述子信息,后续再根据拆分得到的测试应用描述子信息获取对应的测试指令。具体地,在接收到测试请求方发送的至少携带有测试应用描述信息的测试请求后,第一获取子模块901获取其中的测试应用描述信息,并基于所述测试应用描述信息获取其中的预设单位的测试主体对象行为特征;拆分子模块902对于所述测试应用描述信息根据所述预设单位的测试主体对象行为特征进行拆分,得到与所述预设单位的测试主体对象行为特征对应的测试应用描述子信息。In order to obtain more accurate test instructions, in this embodiment, it is necessary to first split the test application description information to obtain the test application descriptor information, and then obtain the corresponding test according to the split test application descriptor information. instruction. Specifically, after receiving the test request sent by the test requester that carries at least the description information of the test application, the first obtaining
在本实施例的一个可选实现方式中,所述测试主体对象行为特征指的是能够表征测试主体对象行为特点的特征信息,所述预设单位的测试主体对象行为特征指的是最小、不可拆分的测试主体对象行为特征。比如,对于用户下单的测试应用场景来说,该测试应用场景中包括用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单等多个订单处理环节,相应的,对应存在用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品等测试主体对象行为特征,根据上述测试主体对象行为特征信息,即可将用户下单的测试应用场景拆分为与所述测试主体对象行为特征信息对应的多个测试应用子场景,也可以将所述测试应用描述信息拆分为与所述测试主体对象行为特征信息对应的测试应用描述子信息。In an optional implementation of this embodiment, the behavioral characteristics of the test subject refer to feature information that can characterize the behavioral characteristics of the test subject, and the behavioral characteristics of the test subject in the preset unit refer to the minimum, impossible Split test subject object behavior characteristics. For example, for the test application scenario where the user places an order, the test application scenario includes multiple order processing links, such as the user generating a new order, the merchant processing the order, the distribution resource delivery order, and the user receiving the order product to complete the order. Correspondingly, the corresponding There are behavioral characteristics of test subjects such as users generating new orders, merchants processing orders, distribution resource delivery orders, and users receiving order goods. multiple test application sub-scenarios corresponding to the test subject object behavior feature information, or the test application description information may be split into test application descriptor sub-information corresponding to the test subject object behavior feature information.
在本实施例的一个可选实现方式中,如图10所示,所述确定模块802包括:In an optional implementation manner of this embodiment, as shown in FIG. 10 , the determining
第一确定子模块1001,被配置为确定所述测试应用描述子信息的指令索引信息;The
发送子模块1002,被配置为向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;The sending
接收子模块1003,被配置为接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。The receiving sub-module 1003 is configured to receive a test instruction corresponding to the instruction index information sent by the test instruction database.
为了准确获取与所述测试应用描述子信息对应的测试指令,在该实施方式中,为与最小单位的测试主体对象行为特征对应的测试指令使用简单易懂的命名方式对其进行命名,然后将其有序存放在测试指令数据库中,接着确定所述测试应用描述子信息的指令索引信息,向测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;然后接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。In order to accurately obtain the test instructions corresponding to the test application descriptor information, in this embodiment, the test instructions corresponding to the behavioral characteristics of the test subject object of the smallest unit are named in a simple and easy-to-understand naming manner, and then the It is stored in the test instruction database in an orderly manner, and then the instruction index information of the test application description sub-information is determined, and a test instruction acquisition request carrying at least the instruction index information is sent to the test instruction database, so that the test instruction database Search for the test instruction corresponding to the instruction index information according to the instruction index information; and then receive the test instruction corresponding to the instruction index information sent by the test instruction database.
在本实施例的一个可选实现方式中,使用能够表征测试指令的测试行为、测试内容、测试目的或者测试效果的自然语言来对所述测试指令进行命名,比如,对于能够实现配送资源配送订单的测试指令,其名称可以设置为“订单配送”,这样就可以直接从测试指令的名称上了解该测试指令的测试行为、测试内容、测试目的或者测试效果,同时也方便测试人员根据测试目的和测试应用描述信息来查找需要的测试指令,从而在增强测试指令可读性的情况下,还能够提高测试指令的获取效率,进而提高测试效率。In an optional implementation of this embodiment, the test instructions are named using a natural language that can characterize the test behavior, test content, test purpose, or test effect of the test instructions. The name of the test instruction can be set to "order delivery", so that the test behavior, test content, test purpose or test effect of the test instruction can be directly understood from the name of the test instruction, and it is also convenient for the tester to determine the test purpose and test effect. The test application description information is used to find the required test instructions, so that in the case of enhancing the readability of the test instructions, the acquisition efficiency of the test instructions can also be improved, thereby improving the test efficiency.
在本实施例的一个可选实现方式中,所述测试指令被有序存放在用于存储测试指令的测试指令数据库中,比如,所述测试指令可以按照对应测试主体对象行为特征发生的先后顺序进行存放,这样在后续根据测试应用描述子信息查找测试指令时,由于测试应用描述子信息也是根据对应的测试主体对象行为特征发生的先后顺序产生的,因此能够更快地找到与所述测试应用描述子信息对应的测试指令,进一步提高测试指令的获取效率和测试效率。In an optional implementation manner of this embodiment, the test instructions are stored in an orderly manner in a test instruction database for storing test instructions. For example, the test instructions may be in the order in which the behavioral characteristics of the corresponding test subject object occur. Store it, so that when the test instruction is subsequently searched according to the test application descriptor information, since the test application descriptor information is also generated according to the order in which the behavior characteristics of the corresponding test subject object occur, the test application can be found more quickly. The test instructions corresponding to the sub-information are described to further improve the acquisition efficiency and test efficiency of the test instructions.
由于所述测试指令使用能够表征测试指令的测试行为、测试内容、测试目的或者测试效果的自然语言命名,并且按照对应测试主体对象行为特征发生的先后顺序进行存放,因此,在该实现方式中,当需要根据所述测试应用描述子信息确定与其对应的测试指令时,首先确定所述测试应用描述子信息的指令索引信息,然后向存放有测试指令的测试指令数据库发送至少携带有所述指令索引信息的测试指令获取请求,以使所述测试指令数据库根据所述指令索引信息查找与所述指令索引信息对应的测试指令;然后接收所述测试指令数据库发送的与所述指令索引信息对应的测试指令。Since the test instructions are named in a natural language that can characterize the test behavior, test content, test purpose or test effect of the test instructions, and are stored in the order in which the behavioral characteristics of the corresponding test subject object occur, therefore, in this implementation, When it is necessary to determine the corresponding test instruction according to the test application descriptor information, first determine the instruction index information of the test application descriptor information, and then send at least the instruction index to the test instruction database storing the test instruction. A test instruction acquisition request for information, so that the test instruction database searches for the test instruction corresponding to the instruction index information according to the instruction index information; and then receives the test instruction corresponding to the instruction index information sent by the test instruction database. instruction.
在本实施例的一个可选实现方式中,所述测试应用描述子信息的指令索引信息为所述测试应用描述子信息对应的关键词。比如,若所述测试应用描述子信息为“配送资源配送订单”,则其对应的关键词可设置为“订单配送”。In an optional implementation manner of this embodiment, the instruction index information of the test application description sub-information is a keyword corresponding to the test application description sub-information. For example, if the test application descriptor information is "delivery resource delivery order", the corresponding keyword may be set to "order delivery".
为了提高关键词的信息量,增强测试应用描述子信息与测试指令之间的匹配度,可使用关键词提取工具提取得到所述测试应用描述子信息的关键词信息。In order to increase the amount of keyword information and enhance the matching degree between the test application descriptor information and the test instruction, a keyword extraction tool can be used to extract the keyword information of the test application descriptor information.
在本实施例的一个可选实现方式中,如图11所示,所述执行模块803包括:In an optional implementation manner of this embodiment, as shown in FIG. 11 , the
第二确定子模块1101,被配置为确定所述测试应用描述子信息的执行顺序;The
组合子模块1102,被配置为根据所述测试应用描述子信息的执行顺序组合与所述测试应用描述子信息对应的测试指令,得到与所述测试请求对应的测试指令集;The combining
执行子模块1103,被配置为执行所述测试指令集得到测试结果。The
在获取得到与所述测试应用描述子信息对应的测试指令之后,为了获取与所述测试请求精确对应的测试指令集,在该实施方式中,根据所述测试应用描述子信息的执行顺序来相应组合与所述测试应用描述子信息对应的测试指令,进而得到与所述测试请求对应的测试指令集。其中,所述测试应用描述子信息的执行顺序指的是与所述测试应用描述子信息相关的测试主体对象行为特征的执行顺序,比如,若所述测试应用描述子信息分别为配送资源配送订单、商户处理订单、用户生成新订单、用户接收订单商品完成订单,与所述测试应用描述子信息相关的测试主体对象行为特征的执行顺序为用户生成新订单、商户处理订单、配送资源配送订单、用户接收订单商品完成订单,则按照上述测试主体对象行为特征的执行顺序来组合与所述测试应用描述子信息对应的测试指令。After obtaining the test instruction corresponding to the test application description sub-information, in order to obtain the test instruction set exactly corresponding to the test request, in this embodiment, the corresponding test instruction is executed according to the execution order of the test application description sub-information. The test instructions corresponding to the test application description sub-information are combined to obtain a test instruction set corresponding to the test request. The execution sequence of the test application descriptor information refers to the execution sequence of the behavioral characteristics of the test subject object related to the test application descriptor information. For example, if the test application descriptor information is a distribution resource distribution order, respectively , the merchant processes the order, the user generates a new order, the user receives the order product and completes the order, and the execution sequence of the behavioral characteristics of the test subject object related to the test application descriptor information is for the user to generate a new order, the merchant processes the order, the delivery resource delivery order, After the user receives the ordered product and completes the order, the test instruction corresponding to the test application description sub-information is combined according to the execution order of the behavioral characteristics of the test subject object.
在本实施例的一个可选实现方式中,所述装置还包括显示所述测试结果的部分,即如图12所示,所述测试装置包括:In an optional implementation manner of this embodiment, the device further includes a part for displaying the test result, that is, as shown in FIG. 12 , the test device includes:
拆分模块1201,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;The
确定模块1202,被配置为根据所述测试应用描述子信息确定与其对应的测试指令;A
执行模块1203,被配置为组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果;The
第一显示模块1204,被配置为显示所述测试结果。The
为了能够让测试人员及时了解测试结果,在该实施方式中,在得到测试结果之后,还设置有第一显示模块1204对于所述测试结果进行显示。In order to allow the tester to know the test result in time, in this embodiment, after the test result is obtained, a
在本实施例的一个可选实现方式中,所述装置还包括显示与所述测试请求对应的测试提示图像的部分,其中,所述测试提示图像用于对于测试结果进行提示,即如图13所示,所述测试装置包括:In an optional implementation manner of this embodiment, the apparatus further includes a part for displaying a test prompt image corresponding to the test request, where the test prompt image is used to prompt the test result, as shown in FIG. 13 As shown, the test device includes:
拆分模块1301,被配置为响应于接收到测试请求方发送的至少携带有测试应用描述信息的测试请求,对所述测试应用描述信息进行拆分,得到测试应用描述子信息;The
确定模块1302,被配置为根据所述测试应用描述子信息确定与其对应的测试指令;A
执行模块1303,被配置为组合所述测试指令,得到与所述测试请求对应的测试指令集,执行所述测试指令集得到测试结果;The
第一显示模块1304,被配置为显示所述测试结果;a
第二显示模块1305,被配置为显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。The
为了能够让测试人员更为直观地了解测试结果,在该实施方式中,除了第一显示模块1304显示所述测试结果之后或者显示所述测试结果之外,还设置第二显示模块1305显示与所述测试请求对应的测试提示图像,其中,所述测试提示图像用于对于测试结果进行提示。In order to allow the testers to understand the test results more intuitively, in this embodiment, in addition to the
在本实施例的一个可选实现方式中,如图14所示,所述第二显示模块1305包括:In an optional implementation manner of this embodiment, as shown in FIG. 14 , the
第二获取子模块1401,被配置为获取与所述测试指令对应的提示图像信息;The
显示子模块1402,被配置为根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,得到并显示与所述测试请求对应的测试提示图像。The
在该实现方式中,为了获取与所述测试请求对应的测试提示图像并显示出来,第二获取子模块1401获取与所述测试指令对应的提示图像信息,其中,与所述测试指令对应的提示图像信息可在生成所述测试指令时设置或生成,并与所述测试指令一并对应存放在所述测试指令数据库中;与测试指令的组合方式一样,显示子模块1402根据所述测试应用描述子信息的执行顺序组合所述提示图像信息,最终得到并显示与所述测试请求对应的测试提示图像。In this implementation, in order to acquire and display the test prompt image corresponding to the test request, the
本公开还公开了一种电子设备,图15示出根据本公开一实施方式的电子设备的结构框图,如图15所示,所述电子设备1500包括存储器1501和处理器1502;其中,The present disclosure also discloses an electronic device. FIG. 15 shows a structural block diagram of the electronic device according to an embodiment of the present disclosure. As shown in FIG. 15 , the
所述存储器1501用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器1502执行以实现上述方法步骤。The
图16适于用来实现根据本公开实施方式的测试方法的计算机系统的结构示意图。FIG. 16 is a schematic structural diagram of a computer system suitable for implementing the testing method according to an embodiment of the present disclosure.
如图16所示,计算机系统1600包括中央处理单元(CPU)1601,其可以根据存储在只读存储器(ROM)1602中的程序或者从存储部分1608加载到随机访问存储器(RAM)1603中的程序而执行上述实施方式中的各种处理。在RAM1603中,还存储有系统1600操作所需的各种程序和数据。CPU1601、ROM1602以及RAM1603通过总线1604彼此相连。输入/输出(I/O)接口1605也连接至总线1604。As shown in FIG. 16, a
以下部件连接至I/O接口1605:包括键盘、鼠标等的输入部分1606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1607;包括硬盘等的存储部分1608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1609。通信部分1609经由诸如因特网的网络执行通信处理。驱动器1610也根据需要连接至I/O接口1605。可拆卸介质1611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1610上,以便于从其上读出的计算机程序根据需要被安装入存储部分1608。The following components are connected to the I/O interface 1605: an
特别地,根据本公开的实施方式,上文描述的方法可以被实现为计算机软件程序。例如,本公开的实施方式包括一种计算机程序产品,其包括有形地包含在及其可读介质上的计算机程序,所述计算机程序包含用于执行上述测试方法的程序代码。在这样的实施方式中,该计算机程序可以通过通信部分1609从网络上被下载和安装,和/或从可拆卸介质1611被安装。In particular, according to embodiments of the present disclosure, the methods described above may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a readable medium thereof, the computer program including program code for performing the above-described testing method. In such an embodiment, the computer program may be downloaded and installed from the network via the
附图中的流程图和框图,图示了按照本公开各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the diagram or block diagram may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function. executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施方式中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules involved in the embodiments of the present disclosure can be implemented in software or hardware. The described units or modules may also be provided in the processor, and the names of these units or modules do not constitute a limitation on the units or modules themselves in certain circumstances.
作为另一方面,本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施方式中所述装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本公开的方法。As another aspect, the present disclosure also provides a computer-readable storage medium, and the computer-readable storage medium may be a computer-readable storage medium included in the apparatus described in the foregoing embodiments; A computer-readable storage medium that fits into a device. The computer-readable storage medium stores one or more programs used by one or more processors to perform the methods described in the present disclosure.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910989889.3A CN112685282B (en) | 2019-10-17 | 2019-10-17 | Test method, test device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910989889.3A CN112685282B (en) | 2019-10-17 | 2019-10-17 | Test method, test device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112685282A true CN112685282A (en) | 2021-04-20 |
CN112685282B CN112685282B (en) | 2024-08-23 |
Family
ID=75444628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910989889.3A Active CN112685282B (en) | 2019-10-17 | 2019-10-17 | Test method, test device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112685282B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590491A (en) * | 2021-08-06 | 2021-11-02 | 深圳市共进电子股份有限公司 | Test platform and product test method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130097586A1 (en) * | 2011-10-17 | 2013-04-18 | International Business Machines Corporation | System and Method For Automating Test Automation |
CN103164328A (en) * | 2011-12-12 | 2013-06-19 | 中国移动通信集团陕西有限公司 | Method and device and system for regression testing of service function |
CN107526676A (en) * | 2016-06-20 | 2017-12-29 | 苏宁云商集团股份有限公司 | A kind of cross-system method of testing and device |
CN108255701A (en) * | 2017-06-27 | 2018-07-06 | 平安普惠企业管理有限公司 | Scrnario testing method and mobile terminal |
CN108427642A (en) * | 2018-03-05 | 2018-08-21 | 深圳市买买提信息科技有限公司 | The method and apparatus of components testing in a kind of interface |
-
2019
- 2019-10-17 CN CN201910989889.3A patent/CN112685282B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130097586A1 (en) * | 2011-10-17 | 2013-04-18 | International Business Machines Corporation | System and Method For Automating Test Automation |
CN103164328A (en) * | 2011-12-12 | 2013-06-19 | 中国移动通信集团陕西有限公司 | Method and device and system for regression testing of service function |
CN107526676A (en) * | 2016-06-20 | 2017-12-29 | 苏宁云商集团股份有限公司 | A kind of cross-system method of testing and device |
CN108255701A (en) * | 2017-06-27 | 2018-07-06 | 平安普惠企业管理有限公司 | Scrnario testing method and mobile terminal |
CN108427642A (en) * | 2018-03-05 | 2018-08-21 | 深圳市买买提信息科技有限公司 | The method and apparatus of components testing in a kind of interface |
Non-Patent Citations (1)
Title |
---|
赵欣;刘琳岚;罗海平;樊鑫;: "一种基于UML动态视图的测试场景生成方法", 计算机应用, no. 05, pages 1385 - 1388 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590491A (en) * | 2021-08-06 | 2021-11-02 | 深圳市共进电子股份有限公司 | Test platform and product test method |
CN113590491B (en) * | 2021-08-06 | 2024-03-29 | 深圳市共进电子股份有限公司 | Test platform and product test method |
Also Published As
Publication number | Publication date |
---|---|
CN112685282B (en) | 2024-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102573518B1 (en) | Information processing method and device, electronic device, computer-readable medium and computer program stored in medium | |
CN109241141B (en) | Deep learning training data processing method and device | |
CN111679990B (en) | Test data generation method and device, readable medium and electronic equipment | |
CN110059172B (en) | Method and device for recommending answers based on natural language understanding | |
CN111651363B (en) | Test data acquisition method and device, electronic equipment and medium | |
CN110659206A (en) | Simulation architecture establishing method, device, medium and electronic equipment based on microservice | |
CN108933695B (en) | Method and apparatus for processing information | |
CN111026849B (en) | Data processing method and device | |
CN107229565B (en) | Test method and device | |
CN111859985B (en) | AI customer service model test method and device, electronic equipment and storage medium | |
US10574765B2 (en) | Method, device, and non-transitory computer-readable recording medium | |
CN119065669B (en) | Front-end code template generation method, device and medium based on image detection | |
CN112685282B (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN110955599A (en) | Object creation method, apparatus, electronic device, and computer-readable storage medium | |
CN111026956B (en) | Data list processing method and device, electronic equipment and computer storage medium | |
CN112308074B (en) | Method and device for generating thumbnail | |
CN112712328B (en) | Information processing method, information processing device, electronic equipment and computer readable storage medium | |
CN109086210B (en) | Navigation information method and device for testing navigation application | |
CN110825438B (en) | Method and device for simulating data processing of artificial intelligence chip | |
CN113687881A (en) | Metadata calling method and device, electronic equipment and storage medium | |
CN112685283A (en) | Test verification method and device, electronic equipment and computer readable storage medium | |
CN112685286B (en) | Test object generation method, device, electronic device and computer storage medium | |
CN114968455B (en) | Report generation method and device of application interface and electronic equipment | |
CN112347137A (en) | Data verification method and device and readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |