CN110362294A - Development task executes method, apparatus, electronic equipment and storage medium - Google Patents
Development task executes method, apparatus, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110362294A CN110362294A CN201910448214.8A CN201910448214A CN110362294A CN 110362294 A CN110362294 A CN 110362294A CN 201910448214 A CN201910448214 A CN 201910448214A CN 110362294 A CN110362294 A CN 110362294A
- Authority
- CN
- China
- Prior art keywords
- code
- task
- subtask
- development
- development task
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3604—Analysis of software for verifying properties of programs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
Abstract
本发明提供一种开发任务执行方法、装置、电子设备及存储介质。所述开发任务执行方法能够获取与所述接口文档对应的开发任务中每个子任务的任务标识,并根据每个任务标识,从配置代码库中调取每个子任务的代码,进一步执行调取的每段代码,得到所述开发任务的执行结果,自动获取到代码并执行,能够避免人为编写代码浪费的时间及精力,且可以有效避免编写错误,再根据接收到的接口文档生成测试脚本,以所述测试脚本验证所述执行结果,从而对每段代码进行自动验证,并进一步实现开发任务的自动执行,实现了开发过程优化,不仅节约了人力成本,还能够提高执行效率。
The invention provides a development task execution method, device, electronic equipment and storage medium. The development task execution method can obtain the task identification of each subtask in the development task corresponding to the interface document, and according to each task identification, call the code of each subtask from the configuration code library, and further execute the called For each piece of code, the execution result of the development task is obtained, and the code is automatically obtained and executed, which can avoid the time and energy wasted by man-made code writing, and can effectively avoid writing errors, and then generate test scripts according to the received interface documents, in order to The test script verifies the execution result, thereby automatically verifying each piece of code, and further realizes the automatic execution of the development task, realizes the optimization of the development process, not only saves labor costs, but also improves execution efficiency.
Description
技术领域technical field
本发明涉及开发技术领域,尤其涉及一种开发任务执行方法、装置、电子设备及存储介质。The present invention relates to the technical field of development, in particular to a development task execution method, device, electronic equipment and storage medium.
背景技术Background technique
现有技术方案中,在一项开发任务的执行过程中,项目管理者需要根据开发任务的实际情况,首先基于当前人力,合理安排开发人员进行代码的编写,在代码编写完成后,项目管理者还要继续安排测试人员对编写的代码进行测试,整个过程全部由项目管理者进行人为分配。In the existing technical solutions, during the execution of a development task, the project manager needs to reasonably arrange the developers to write the code based on the actual situation of the development task, first based on the current manpower. After the code is written, the project manager It is also necessary to continue to arrange testers to test the written code, and the entire process is manually assigned by the project manager.
基于上述情况,由于人为干预的过程较多,因此,一旦项目管理者离职或者休假,开发任务将无法顺利进行下去。Based on the above situation, due to the many processes of human intervention, once the project manager leaves or takes a vacation, the development task will not be able to proceed smoothly.
发明内容Contents of the invention
鉴于以上内容,有必要提供一种开发任务执行方法、装置、电子设备及存储介质,能够实现开发过程优化,不仅节约了人力成本,还能够提高执行效率。In view of the above, it is necessary to provide a development task execution method, device, electronic device and storage medium, which can optimize the development process, not only save labor costs, but also improve execution efficiency.
一种开发任务执行方法,所述方法包括:A development task execution method, the method comprising:
当接收到接口文档时,获取与所述接口文档对应的开发任务;When an interface document is received, acquire a development task corresponding to the interface document;
识别所述开发任务中的至少一个子任务;identifying at least one subtask of said development task;
获取所述至少一个子任务中,每个子任务的任务标识;Obtain the task identifier of each subtask in the at least one subtask;
根据每个任务标识,从配置代码库中调取每个子任务的代码;According to each task ID, the code of each subtask is called from the configuration code base;
执行调取的每段代码,得到所述开发任务的执行结果;Execute each piece of code that is called to obtain the execution result of the development task;
解析所述接口文档,生成测试脚本;Parsing the interface document to generate a test script;
以所述测试脚本验证所述执行结果。The execution result is verified by the test script.
根据本发明优选实施例,在根据每个任务标识,从配置代码库中调取每个子任务的代码前,所述方法还包括:According to a preferred embodiment of the present invention, before calling the code of each subtask from the configuration code library according to each task identifier, the method further includes:
每隔预设时间间隔,获取所述预设时间间隔内的历史任务数据;Obtain historical task data within the preset time interval every preset time interval;
从所述历史任务数据中确定所有子任务,及与所述所有子任务对应的所有代码;determining all subtasks and all codes corresponding to all subtasks from the historical task data;
为所述所有子任务配置任务标识;Configure task identifiers for all subtasks;
确定所述任务标识与所述所有代码的对应关系;Determine the corresponding relationship between the task identifier and all the codes;
根据所述对应关系,配置所述配置代码库。Configure the configuration code base according to the corresponding relationship.
根据本发明优选实施例,所述方法还包括:According to a preferred embodiment of the present invention, the method further includes:
当从所述配置代码库中不能调取到所述至少一个子任务中第一子任务对应的代码时,提示指定人员编写所述第一子任务的第一代码;When the code corresponding to the first subtask in the at least one subtask cannot be retrieved from the configuration code library, prompting a designated person to write the first code of the first subtask;
为所述第一子任务配置任务标识;configuring a task identifier for the first subtask;
根据所述任务标识,将所述第一子任务及所述第一代码更新至所述配置代码库。The first subtask and the first code are updated to the configuration code base according to the task identifier.
根据本发明优选实施例,所述执行调取的每段代码,得到所述开发任务的执行结果包括:According to a preferred embodiment of the present invention, the execution of each piece of code that is called to obtain the execution result of the development task includes:
编译每段代码,得到每段代码对应的每个可执行文件;Compile each piece of code to get each executable file corresponding to each piece of code;
根据所述开发任务,部署运行环境;Deploy the operating environment according to the development tasks;
在所述运行环境下执行每个可执行文件,得到所述执行结果。Execute each executable file in the execution environment to obtain the execution result.
根据本发明优选实施例,所述解析所述接口文档,生成测试脚本包括:According to a preferred embodiment of the present invention, said parsing said interface document and generating a test script includes:
从所述接口文档中获取输入项及输出项;Obtain input items and output items from the interface document;
根据所述输入项及所述输出项,生成所述测试脚本。Generate the test script according to the input item and the output item.
根据本发明优选实施例,所述以测试脚本验证执行结果包括:According to a preferred embodiment of the present invention, the verification of the execution result with the test script includes:
将所述执行结果与所述输出项进行比较;comparing said execution result with said output;
当所述执行结果与所述输出项一致时,确定所述执行结果通过验证;When the execution result is consistent with the output item, determining that the execution result passes the verification;
当所述执行结果与所述输出项不一致时,确定所述执行结果未通过验证。When the execution result is inconsistent with the output item, it is determined that the execution result fails the verification.
根据本发明优选实施例,当确定所述执行结果未通过验证时,所述方法还包括:According to a preferred embodiment of the present invention, when it is determined that the execution result fails the verification, the method further includes:
获取所述开发任务的执行日志;Obtain an execution log of the development task;
从所述执行日志中定位异常代码;Locating abnormal codes from the execution log;
从所述配置代码库中获取所述异常代码的开发者;A developer who obtains the exception code from the configuration code library;
向所述开发者发送提示信息。Send prompt information to the developer.
一种开发任务执行装置,所述装置包括:A development task execution device, the device comprising:
获取单元,用于当接收到接口文档时,获取与所述接口文档对应的开发任务;An acquisition unit, configured to acquire a development task corresponding to the interface document when the interface document is received;
识别单元,用于识别所述开发任务中的至少一个子任务;an identifying unit, configured to identify at least one subtask in the development task;
所述获取单元,还用于获取所述至少一个子任务中,每个子任务的任务标识;The acquiring unit is further configured to acquire a task identifier of each subtask in the at least one subtask;
调取单元,用于根据每个任务标识,从配置代码库中调取每个子任务的代码;The calling unit is used to call the code of each subtask from the configuration code base according to the identification of each task;
执行单元,用于执行调取的每段代码,得到所述开发任务的执行结果;an execution unit, configured to execute each piece of code that is called, and obtain the execution result of the development task;
生成单元,用于解析所述接口文档,生成测试脚本;A generating unit, configured to parse the interface document and generate a test script;
验证单元,用于以所述测试脚本验证所述执行结果。A verification unit, configured to verify the execution result with the test script.
根据本发明优选实施例,所述获取单元,还用于在根据每个任务标识,从配置代码库中调取每个子任务的代码前,每隔预设时间间隔,获取所述预设时间间隔内的历史任务数据;According to a preferred embodiment of the present invention, the acquiring unit is further configured to acquire the preset time interval at each preset time interval before calling the code of each subtask from the configuration code library according to each task identifier historical task data in
所述装置还包括:The device also includes:
确定单元,用于从所述历史任务数据中确定所有子任务,及与所述所有子任务对应的所有代码;a determining unit, configured to determine all subtasks and all codes corresponding to all subtasks from the historical task data;
配置单元,用于为所述所有子任务配置任务标识;A configuration unit, configured to configure task identifiers for all subtasks;
所述确定单元,还用于确定所述任务标识与所述所有代码的对应关系;The determining unit is further configured to determine the correspondence between the task identifier and all the codes;
所述配置单元,还用于根据所述对应关系,配置所述配置代码库。The configuration unit is further configured to configure the configuration code base according to the correspondence.
根据本发明优选实施例,所述装置还包括:According to a preferred embodiment of the present invention, the device further includes:
提示单元,用于当从所述配置代码库中不能调取到所述至少一个子任务中第一子任务对应的代码时,提示指定人员编写所述第一子任务的第一代码;A prompting unit, configured to prompt a designated person to write the first code of the first subtask when the code corresponding to the first subtask of the at least one subtask cannot be retrieved from the configuration code library;
所述配置单元,还用于为所述第一子任务配置任务标识;The configuration unit is further configured to configure a task identifier for the first subtask;
更新单元,用于根据所述任务标识,将所述第一子任务及所述第一代码更新至所述配置代码库。An updating unit, configured to update the first subtask and the first code to the configuration code base according to the task identifier.
根据本发明优选实施例,所述执行单元执行调取的每段代码,得到所述开发任务的执行结果包括:According to a preferred embodiment of the present invention, the execution unit executes each piece of code that is called, and the execution result of the development task obtained includes:
编译每段代码,得到每段代码对应的每个可执行文件;Compile each piece of code to get each executable file corresponding to each piece of code;
根据所述开发任务,部署运行环境;Deploy the operating environment according to the development tasks;
在所述运行环境下执行每个可执行文件,得到所述执行结果。Execute each executable file in the execution environment to obtain the execution result.
根据本发明优选实施例,所述生成单元具体用于:According to a preferred embodiment of the present invention, the generating unit is specifically used for:
从所述接口文档中获取输入项及输出项;Obtain input items and output items from the interface document;
根据所述输入项及所述输出项,生成所述测试脚本。Generate the test script according to the input item and the output item.
根据本发明优选实施例,所述验证单元具体用于:According to a preferred embodiment of the present invention, the verification unit is specifically used for:
将所述执行结果与所述输出项进行比较;comparing said execution result with said output;
当所述执行结果与所述输出项一致时,确定所述执行结果通过验证;When the execution result is consistent with the output item, determining that the execution result passes the verification;
当所述执行结果与所述输出项不一致时,确定所述执行结果未通过验证。When the execution result is inconsistent with the output item, it is determined that the execution result fails the verification.
根据本发明优选实施例,所述获取单元,还用于当确定所述执行结果未通过验证时,获取所述开发任务的执行日志;According to a preferred embodiment of the present invention, the obtaining unit is further configured to obtain the execution log of the development task when it is determined that the execution result fails the verification;
所述装置还包括:The device also includes:
定位单元,用于从所述执行日志中定位异常代码;a locating unit, configured to locate the abnormal code from the execution log;
所述获取单元,还用于从所述配置代码库中获取所述异常代码的开发者;The obtaining unit is also used to obtain the developer of the abnormal code from the configuration code library;
发送单元,用于向所述开发者发送提示信息。A sending unit, configured to send prompt information to the developer.
一种电子设备,所述电子设备包括:An electronic device comprising:
存储器,存储至少一个指令;及a memory storing at least one instruction; and
处理器,执行所述存储器中存储的指令以实现所述开发任务执行方法。A processor, executing instructions stored in the memory to implement the development task execution method.
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个指令,所述至少一个指令被电子设备中的处理器执行以实现所述开发任务执行方法。A computer-readable storage medium, at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor in an electronic device to implement the development task execution method.
由以上技术方案可以看出,本发明能够获取与所述接口文档对应的开发任务中每个子任务的任务标识,并根据每个任务标识,从配置代码库中调取每个子任务的代码,进一步执行调取的每段代码,得到所述开发任务的执行结果,自动获取到代码并执行,能够避免人为编写代码浪费的时间及精力,且可以有效避免编写错误,再根据接收到的接口文档生成测试脚本,以所述测试脚本验证所述执行结果,从而对每段代码进行自动验证,并进一步实现开发任务的自动执行,不仅节约了人力成本,还能够提高执行效率。It can be seen from the above technical solutions that the present invention can obtain the task identification of each subtask in the development task corresponding to the interface document, and according to each task identification, call the code of each subtask from the configuration code library, and further Execute each piece of code that is called, get the execution result of the development task, and automatically obtain the code and execute it, which can avoid the time and energy wasted in manually writing code, and can effectively avoid writing errors, and then generate according to the received interface document A test script, using the test script to verify the execution result, thereby automatically verifying each piece of code, and further realizing the automatic execution of development tasks, not only saves labor costs, but also improves execution efficiency.
附图说明Description of drawings
图1是本发明开发任务执行方法的较佳实施例的流程图。Fig. 1 is a flowchart of a preferred embodiment of the development task execution method of the present invention.
图2是本发明开发任务执行装置的较佳实施例的功能模块图。Fig. 2 is a functional module diagram of a preferred embodiment of the development task execution device of the present invention.
图3是本发明实现开发任务执行方法的较佳实施例的电子设备的结构示意图。Fig. 3 is a schematic structural diagram of an electronic device implementing a preferred embodiment of a development task execution method according to the present invention.
主要元件符号说明Explanation of main component symbols
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,是本发明开发任务执行方法的较佳实施例的流程图。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。As shown in FIG. 1 , it is a flow chart of a preferred embodiment of the development task execution method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
所述开发任务执行方法应用于一个或者多个电子设备中,所述电子设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital SignalProcessor,DSP)、嵌入式设备等。The development task execution method is applied to one or more electronic devices, and the electronic device is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but not Limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
所述电子设备可以是任何一种可与用户进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(Internet Protocol Television,IPTV)、智能式穿戴式设备等。The electronic device may be any electronic product capable of man-machine interaction with the user, for example, a personal computer, a tablet computer, a smart phone, a personal digital assistant (Personal Digital Assistant, PDA), a game console, an interactive Internet TV ( Internet Protocol Television, IPTV), smart wearable devices, etc.
所述电子设备还可以包括网络设备和/或用户设备。其中,所述网络设备包括,但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(CloudComputing)的由大量主机或网络服务器构成的云。The electronic equipment may also include network equipment and/or user equipment. Wherein, the network device includes, but is not limited to, a single network server, a server group composed of multiple network servers, or a cloud composed of a large number of hosts or network servers based on cloud computing (Cloud Computing).
所述电子设备所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The network where the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN) and the like.
S10,当接收到接口文档时,获取与所述接口文档对应的开发任务。S10. Acquire a development task corresponding to the interface document when the interface document is received.
现有技术方案中,在一项开发任务的执行过程中,项目管理者需要根据开发任务的实际情况,首先基于当前人力,合理安排开发人员进行代码的编写,在代码编写完成后,项目管理者还要继续安排测试人员对编写的代码进行测试,整个过程全部由项目管理者进行人为分配。In the existing technical solutions, during the execution of a development task, the project manager needs to reasonably arrange the developers to write the code based on the actual situation of the development task, first based on the current manpower. After the code is written, the project manager It is also necessary to continue to arrange testers to test the written code, and the entire process is manually assigned by the project manager.
基于上述情况,由于人为干预的过程较多,因此,一旦项目管理者离职或者休假,开发任务将无法顺利进行下去。Based on the above situation, due to the many processes of human intervention, once the project manager leaves or takes a vacation, the development task will not be able to proceed smoothly.
在本发明的至少一个实施例中,所述接口文档是项目开发中,由前后端工程师共同定义的,通过编写及维护所述接口文档,使前后端工程师有一个统一的文件进行沟通,方便后期人员查看及维护。In at least one embodiment of the present invention, the interface document is jointly defined by the front-end and back-end engineers during project development. By writing and maintaining the interface document, the front-end and back-end engineers have a unified file for communication, which is convenient for the later stage personnel inspection and maintenance.
在本发明的至少一个实施例中,所述开发任务是指根据开发需求确定的任务,所述开发需求可以包括新增需求及已有需求。In at least one embodiment of the present invention, the development tasks refer to tasks determined according to development requirements, and the development requirements may include new requirements and existing requirements.
S11,识别所述开发任务中的至少一个子任务。S11. Identify at least one subtask in the development task.
在本发明的至少一个实施例中,由于一个开发任务对应着至少一种开发需求,因此,通过拆分一个开发任务,能够得到至少一个子任务。In at least one embodiment of the present invention, since a development task corresponds to at least one development requirement, at least one subtask can be obtained by splitting a development task.
进一步地,所述电子设备识别所述开发任务,即可得到至少一个子任务。Further, the electronic device can obtain at least one subtask by identifying the development task.
例如:所述电子设备可以根据所述至少一个子任务的名称或者标识进行识别,本发明不限制。For example: the electronic device may be identified according to the name or identifier of the at least one subtask, which is not limited in the present invention.
S12,获取所述至少一个子任务中,每个子任务的任务标识。S12. Obtain a task identifier of each subtask in the at least one subtask.
在本发明的至少一个实施例中,所述任务标识可以包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, the task identification may include, but not limited to, one or more of the following combinations:
任务名称、任务标识码(Identity,ID)、任务编码等。Task name, task identification code (Identity, ID), task code, etc.
通过所述任务标识,所述电子设备能够唯一确定一个子任务,以便对每个子任务进行区分。Through the task identifier, the electronic device can uniquely determine a subtask, so as to distinguish each subtask.
S13,根据每个任务标识,从配置代码库中调取每个子任务的代码。S13. Call the code of each subtask from the configuration code base according to the identifier of each task.
在本发明的至少一个实施例中,所述配置代码库中记录着子任务与代码,并且子任务与代码存在一一对应的关系。In at least one embodiment of the present invention, the configuration code base records subtasks and codes, and there is a one-to-one correspondence between subtasks and codes.
在本发明的至少一个实施例中,在根据每个任务标识,从配置代码库中调取每个子任务的代码前,所述电子设备配置所述配置代码库。In at least one embodiment of the present invention, before the code of each subtask is called from the configuration code library according to each task identifier, the electronic device configures the configuration code library.
具体地,在根据每个任务标识,所述电子设备从配置代码库中调取每个子任务的代码前,所述方法还包括:Specifically, before the electronic device calls the code of each subtask from the configuration code library according to each task identifier, the method further includes:
每隔预设时间间隔,所述电子设备获取所述预设时间间隔内的历史任务数据,并从所述历史任务数据中确定所有子任务,及与所述所有子任务对应的所有代码,进一步地,所述电子设备为所述所有子任务配置任务标识,并确定所述任务标识与所述所有代码的对应关系,更进一步地,所述电子设备根据所述对应关系,配置所述配置代码库。Every preset time interval, the electronic device acquires historical task data within the preset time interval, and determines all subtasks and all codes corresponding to all subtasks from the historical task data, further Specifically, the electronic device configures task identifiers for all the subtasks, and determines the correspondence between the task identifiers and all the codes, further, the electronic device configures the configuration codes according to the correspondence library.
具体地,所述预设时间间隔可以根据实际情况进行配置,例如:所述预设时间间隔可以包括24小时等。Specifically, the preset time interval may be configured according to actual conditions, for example, the preset time interval may include 24 hours and the like.
进一步地,所述历史任务数据包括所述预设时间间隔内的所有数据。Further, the historical task data includes all data within the preset time interval.
具体地,所述历史任务数据包括,但不限于以下一种或者多种的组合:Specifically, the historical task data includes, but is not limited to a combination of one or more of the following:
所述所有子任务的名称、所述所有子任务对应的所有代码、所述所有子任务的属性数据(如:所述所有子任务的简单描述等)。Names of all subtasks, all codes corresponding to all subtasks, attribute data of all subtasks (such as: a brief description of all subtasks, etc.).
当然,在其他实施例中,在将所述所有代码配置入所述配置代码库前,所述电子设备还可以调用质量检测插件对所述所有代码的形式错误及安全元素进行检测,本发明不限制。Of course, in other embodiments, before all the codes are configured into the configuration code library, the electronic device can also call a quality inspection plug-in to detect the form errors and security elements of all the codes. The present invention does not limit.
通过上述实施方式,所述电子设备能够持续集成代码数据,以配置所述配置代码库,同时对所述配置代码库中记录的数据进行定期更新,以保证所述配置代码库中数据的高可用性,避免由于代码的陈旧影响开发任务的正常执行。Through the above embodiments, the electronic device can continuously integrate code data to configure the configuration code library, and at the same time regularly update the data recorded in the configuration code library to ensure high availability of data in the configuration code library , to avoid affecting the normal execution of development tasks due to obsolete code.
进一步地,所述方法还包括:Further, the method also includes:
当从所述配置代码库中不能调取到所述至少一个子任务中第一子任务对应的代码时,所述电子设备提示指定人员编写所述第一子任务的第一代码,进一步地,所述电子设备为所述第一子任务配置任务标识,根据所述任务标识,所述电子设备将所述第一子任务及所述第一代码更新至所述配置代码库。When the code corresponding to the first subtask of the at least one subtask cannot be retrieved from the configuration code library, the electronic device prompts a designated person to write the first code of the first subtask, further, The electronic device configures a task identifier for the first subtask, and according to the task identifier, the electronic device updates the first subtask and the first code to the configuration code library.
具体地,所述指定人员包括开发人员等,所述指定人员具备编写代码的能力。Specifically, the designated personnel include developers, etc., and the designated personnel have the ability to write codes.
可以理解的是,由于在所述配置代码库中没有记录所述第一子任务对应的代码,因此,所述电子设备提示所述指定人员根据所述第一子任务开发代码,以免耽误所述开发任务的进度,由于响应及时,能够有效提高所述开发任务的时效性。It can be understood that since the code corresponding to the first subtask is not recorded in the configuration code library, the electronic device prompts the designated person to develop code according to the first subtask, so as not to delay the The progress of the development task can effectively improve the timeliness of the development task due to the timely response.
通过上述实施方式,所述电子设备还能将所述配置代码库中没有记录的任务及时更新入所述配置代码库,以使所述配置代码库中的数据更加完善、具体,方便后续任务从所述配置代码库中直接调用,不仅节约了开发人员的开发时间,还能有效避免由于人为编写代码出现的错误。Through the above implementation, the electronic device can also update the tasks that are not recorded in the configuration code library into the configuration code library in time, so that the data in the configuration code library is more complete and specific, and it is convenient for subsequent tasks to be downloaded from the configuration code library. The direct call in the configuration code library not only saves the development time of developers, but also effectively avoids errors caused by human-made codes.
S14,执行调取的每段代码,得到所述开发任务的执行结果。S14. Execute each piece of called code to obtain an execution result of the development task.
在本发明的至少一个实施例中,所述电子设备在调取到每段代码后,一一执行每段代码,并在每段代码执行完毕后,最终得到所述开发任务的执行结果。In at least one embodiment of the present invention, after calling each code, the electronic device executes each code one by one, and finally obtains the execution result of the development task after each code is executed.
具体地,所述电子设备执行调取的每段代码,得到所述开发任务的执行结果包括:Specifically, the electronic device executes each piece of code that is called, and the execution result of the development task obtained includes:
所述电子设备编译每段代码,得到每段代码对应的每个可执行文件,进一步地,所述电子设备根据所述开发任务,部署运行环境,并在所述运行环境下执行每个可执行文件,得到所述执行结果。The electronic device compiles each piece of code to obtain each executable file corresponding to each piece of code, further, the electronic device deploys a running environment according to the development task, and executes each executable file in the running environment file to obtain the execution result.
例如:所述电子设备在调取到每段代码后,首先打包每段代码,从而将每段代码编译为可执行文件,并在得到每段代码对应的每个可执行文件后,进一步部署运行环境,以使每段代码顺利执行。For example: after the electronic device retrieves each piece of code, it first packages each piece of code, thereby compiling each piece of code into an executable file, and after obtaining each executable file corresponding to each piece of code, further deploys and runs environment so that each piece of code executes smoothly.
具体地,所述可执行文件包括,但不限于以下一种或者多种形式的组合:Specifically, the executable file includes, but is not limited to, one or more of the following combinations:
“.bat”文件、“.jar”文件等。".bat" files, ".jar" files, etc.
可以理解的是,在计划实施所述开发任务前,所述开发任务的运行环境已经确定好。It can be understood that, before the development task is planned to be implemented, the running environment of the development task has been determined.
具体地,所述运行环境包括,但不限于以下一种或者多种的组合:Specifically, the operating environment includes, but is not limited to, a combination of one or more of the following:
测试环境、生产环境、开发环境等。Test environment, production environment, development environment, etc.
进一步地,所述电子设备可以将所述运行环境部署在相应服务器上,且一个服务器可以部署多个运行环境,本发明不限制。Further, the electronic device may deploy the operating environment on a corresponding server, and one server may deploy multiple operating environments, which is not limited in the present invention.
通过上述实施方式,所述电子设备能够自动执行调取的每段代码,并得到所述执行结果,以供后续测试。Through the above implementation manner, the electronic device can automatically execute each piece of code that is called, and obtain the execution result for subsequent testing.
S15,解析所述接口文档,生成测试脚本。S15. Parse the interface document to generate a test script.
在本发明的至少一个实施例中,所述接口文档中包括约定的开发数据,具体包括输入项、输出项等。In at least one embodiment of the present invention, the interface document includes agreed development data, specifically including input items, output items, and the like.
其中,所述输出项可以作为所述执行结果的比较基准。Wherein, the output item may be used as a comparison benchmark of the execution result.
在本发明的至少一个实施例中,所述电子设备解析所述接口文档,生成测试脚本包括:In at least one embodiment of the present invention, the electronic device parses the interface document, and generating a test script includes:
所述电子设备从所述接口文档中获取输入项及输出项,并根据所述输入项及所述输出项,生成所述测试脚本。The electronic device acquires input items and output items from the interface document, and generates the test script according to the input items and the output items.
通过上述实施方式,所述电子设备能够自动生成所述测试脚本,以供后续的测试任务使用,避免人为参与。Through the above implementation manner, the electronic device can automatically generate the test script for use in subsequent test tasks, avoiding human participation.
并且,由于所述测试脚本是在得到所述执行结果后立即生成,节约了人为编写测试脚本所花费的时间及经历,且无需测试人员与开发人员进行沟通,减少了沟通成本,也可以有效避免由于测试人员理解有误造成的错误。Moreover, since the test script is generated immediately after the execution result is obtained, the time and experience spent on manually writing the test script are saved, and there is no need for the tester to communicate with the developer, which reduces the communication cost and can effectively avoid Errors due to misunderstanding by testers.
S16,以所述测试脚本验证所述执行结果。S16. Verify the execution result with the test script.
在本发明的至少一个实施例中,所述电子设备在生成所述测试脚本后,直接以所述测试脚本验证所述执行结果,提高了响应效率。In at least one embodiment of the present invention, after the electronic device generates the test script, it directly uses the test script to verify the execution result, which improves response efficiency.
通过验证,所述电子设备不仅能够测试出接口是否有误,还能够根据所述输出项测试出每段代码是否有误。Through verification, the electronic device can not only test whether the output interface is wrong, but also can test whether each piece of code is wrong according to the output items.
具体地,所述电子设备以所述测试脚本验证所述执行结果包括:Specifically, verifying the execution result by the electronic device with the test script includes:
所述电子设备将所述执行结果与所述输出项进行比较,当所述执行结果与所述输出项一致时,所述电子设备确定所述执行结果通过验证;The electronic device compares the execution result with the output item, and when the execution result is consistent with the output item, the electronic device determines that the execution result passes the verification;
当所述执行结果与所述输出项不一致时,所述电子设备确定所述执行结果未通过验证。When the execution result is inconsistent with the output item, the electronic device determines that the execution result fails the verification.
可以理解的是,当所述执行结果与所述输出项一致时,首先说明所述接口是可用的,这样,所述电子设备才能根据所述接口顺利执行每段代码,以验证接口调用的正确性。其次,由于所述执行结果与所述输出项一致,说明得到的所述执行结果是正确的,也就是说,每段代码的执行是正确的。It can be understood that when the execution result is consistent with the output item, it first indicates that the interface is available, so that the electronic device can smoothly execute each piece of code according to the interface to verify the correctness of the interface call sex. Secondly, since the execution result is consistent with the output item, it means that the obtained execution result is correct, that is to say, the execution of each piece of code is correct.
通过上述实施方式,所述电子设备即可完成对每段代码的自动校验,用户体验更佳。Through the above implementation manner, the electronic device can complete the automatic verification of each piece of code, and the user experience is better.
优选地,当所述电子设备确定所述执行结果未通过验证时,所述方法还包括:Preferably, when the electronic device determines that the execution result has not passed the verification, the method further includes:
所述电子设备获取所述开发任务的执行日志,并从所述执行日志中定位异常代码,进一步地,所述电子设备从所述配置代码库中获取所述异常代码的开发者,并向所述开发者发出提示信息。The electronic device obtains the execution log of the development task, and locates the abnormal code from the execution log, further, the electronic device obtains the developer of the abnormal code from the configuration code library, and sends the abnormal code to the The above developer sends a prompt message.
具体地,所述提示信息包括,但不限于以下一种或者多种的组合:Specifically, the prompt information includes, but is not limited to, one or more of the following combinations:
提示代码有误的配置文本信息、所述异常代码的地址、所述执行日志中异常代码的截图等。Configuration text information indicating that the code is incorrect, the address of the abnormal code, a screenshot of the abnormal code in the execution log, etc.
通过上述实施方式,当代码有误时,所述电子设备可以及时提醒对应开发者进行改进,以提高响应速度。Through the above implementation manner, when the code is wrong, the electronic device can promptly remind the corresponding developer to make improvements, so as to improve the response speed.
当然,在其他实施例中,所述电子设备还可以保存所述执行日志,并将异常的相关信息发送给相关负责人,以使所述相关负责人能够及时跟进所述开发任务的进度,并了解每个开发者的执行力。Of course, in other embodiments, the electronic device may also save the execution log, and send relevant abnormal information to the relevant person in charge, so that the relevant person in charge can follow up the progress of the development task in time, And understand how well each developer executes.
由以上技术方案可以看出,本发明能够获取与所述接口文档对应的开发任务中每个子任务的任务标识,并根据每个任务标识,从配置代码库中调取每个子任务的代码,进一步执行调取的每段代码,得到所述开发任务的执行结果,自动获取到代码并执行,能够避免人为编写代码浪费的时间及精力,且可以有效避免编写错误,再根据接收到的接口文档生成测试脚本,以所述测试脚本验证所述执行结果,从而对每段代码进行自动验证,并进一步实现开发任务的自动执行,不仅节约了人力成本,还能够提高执行效率。It can be seen from the above technical solutions that the present invention can obtain the task identification of each subtask in the development task corresponding to the interface document, and according to each task identification, call the code of each subtask from the configuration code library, and further Execute each piece of code that is called, get the execution result of the development task, and automatically obtain the code and execute it, which can avoid the time and energy wasted in manually writing code, and can effectively avoid writing errors, and then generate according to the received interface document A test script, using the test script to verify the execution result, thereby automatically verifying each piece of code, and further realizing the automatic execution of development tasks, not only saves labor costs, but also improves execution efficiency.
如图2所示,是本发明开发任务执行装置的较佳实施例的功能模块图。所述开发任务执行装置11包括获取单元110、识别单元111、调取单元112、执行单元113、生成单元114、验证单元115、确定单元116、配置单元117、提示单元118、更新单元119、定位单元120、发送单元121以及检测单元122。本发明所称的模块/单元是指一种能够被处理器13所执行,并且能够完成固定功能的一系列计算机程序段,其存储在存储器12中。在本实施例中,关于各模块/单元的功能将在后续的实施例中详述。As shown in FIG. 2 , it is a functional block diagram of a preferred embodiment of the development task execution device of the present invention. The development task execution device 11 includes an acquisition unit 110, an identification unit 111, a call unit 112, an execution unit 113, a generation unit 114, a verification unit 115, a determination unit 116, a configuration unit 117, a prompt unit 118, an update unit 119, a location unit 120 , sending unit 121 and detecting unit 122 . The module/unit referred to in the present invention refers to a series of computer program segments that can be executed by the processor 13 and can complete fixed functions, and are stored in the memory 12 . In this embodiment, the functions of each module/unit will be described in detail in subsequent embodiments.
当接收到接口文档时,获取单元110获取与所述接口文档对应的开发任务。When receiving the interface document, the acquisition unit 110 acquires the development task corresponding to the interface document.
现有技术方案中,在一项开发任务的执行过程中,项目管理者需要根据开发任务的实际情况,首先基于当前人力,合理安排开发人员进行代码的编写,在代码编写完成后,项目管理者还要继续安排测试人员对编写的代码进行测试,整个过程全部由项目管理者进行人为分配。In the existing technical solutions, during the execution of a development task, the project manager needs to reasonably arrange the developers to write the code based on the actual situation of the development task, first based on the current manpower. After the code is written, the project manager It is also necessary to continue to arrange testers to test the written code, and the entire process is manually assigned by the project manager.
基于上述情况,由于人为干预的过程较多,因此,一旦项目管理者离职或者休假,开发任务将无法顺利进行下去。Based on the above situation, due to the many processes of human intervention, once the project manager leaves or takes a vacation, the development task will not be able to proceed smoothly.
在本发明的至少一个实施例中,所述接口文档是项目开发中,由前后端工程师共同定义的,通过编写及维护所述接口文档,使前后端工程师有一个统一的文件进行沟通,方便后期人员查看及维护。In at least one embodiment of the present invention, the interface document is jointly defined by the front-end and back-end engineers during project development. By writing and maintaining the interface document, the front-end and back-end engineers have a unified file for communication, which is convenient for the later stage personnel inspection and maintenance.
在本发明的至少一个实施例中,所述开发任务是指根据开发需求确定的任务,所述开发需求可以包括新增需求及已有需求。In at least one embodiment of the present invention, the development tasks refer to tasks determined according to development requirements, and the development requirements may include new requirements and existing requirements.
识别单元111识别所述开发任务中的至少一个子任务。The identification unit 111 identifies at least one subtask in the development task.
在本发明的至少一个实施例中,由于一个开发任务对应着至少一种开发需求,因此,通过拆分一个开发任务,能够得到至少一个子任务。In at least one embodiment of the present invention, since a development task corresponds to at least one development requirement, at least one subtask can be obtained by splitting a development task.
进一步地,所述识别单元111识别所述开发任务,即可得到至少一个子任务。Further, the identification unit 111 identifies the development task, so as to obtain at least one subtask.
例如:所述识别单元111可以根据所述至少一个子任务的名称或者标识进行识别,本发明不限制。For example: the identifying unit 111 may identify according to the name or identifier of the at least one subtask, which is not limited in the present invention.
所述获取单元110获取所述至少一个子任务中,每个子任务的任务标识。The acquiring unit 110 acquires a task identifier of each subtask in the at least one subtask.
在本发明的至少一个实施例中,所述任务标识可以包括,但不限于以下一种或者多种的组合:In at least one embodiment of the present invention, the task identification may include, but not limited to, one or more of the following combinations:
任务名称、任务标识码(Identity,ID)、任务编码等。Task name, task identification code (Identity, ID), task code, etc.
通过所述任务标识,确定单元116能够唯一确定一个子任务,以便对每个子任务进行区分。Through the task identifier, the determining unit 116 can uniquely determine a subtask so as to distinguish each subtask.
根据每个任务标识,调取单元112从配置代码库中调取每个子任务的代码。According to each task identifier, the calling unit 112 calls the code of each subtask from the configuration code library.
在本发明的至少一个实施例中,所述配置代码库中记录着子任务与代码,并且子任务与代码存在一一对应的关系。In at least one embodiment of the present invention, the configuration code base records subtasks and codes, and there is a one-to-one correspondence between subtasks and codes.
在本发明的至少一个实施例中,在根据每个任务标识,调取单元112从配置代码库中调取每个子任务的代码前,配置单元117配置所述配置代码库。In at least one embodiment of the present invention, before the calling unit 112 calls the code of each subtask from the configuration code library according to each task identifier, the configuration unit 117 configures the configuration code library.
具体地,在根据每个任务标识,所述调取单元112从配置代码库中调取每个子任务的代码前,所述方法还包括:Specifically, before the calling unit 112 calls the code of each subtask from the configuration code library according to each task identifier, the method further includes:
每隔预设时间间隔,所述获取单元110获取所述预设时间间隔内的历史任务数据,进一步地,所述确定单元116从所述历史任务数据中确定所有子任务,及与所述所有子任务对应的所有代码,所述配置单元117为所述所有子任务配置任务标识,所述确定单元116确定所述任务标识与所述所有代码的对应关系,进一步地,所述配置单元117根据所述对应关系,配置所述配置代码库。Every preset time interval, the acquiring unit 110 acquires historical task data within the preset time interval, further, the determining unit 116 determines all subtasks from the historical task data, and All codes corresponding to subtasks, the configuration unit 117 configures task identifiers for all subtasks, the determination unit 116 determines the correspondence between the task identifiers and all the codes, further, the configuration unit 117 according to The corresponding relationship configures the configuration code library.
具体地,所述预设时间间隔可以根据实际情况进行配置,例如:所述预设时间间隔可以包括24小时等。Specifically, the preset time interval may be configured according to actual conditions, for example, the preset time interval may include 24 hours and the like.
进一步地,所述历史任务数据包括所述预设时间间隔内的所有数据。Further, the historical task data includes all data within the preset time interval.
具体地,所述历史任务数据包括,但不限于以下一种或者多种的组合:Specifically, the historical task data includes, but is not limited to a combination of one or more of the following:
所述所有子任务的名称、所述所有子任务对应的所有代码、所述所有子任务的属性数据(如:所述所有子任务的简单描述等)。Names of all subtasks, all codes corresponding to all subtasks, attribute data of all subtasks (such as: a brief description of all subtasks, etc.).
当然,在其他实施例中,在将所述所有代码配置入所述配置代码库前,检测单元122可以调用质量检测插件对所述所有代码的形式错误及安全元素进行检测,本发明不限制。Certainly, in other embodiments, before all the codes are configured into the configuration code library, the detection unit 122 may call a quality detection plug-in to detect the form errors and security elements of all the codes, which is not limited by the present invention.
通过上述实施方式,所述配置单元117能够持续集成代码数据,以配置所述配置代码库,同时,更新单元119对所述配置代码库中记录的数据进行定期更新,以保证所述配置代码库中数据的高可用性,避免由于代码的陈旧影响开发任务的正常执行。Through the above-mentioned implementation, the configuration unit 117 can continuously integrate code data to configure the configuration code base, and at the same time, the update unit 119 regularly updates the data recorded in the configuration code base to ensure that the configuration code base The high availability of data in the medium avoids the normal execution of development tasks affected by the obsolete code.
进一步地,所述方法还包括:Further, the method also includes:
当所述调取单元112从所述配置代码库中不能调取到所述至少一个子任务中第一子任务对应的代码时,提示单元118提示指定人员编写所述第一子任务的第一代码,进一步地,所述配置单元117为所述第一子任务配置任务标识,更进一步地,所述更新单元119根据所述任务标识,将所述第一子任务及所述第一代码更新至所述配置代码库。When the calling unit 112 cannot call the code corresponding to the first subtask in the at least one subtask from the configuration code library, the prompting unit 118 prompts the designated person to write the first subtask of the first subtask. code, further, the configuration unit 117 configures a task identifier for the first subtask, and further, the update unit 119 updates the first subtask and the first code according to the task identifier to the configuration repository.
具体地,所述指定人员包括开发人员等,所述指定人员具备编写代码的能力。Specifically, the designated personnel include developers, etc., and the designated personnel have the ability to write codes.
可以理解的是,由于在所述配置代码库中没有记录所述第一子任务对应的代码,因此,所述提示单元118提示所述指定人员根据所述第一子任务开发代码,以免耽误所述开发任务的进度,由于响应及时,能够有效提高所述开发任务的时效性。It can be understood that since the code corresponding to the first subtask is not recorded in the configuration code base, the prompt unit 118 prompts the designated person to develop code according to the first subtask, so as not to delay all The progress of the above-mentioned development tasks can be effectively improved due to the timely response.
通过上述实施方式,所述更新单元119还能将所述配置代码库中没有记录的任务及时更新入所述配置代码库,以使所述配置代码库中的数据更加完善、具体,方便后续任务从所述配置代码库中直接调用,不仅节约了开发人员的开发时间,还能有效避免由于人为编写代码出现的错误。Through the above implementation, the update unit 119 can also update the tasks not recorded in the configuration code library into the configuration code library in time, so that the data in the configuration code library can be more complete and specific, and facilitate subsequent tasks Calling directly from the configuration code library not only saves the development time of developers, but also effectively avoids errors due to human-written codes.
执行单元113执行调取的每段代码,得到所述开发任务的执行结果。The execution unit 113 executes each piece of called code to obtain the execution result of the development task.
在本发明的至少一个实施例中,所述执行单元113在调取到每段代码后,一一执行每段代码,并在每段代码执行完毕后,最终得到所述开发任务的执行结果。In at least one embodiment of the present invention, the executing unit 113 executes each piece of code one by one after calling each piece of code, and finally obtains the execution result of the development task after each piece of code is executed.
具体地,所述执行单元113执行调取的每段代码,得到所述开发任务的执行结果包括:Specifically, the execution unit 113 executes each piece of code that is called, and the execution result of the development task obtained includes:
所述执行单元113编译每段代码,得到每段代码对应的每个可执行文件,进一步地,所述执行单元113根据所述开发任务,部署运行环境,更进一步地,所述执行单元113在所述运行环境下执行每个可执行文件,得到所述执行结果。The execution unit 113 compiles each piece of code to obtain each executable file corresponding to each piece of code. Further, the execution unit 113 deploys a running environment according to the development task. Further, the execution unit 113 executes the Execute each executable file in the operating environment to obtain the execution result.
例如:所述执行单元113在调取到每段代码后,首先打包每段代码,从而将每段代码编译为可执行文件,并在得到每段代码对应的每个可执行文件后,进一步部署运行环境,以使每段代码顺利执行。For example: after the execution unit 113 calls each code, it first packages each code, thereby compiling each code into an executable file, and after obtaining each executable file corresponding to each code, further deploys Runtime environment for each piece of code to execute smoothly.
具体地,所述可执行文件包括,但不限于以下一种或者多种形式的组合:Specifically, the executable file includes, but is not limited to, one or more of the following combinations:
“.bat”文件、“.jar”文件等。".bat" files, ".jar" files, etc.
可以理解的是,在计划实施所述开发任务前,所述开发任务的运行环境已经确定好。It can be understood that, before the development task is planned to be implemented, the running environment of the development task has been determined.
具体地,所述运行环境包括,但不限于以下一种或者多种的组合:Specifically, the operating environment includes, but is not limited to, a combination of one or more of the following:
测试环境、生产环境、开发环境等。Test environment, production environment, development environment, etc.
进一步地,所述执行单元113可以将所述运行环境部署在相应服务器上,且一个服务器可以部署多个运行环境,本发明不限制。Further, the execution unit 113 may deploy the execution environment on a corresponding server, and one server may deploy multiple execution environments, which is not limited in the present invention.
通过上述实施方式,所述执行单元113能够自动执行调取的每段代码,并得到所述执行结果,以供后续测试。Through the above implementation manner, the execution unit 113 can automatically execute each piece of called code, and obtain the execution result for subsequent testing.
生成单元114解析所述接口文档,生成测试脚本。The generating unit 114 parses the interface document to generate a test script.
在本发明的至少一个实施例中,所述接口文档中包括约定的开发数据,具体包括输入项、输出项等。In at least one embodiment of the present invention, the interface document includes agreed development data, specifically including input items, output items, and the like.
其中,所述输出项可以作为所述执行结果的比较基准。Wherein, the output item may be used as a comparison benchmark of the execution result.
在本发明的至少一个实施例中,所述生成单元114解析所述接口文档,生成测试脚本包括:In at least one embodiment of the present invention, the generating unit 114 parses the interface document, and generating a test script includes:
所述生成单元114从所述接口文档中获取输入项及输出项,并根据所述输入项及所述输出项,生成所述测试脚本。The generating unit 114 obtains input items and output items from the interface document, and generates the test script according to the input items and the output items.
通过上述实施方式,所述生成单元114能够自动生成所述测试脚本,以供后续的测试任务使用,避免人为参与。Through the above implementation manner, the generation unit 114 can automatically generate the test script for use in subsequent test tasks, avoiding human participation.
并且,由于所述测试脚本是在得到所述执行结果后立即生成,节约了人为编写测试脚本所花费的时间及经历,且无需测试人员与开发人员进行沟通,减少了沟通成本,也可以有效避免由于测试人员理解有误造成的错误。Moreover, since the test script is generated immediately after the execution result is obtained, the time and experience spent on manually writing the test script are saved, and there is no need for the tester to communicate with the developer, which reduces the communication cost and can effectively avoid Errors due to misunderstanding by testers.
验证单元115以所述测试脚本验证所述执行结果。The verification unit 115 uses the test script to verify the execution result.
在本发明的至少一个实施例中,在生成所述测试脚本后,所述验证单元115直接以所述测试脚本验证所述执行结果,提高了响应效率。In at least one embodiment of the present invention, after the test script is generated, the verification unit 115 directly uses the test script to verify the execution result, which improves response efficiency.
通过验证,所述验证单元115不仅能够测试出接口是否有误,还能够根据所述输出项测试出每段代码是否有误。Through verification, the verification unit 115 can not only test whether the outgoing interface is wrong, but also can test whether each piece of code is wrong according to the output item.
具体地,所述验证单元115以所述测试脚本验证所述执行结果包括:Specifically, the verifying unit 115 verifying the execution result with the test script includes:
所述验证单元115将所述执行结果与所述输出项进行比较,当所述执行结果与所述输出项一致时,所述验证单元115确定所述执行结果通过验证;The verification unit 115 compares the execution result with the output item, and when the execution result is consistent with the output item, the verification unit 115 determines that the execution result passes the verification;
当所述执行结果与所述输出项不一致时,所述验证单元115确定所述执行结果未通过验证。When the execution result is inconsistent with the output item, the verification unit 115 determines that the execution result fails the verification.
可以理解的是,当所述执行结果与所述输出项一致时,首先说明所述接口是可用的,这样,才能根据所述接口顺利执行每段代码,以验证接口调用的正确性。其次,由于所述执行结果与所述输出项一致,说明得到的所述执行结果是正确的,也就是说,每段代码的执行是正确的。It can be understood that when the execution result is consistent with the output item, it first indicates that the interface is available, so that each piece of code can be executed smoothly according to the interface to verify the correctness of the interface call. Secondly, since the execution result is consistent with the output item, it means that the obtained execution result is correct, that is to say, the execution of each piece of code is correct.
通过上述实施方式,所述验证单元115即可完成对每段代码的自动校验,用户体验更佳。Through the above implementation manner, the verification unit 115 can complete the automatic verification of each piece of code, and the user experience is better.
优选地,当所述验证单元115确定所述执行结果未通过验证时,所述方法还包括:Preferably, when the verification unit 115 determines that the execution result fails the verification, the method further includes:
所述获取单元110获取所述开发任务的执行日志,定位单元120从所述执行日志中定位异常代码,进一步地,所述获取单元110从所述配置代码库中获取所述异常代码的开发者,更进一步地,发送单元121向所述开发者发送提示信息。The obtaining unit 110 obtains the execution log of the development task, and the locating unit 120 locates the abnormal code from the execution log. Further, the obtaining unit 110 obtains the developer of the abnormal code from the configuration code library. , further, the sending unit 121 sends prompt information to the developer.
具体地,所述提示信息包括,但不限于以下一种或者多种的组合:Specifically, the prompt information includes, but is not limited to, one or more of the following combinations:
提示代码有误的配置文本信息、所述异常代码的地址、所述执行日志中异常代码的截图等。Configuration text information indicating that the code is incorrect, the address of the abnormal code, a screenshot of the abnormal code in the execution log, etc.
通过上述实施方式,当代码有误时,可以及时提醒对应开发者进行改进,以提高响应速度。Through the above implementation manner, when the code is wrong, the corresponding developer can be reminded in time to make improvements, so as to improve the response speed.
当然,在其他实施例中,所述发送单元121还可以保存所述执行日志,并将异常的相关信息发送给相关负责人,以使所述相关负责人能够及时跟进所述开发任务的进度,并了解每个开发者的执行力。Of course, in other embodiments, the sending unit 121 may also save the execution log, and send relevant abnormal information to the relevant person in charge, so that the relevant person in charge can follow up the progress of the development task in time , and understand each developer's ability to execute.
由以上技术方案可以看出,本发明能够获取与所述接口文档对应的开发任务中每个子任务的任务标识,并根据每个任务标识,从配置代码库中调取每个子任务的代码,进一步执行调取的每段代码,得到所述开发任务的执行结果,自动获取到代码并执行,能够避免人为编写代码浪费的时间及精力,且可以有效避免编写错误,再根据接收到的接口文档生成测试脚本,以所述测试脚本验证所述执行结果,从而对每段代码进行自动验证,并进一步实现开发任务的自动执行,不仅节约了人力成本,还能够提高执行效率。It can be seen from the above technical solutions that the present invention can obtain the task identification of each subtask in the development task corresponding to the interface document, and according to each task identification, call the code of each subtask from the configuration code library, and further Execute each piece of code that is called, get the execution result of the development task, and automatically obtain the code and execute it, which can avoid the time and energy wasted in manually writing code, and can effectively avoid writing errors, and then generate according to the received interface document A test script, using the test script to verify the execution result, thereby automatically verifying each piece of code, and further realizing the automatic execution of development tasks, not only saves labor costs, but also improves execution efficiency.
如图3所示,是本发明实现开发任务执行方法的较佳实施例的电子设备的结构示意图。As shown in FIG. 3 , it is a schematic structural diagram of an electronic device implementing a preferred embodiment of the development task execution method of the present invention.
所述电子设备1是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The electronic device 1 is a device that can automatically perform numerical calculation and/or information processing according to preset or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) , Programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
所述电子设备1还可以是但不限于任何一种可与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、个人数字助理(Personal Digital Assistant,PDA)、游戏机、交互式网络电视(InternetProtocol Television,IPTV)、智能式穿戴式设备等。The electronic device 1 can also be, but not limited to, any electronic product that can interact with the user through a keyboard, mouse, remote control, touch pad or voice-activated device, such as a personal computer, a tablet computer, a smart phone, etc. , Personal Digital Assistant (PDA), game consoles, Internet Protocol Television (IPTV), smart wearable devices, etc.
所述电子设备1还可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。The electronic device 1 can also be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers.
所述电子设备1所处的网络包括但不限于互联网、广域网、城域网、局域网、虚拟专用网络(Virtual Private Network,VPN)等。The network where the electronic device 1 is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN) and the like.
在本发明的一个实施例中,所述电子设备1包括,但不限于,存储器12、处理器13,以及存储在所述存储器12中并可在所述处理器13上运行的计算机程序,例如开发任务执行程序。In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and a computer program stored in the memory 12 and operable on the processor 13, such as Develop task executors.
本领域技术人员可以理解,所述示意图仅仅是电子设备1的示例,并不构成对电子设备1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述电子设备1还可以包括输入输出设备、网络接入设备、总线等。Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 1, and does not constitute a limitation to the electronic device 1, and may include more or less components than those shown in the illustration, or combine certain components, or have different Components, for example, the electronic device 1 may also include input and output devices, network access devices, buses, and the like.
所述处理器13可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器13是所述电子设备1的运算核心和控制中心,利用各种接口和线路连接整个电子设备1的各个部分,及执行所述电子设备1的操作系统以及安装的各类应用程序、程序代码等。The processor 13 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., the processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect the entire electronic device 1, and execute the operating system of the electronic device 1 and various installed applications, program codes, etc.
所述处理器13执行所述电子设备1的操作系统以及安装的各类应用程序。所述处理器13执行所述应用程序以实现上述各个开发任务执行方法实施例中的步骤,例如图1所示的步骤S10、S11、S12、S13、S14、S15、S16。The processor 13 executes the operating system of the electronic device 1 and various installed application programs. The processor 13 executes the application program to implement the steps in the above embodiments of each development task execution method, such as steps S10 , S11 , S12 , S13 , S14 , S15 , and S16 shown in FIG. 1 .
或者,所述处理器13执行所述计算机程序时实现上述各装置实施例中各模块/单元的功能,例如:当接收到接口文档时,获取与所述接口文档对应的开发任务;识别所述开发任务中的至少一个子任务;获取所述至少一个子任务中,每个子任务的任务标识;根据每个任务标识,从配置代码库中调取每个子任务的代码;执行调取的每段代码,得到所述开发任务的执行结果;解析所述接口文档,生成测试脚本;以所述测试脚本验证所述执行结果。Alternatively, when the processor 13 executes the computer program, it realizes the functions of the modules/units in the above-mentioned device embodiments, for example: when receiving the interface document, acquires the development task corresponding to the interface document; identifies the developing at least one subtask in the task; obtaining the task identification of each subtask in the at least one subtask; according to each task identification, calling the code of each subtask from the configuration code base; executing each segment of the calling The code is used to obtain the execution result of the development task; the interface document is parsed to generate a test script; and the execution result is verified by the test script.
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器12中,并由所述处理器13执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述电子设备1中的执行过程。例如,所述计算机程序可以被分割成获取单元110、识别单元111、调取单元112、执行单元113、生成单元114、验证单元115、确定单元116、配置单元117、提示单元118、更新单元119、定位单元120、发送单元121以及检测单元122。Exemplarily, the computer program can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 12 and executed by the processor 13 to complete this invention. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1 . For example, the computer program can be divided into an acquisition unit 110, an identification unit 111, a call unit 112, an execution unit 113, a generation unit 114, a verification unit 115, a determination unit 116, a configuration unit 117, a prompt unit 118, and an update unit 119. , a positioning unit 120 , a sending unit 121 and a detecting unit 122 .
所述存储器12可用于存储所述计算机程序和/或模块,所述处理器13通过运行或执行存储在所述存储器12内的计算机程序和/或模块,以及调用存储在存储器12内的数据,实现所述电子设备1的各种功能。所述存储器12可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器12可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 12 can be used to store the computer programs and/or modules, and the processor 13 runs or executes the computer programs and/or modules stored in the memory 12, and calls the data stored in the memory 12, Various functions of the electronic device 1 are realized. Described memory 12 can mainly comprise storage program area and storage data area, wherein, storage program area can store operating system, the application program (such as sound playback function, image playback function etc.) required by at least one function etc.; Storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory 12 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid state storage devices.
所述存储器12可以是电子设备1的外部存储器和/或内部存储器。进一步地,所述存储器12可以是集成电路中没有实物形式的具有存储功能的电路,如RAM(Random-AccessMemory,随机存取存储器)、FIFO(First In First Out,)等。或者,所述存储器12也可以是具有实物形式的存储器,如内存条、TF卡(Trans-flash Card)等等。The memory 12 may be an external memory and/or an internal memory of the electronic device 1 . Further, the memory 12 may be a circuit with a storage function that has no physical form in an integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out,) and the like. Alternatively, the storage 12 may also be a physical storage, such as a memory stick, a TF card (Trans-flash Card) and the like.
所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。If the integrated modules/units of the electronic device 1 are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized.
其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable Excludes electrical carrier signals and telecommunication signals.
结合图1,所述电子设备1中的所述存储器12存储多个指令以实现一种开发任务执行方法,所述处理器13可执行所述多个指令从而实现:当接收到接口文档时,获取与所述接口文档对应的开发任务;识别所述开发任务中的至少一个子任务;获取所述至少一个子任务中,每个子任务的任务标识;根据每个任务标识,从配置代码库中调取每个子任务的代码;执行调取的每段代码,得到所述开发任务的执行结果;解析所述接口文档,生成测试脚本;以所述测试脚本验证所述执行结果。Referring to FIG. 1 , the memory 12 in the electronic device 1 stores multiple instructions to implement a development task execution method, and the processor 13 can execute the multiple instructions to realize: when receiving an interface document, Acquiring the development task corresponding to the interface document; identifying at least one subtask in the development task; obtaining the task identification of each subtask in the at least one subtask; according to each task identification, from the configuration code library calling the code of each subtask; executing each piece of code called to obtain the execution result of the development task; parsing the interface document to generate a test script; verifying the execution result with the test script.
根据本发明优选实施例,所述处理器13执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 executes a plurality of instructions including:
每隔预设时间间隔,获取所述预设时间间隔内的历史任务数据;Obtain historical task data within the preset time interval every preset time interval;
从所述历史任务数据中确定所有子任务,及与所述所有子任务对应的所有代码;determining all subtasks and all codes corresponding to all subtasks from the historical task data;
为所述所有子任务配置任务标识;Configure task identifiers for all subtasks;
确定所述任务标识与所述所有代码的对应关系;Determine the corresponding relationship between the task identifier and all the codes;
根据所述对应关系,配置所述配置代码库。Configure the configuration code base according to the corresponding relationship.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
当从所述配置代码库中不能调取到所述至少一个子任务中第一子任务对应的代码时,提示指定人员编写所述第一子任务的第一代码;When the code corresponding to the first subtask in the at least one subtask cannot be retrieved from the configuration code library, prompting a designated person to write the first code of the first subtask;
为所述第一子任务配置任务标识;configuring a task identifier for the first subtask;
根据所述任务标识,将所述第一子任务及所述第一代码更新至所述配置代码库。The first subtask and the first code are updated to the configuration code base according to the task identifier.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
编译每段代码,得到每段代码对应的每个可执行文件;Compile each piece of code to get each executable file corresponding to each piece of code;
根据所述开发任务,部署运行环境;Deploy the operating environment according to the development tasks;
在所述运行环境下执行每个可执行文件,得到所述执行结果。Execute each executable file in the execution environment to obtain the execution result.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
从所述接口文档中获取输入项及输出项;Obtain input items and output items from the interface document;
根据所述输入项及所述输出项,生成所述测试脚本。Generate the test script according to the input item and the output item.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
将所述执行结果与所述输出项进行比较;comparing said execution result with said output;
当所述执行结果与所述输出项一致时,确定所述执行结果通过验证;When the execution result is consistent with the output item, determining that the execution result passes the verification;
当所述执行结果与所述输出项不一致时,确定所述执行结果未通过验证。When the execution result is inconsistent with the output item, it is determined that the execution result fails the verification.
根据本发明优选实施例,所述处理器13还执行多个指令包括:According to a preferred embodiment of the present invention, the processor 13 also executes a plurality of instructions including:
获取所述开发任务的执行日志;Obtain an execution log of the development task;
从所述执行日志中定位异常代码;Locating abnormal codes from the execution log;
从所述配置代码库中获取所述异常代码的开发者;A developer who obtains the exception code from the configuration code library;
向所述开发者发送提示信息。Send prompt information to the developer.
具体地,所述处理器13对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above instructions by the processor 13, reference may be made to the description of relevant steps in the embodiment corresponding to FIG. 1 , and details are not repeated here.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It will be apparent to those skilled in the art that the invention is not limited to the details of the above-described exemplary embodiments, but that the invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Any reference sign in a claim should not be construed as limiting the claim concerned.
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or devices stated in the system claims may also be realized by one unit or device through software or hardware. Secondary terms are used to denote names without implying any particular order.
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910448214.8A CN110362294A (en) | 2019-05-27 | 2019-05-27 | Development task executes method, apparatus, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910448214.8A CN110362294A (en) | 2019-05-27 | 2019-05-27 | Development task executes method, apparatus, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110362294A true CN110362294A (en) | 2019-10-22 |
Family
ID=68214916
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910448214.8A Pending CN110362294A (en) | 2019-05-27 | 2019-05-27 | Development task executes method, apparatus, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110362294A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112346775A (en) * | 2020-09-21 | 2021-02-09 | 杭州数智政通科技有限公司 | General index data processing method, electronic device and storage medium |
| CN112699044A (en) * | 2021-01-05 | 2021-04-23 | 长沙市到家悠享家政服务有限公司 | Stress testing method, equipment and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109426516A (en) * | 2017-06-21 | 2019-03-05 | 北京信威通信技术股份有限公司 | Software version management method and device |
| CN109711802A (en) * | 2018-12-14 | 2019-05-03 | 深圳壹账通智能科技有限公司 | Item information processing method, device, computer equipment and storage medium |
-
2019
- 2019-05-27 CN CN201910448214.8A patent/CN110362294A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109426516A (en) * | 2017-06-21 | 2019-03-05 | 北京信威通信技术股份有限公司 | Software version management method and device |
| CN109711802A (en) * | 2018-12-14 | 2019-05-03 | 深圳壹账通智能科技有限公司 | Item information processing method, device, computer equipment and storage medium |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112346775A (en) * | 2020-09-21 | 2021-02-09 | 杭州数智政通科技有限公司 | General index data processing method, electronic device and storage medium |
| CN112346775B (en) * | 2020-09-21 | 2024-02-02 | 杭州数智政通科技有限公司 | Index data general processing method, electronic device and storage medium |
| CN112699044A (en) * | 2021-01-05 | 2021-04-23 | 长沙市到家悠享家政服务有限公司 | Stress testing method, equipment and storage medium |
| CN112699044B (en) * | 2021-01-05 | 2023-02-24 | 长沙市到家悠享家政服务有限公司 | Pressure testing method, equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11467952B2 (en) | API driven continuous testing systems for testing disparate software | |
| US10565097B2 (en) | Orchestrating and providing a regression test | |
| CN109582301B (en) | Service processing method, device, equipment and medium based on task scheduling system | |
| US20180275989A1 (en) | Automated program code analysis and reporting | |
| US9575871B2 (en) | System and method for dynamically debugging data in a multi-tenant database environment | |
| US20190347148A1 (en) | Root cause and predictive analyses for technical issues of a computing environment | |
| US20200218533A1 (en) | Code analytics and publication platform | |
| WO2019029160A1 (en) | Application construction method and system, computer device, and storage medium | |
| CN110502425A (en) | Test data generation method, device, electronic device and storage medium | |
| US20150370674A1 (en) | Tenant provisioning for testing a production multi-tenant service | |
| CN110083526A (en) | Applied program testing method, device, computer installation and storage medium | |
| US11294802B2 (en) | Identifying incorrect variable values in software testing and development environments | |
| US11435991B2 (en) | Automated machine deployment and configuration | |
| CN108897571A (en) | Program is packaged dispositions method, device, system, electronic equipment and storage medium | |
| US9286195B2 (en) | Derivation of generalized test cases | |
| CN112181485A (en) | Script execution method and device, electronic equipment and storage medium | |
| US11138091B2 (en) | Regression analysis platform | |
| US11474816B2 (en) | Code review using quantitative linguistics | |
| CN107807869A (en) | A kind of test system and method for testing | |
| US20220197783A1 (en) | Software application component testing | |
| CN110362294A (en) | Development task executes method, apparatus, electronic equipment and storage medium | |
| US20230297496A1 (en) | System and method for serverless application testing | |
| US12298995B1 (en) | Systems, methods, and computer-readable media for managing an extract, transform, and load process | |
| CA2947893C (en) | Orchestrating and providing a regression test | |
| US10656986B2 (en) | Dynamically controlling runtime system logging based on end-user reviews |
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 | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191022 |