技术领域Technical Field
本发明属于计算机技术领域,尤其涉及一种自动化测试方法、装置、电子设备及可读存储介质。The present invention belongs to the field of computer technology, and in particular relates to an automated testing method, device, electronic equipment and a readable storage medium.
背景技术Background Art
自动化测试包括ui自动化、monkey自动化和性能自动化等测试。在自动化测试过程中,如果出现用例执行失败,通常是退出当前的用例执行,进入下一个用例的执行。当执行的下一个用例跟前一个用例出现一样的异常错误时,该用例也执行失败,然后再继续下一个用例,直到全部测试计划的用例都执行结束,才停止测试计划。该自动化测试过程存在如下技术问题:Automated testing includes UI automation, monkey automation, and performance automation. During automated testing, if a test case fails to execute, the current test case is usually exited and the next test case is executed. When the next test case has the same exception error as the previous test case, the execution of the next test case also fails, and then the next test case is executed until all the test cases in the test plan are executed. The test plan is then stopped. The automated testing process has the following technical problems:
当有一个用例因为测试环境、被测系统ui改动或测试数据异常等原因导致执行失败时,那么拥有同样的代码能力或者拥有同样调用链路径的用例仍会被执行,并且会因为同样的异常原因导致执行失败,从而造成测试资源的浪费,降低测试效率。When a use case fails to execute due to reasons such as the test environment, changes in the UI of the system under test, or abnormal test data, use cases with the same code capabilities or the same call chain path will still be executed and will fail due to the same abnormal reason, resulting in a waste of test resources and reduced test efficiency.
发明内容Summary of the invention
本发明提供了一种自动化测试方法、装置、电子设备及可读存储介质,可以解决或者至少部分解决上述技术问题。The present invention provides an automated testing method, device, electronic device and readable storage medium, which can solve or at least partially solve the above technical problems.
本发明采用以下技术方案:The present invention adopts the following technical solutions:
第一方面,提供了一种自动化测试方法,包括:In a first aspect, an automated testing method is provided, comprising:
在执行当前用例之前,获取所述当前用例调用的类及调用方法;Before executing the current use case, obtain the class and calling method called by the current use case;
将所述当前用例调用的类及调用方法和特征数据库进行比较;其中,所述特征数据库包括调用异常的类及调用方法;Compare the class and calling method called by the current use case with a feature database; wherein the feature database includes the class and calling method of the calling exception;
若所述当前用例调用的类及调用方法和所述特征数据库中调用异常的类及调用方法存在相同的调用链路径,则跳出不执行所述当前用例。If the class and calling method called by the current use case have the same calling chain path as the class and calling method that call the exception in the feature database, the current use case will be exited and not executed.
可选地,在所述将所述当前用例调用的类及调用方法和特征数据库进行比较之后,还包括:Optionally, after comparing the class and calling method called by the current use case with the feature database, the method further includes:
若所述当前用例调用的类及调用方法和所述特征数据库中调用异常的类及调用方法不存在相同的调用链路径,则执行所述当前用例。If the class and calling method called by the current use case and the class and calling method calling the exception in the feature database do not have the same call chain path, the current use case is executed.
可选地,在所述则执行所述当前用例之后,还包括:Optionally, after executing the current use case, the method further includes:
记录所述当前用例的执行过程及结果数据;Record the execution process and result data of the current use case;
识别出所述执行过程及结果数据中调用异常的类及调用方法;Identify the class and calling method of calling exceptions in the execution process and result data;
将识别出的调用异常的类及调用方法存储至所述特征数据库。The identified call exception class and call method are stored in the feature database.
可选地,在所述则跳出不执行所述当前用例之后,还包括:Optionally, after the step of exiting and not executing the current use case, the method further includes:
将存在相同的调用链路径的调用异常的类及调用方法对应的失败原因标记为所述当前用例预判执行失败的原因。The failure reasons corresponding to the call exception classes and call methods with the same call chain path are marked as the reasons for the predicted execution failure of the current use case.
第二方面,提供了一种自动化测试装置,包括:In a second aspect, an automated testing device is provided, comprising:
获取模块,用于在执行当前用例之前,获取所述当前用例调用的类及调用方法;An acquisition module, used to acquire the class and calling method called by the current use case before executing the current use case;
比较模块,用于将所述当前用例调用的类及调用方法和特征数据库进行比较;其中,所述特征数据库包括调用异常的类及调用方法;A comparison module, used to compare the class and calling method called by the current use case with a feature database; wherein the feature database includes the class and calling method of calling exceptions;
执行模块,用于若所述当前用例调用的类及调用方法和所述特征数据库中调用异常的类及调用方法存在相同的调用链路径,则跳出不执行所述当前用例。The execution module is used to jump out of executing the current use case if the class and calling method called by the current use case have the same call chain path as the class and calling method that call an exception in the feature database.
可选地,所述执行模块还用于若所述当前用例调用的类及调用方法和所述特征数据库中调用异常的类及调用方法不存在相同的调用链路径,则执行所述当前用例。Optionally, the execution module is further used to execute the current use case if the class and calling method called by the current use case and the class and calling method that call the exception in the feature database do not have the same call chain path.
可选地,还包括:Optionally, it also includes:
记录模块,用于记录所述当前用例的执行过程及结果数据;A recording module, used to record the execution process and result data of the current use case;
识别模块,用于识别出所述执行过程及结果数据中调用异常的类及调用方法;An identification module, used to identify the class and calling method of calling exceptions in the execution process and result data;
存储模块,用于将识别出的调用异常的类及调用方法存储至所述特征数据库。The storage module is used to store the identified call exception class and call method in the feature database.
可选地,还包括:Optionally, it also includes:
标记模块,用于将存在相同的调用链路径的调用异常的类及调用方法对应的失败原因标记为所述当前用例预判执行失败的原因。The marking module is used to mark the failure reasons corresponding to the call exception classes and call methods with the same call chain path as the reasons for the predicted execution failure of the current use case.
第三方面,提供了一种电子设备,包括:In a third aspect, an electronic device is provided, including:
存储器,用于存储程序指令;A memory for storing program instructions;
处理器,用于调用并执行所述存储器中的程序指令,执行如上所述的自动化测试方法。The processor is used to call and execute the program instructions in the memory to perform the automated testing method as described above.
第四方面,提供了一种可读存储介质,所述可读存储介质中存储有计算机程序,所述计算机程序用于执行如上所述的自动化测试方法。In a fourth aspect, a readable storage medium is provided, wherein a computer program is stored in the readable storage medium, and the computer program is used to execute the automated testing method as described above.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例提供的一种自动化测试方法,在执行当前用例之前,先判断当前用例调用的类及调用方法是否和特征数据库中调用异常的类及调用方法存在相同的调用链路径,若是,则不执行当前用例,从而减少测试资源的浪费,提高自动化测试效率。An automated testing method provided by an embodiment of the present invention determines, before executing the current use case, whether the class and calling method called by the current use case have the same call chain path as the class and calling method called by the exception in the feature database. If so, the current use case is not executed, thereby reducing the waste of testing resources and improving the efficiency of automated testing.
本发明实施例还提供了一种自动化测试装置、电子设备及可读存储介质,同样具备上述有益效果。The embodiment of the present invention also provides an automated testing device, an electronic device and a readable storage medium, which also have the above-mentioned beneficial effects.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
本说明书所绘示的结构、比例、大小等,均仅用以配合说明书所揭示的内容,以供熟悉此技术的人士了解与阅读,并非用以限定本发明可实施的限定条件,故不具技术上的实质意义,任何结构的修饰、比例关系的改变或大小的调整,在不影响本发明所能产生的功效及所能达成的目的下,均应仍落在本发明所揭示的技术内容所能涵盖的范围内。The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
图1为本发明实施例提供的一种自动化测试方法的流程图;FIG1 is a flow chart of an automated testing method provided by an embodiment of the present invention;
图2为本发明实施例提供的一种自动化测试方法的流程图;FIG2 is a flow chart of an automated testing method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种自动化测试方法的流程图;FIG3 is a flow chart of an automated testing method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种自动化测试装置的模块图;FIG4 is a module diagram of an automated testing device provided by an embodiment of the present invention;
图5为本发明实施例提供的电子设备的结构示意图。FIG. 5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为使得本发明的目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
请参阅图1所示,本实施例提供了一种自动化测试方法,包括:Referring to FIG. 1 , this embodiment provides an automated testing method, including:
步骤S201、在执行当前用例之前,获取当前用例调用的类及调用方法;Step S201: before executing the current use case, obtain the class and calling method called by the current use case;
步骤S202、将当前用例调用的类及调用方法和特征数据库进行比较;其中,特征数据库包括调用异常的类及调用方法;Step S202: Compare the class and calling method called by the current use case with the feature database; wherein the feature database includes the class and calling method of the calling exception;
步骤S203、当前用例调用的类及调用方法和特征数据库中调用异常的类及调用方法是否存在相同的调用链路径?Step S203: Do the class and calling method called by the current use case and the class and calling method called by the exception in the feature database have the same calling chain path?
步骤S204、跳出不执行当前用例;Step S204: exit and do not execute the current use case;
步骤S205、执行当前用例。Step S205: Execute the current use case.
本实施例提供的自动化测试方法,在执行用例之前,会先对用例的执行结果进行预判,如果预判该用例的执行结果为失败,则不执行用例,否则执行用例,从而减少测试资源的浪费。The automated testing method provided in this embodiment predicts the execution result of the use case before executing the use case. If the execution result of the use case is predicted to be a failure, the use case will not be executed; otherwise, the use case will be executed, thereby reducing the waste of testing resources.
具体地,特征数据库的数据可以是预先设置的,也可以是在测试过程中逐渐形成的。Specifically, the data in the feature database may be preset or gradually formed during the testing process.
例如,请参阅图2所示,可以使用一个监控器,对各个测试服务器中的用例case进行监控。该监控器可以对正在执行的用例进行日志扫描收集,用于获取用例执行过程中以及执行完毕时用例的健康程度,记录用例抛出的异常及失败日志。For example, as shown in Figure 2, a monitor can be used to monitor the use cases in each test server. The monitor can scan and collect logs of the use cases being executed to obtain the health of the use cases during and after the execution of the use cases, and record the exceptions and failure logs thrown by the use cases.
然后对异常堆栈、日志信息进行分析,识别出调用异常产生的类及调用方法,通过异常分析聚类,将方法保存至特征数据库db中。Then, the exception stack and log information are analyzed to identify the class and calling method that generated the call exception. Through exception analysis and clustering, the method is saved in the feature database db.
因此,请参阅图3所示,在执行当前用例之前,先扫描当前即将要执行的用例代码的调用链,通过从特征数据库db获取的数据,取出数据中的类及调用方法,再同当前用例的调用链中的调用方法列表进行比较,如果即将执行的用例代码中存在与特征数据库中一样的调用链路径,则对该用例进行预判处理,预判该用例执行结果为失败,失败原因为特征数据库中对应的失败原因,且跳过该用例,从而可以执行下一个用例。Therefore, please refer to Figure 3. Before executing the current use case, first scan the call chain of the use case code to be executed, obtain the data from the feature database db, take out the class and call method in the data, and then compare them with the call method list in the call chain of the current use case. If the use case code to be executed contains the same call chain path as that in the feature database, the use case is predicted to fail, and the failure reason is the corresponding failure reason in the feature database, and the use case is skipped so that the next use case can be executed.
需要说明的是,不管是否执行用例,均需要收集相应的测试结果。如果是判断为执行失败的用例,则将失败原因归类为特征数据库中对应的失败原因。It should be noted that, regardless of whether the use case is executed or not, the corresponding test results need to be collected. If the use case is judged to have failed execution, the failure cause is classified as the corresponding failure cause in the feature database.
重复以上逻辑,直到计划中的所有测试用例都执行结束,调度器退出。Repeat the above logic until all test cases in the plan are executed and the scheduler exits.
本实施例提供的自动化测试方法,在执行当前用例之前,先判断当前用例调用的类及调用方法是否和特征数据库中调用异常的类及调用方法存在相同的调用链路径,若是,则不执行当前用例,从而减少测试资源的浪费,提高自动化测试效率。The automated testing method provided in this embodiment, before executing the current use case, first determines whether the class and calling method called by the current use case have the same call chain path as the class and calling method that call the exception in the feature database. If so, the current use case is not executed, thereby reducing the waste of testing resources and improving the efficiency of automated testing.
请参阅图4所示,本实施例提供了一种自动化测试装置,可以用于实现上述自动化测试方法,具体包括:As shown in FIG. 4 , this embodiment provides an automated testing device that can be used to implement the automated testing method described above, specifically including:
获取模块201,用于在执行当前用例之前,获取当前用例调用的类及调用方法;The acquisition module 201 is used to acquire the class and calling method called by the current use case before executing the current use case;
比较模块202,用于将当前用例调用的类及调用方法和特征数据库进行比较;其中,特征数据库包括调用异常的类及调用方法;Comparison module 202, used to compare the class and calling method called by the current use case with the feature database; wherein the feature database includes the class and calling method of the calling exception;
执行模块203,用于若当前用例调用的类及调用方法和特征数据库中调用异常的类及调用方法存在相同的调用链路径,则跳出不执行当前用例;还用于若当前用例调用的类及调用方法和特征数据库中调用异常的类及调用方法不存在相同的调用链路径,则执行当前用例。Execution module 203 is used to exit and not execute the current use case if the class and calling method called by the current use case have the same call chain path as the class and calling method that calls an exception in the feature database; it is also used to execute the current use case if the class and calling method called by the current use case do not have the same call chain path as the class and calling method that calls an exception in the feature database.
进一步地,自动化测试装置还包括:Furthermore, the automated testing device further comprises:
记录模块,用于记录当前用例的执行过程及结果数据;The recording module is used to record the execution process and result data of the current use case;
识别模块,用于识别出执行过程及结果数据中调用异常的类及调用方法;Identification module, used to identify the classes and calling methods with abnormal calls in the execution process and result data;
存储模块,用于将识别出的调用异常的类及调用方法存储至特征数据库;A storage module, used to store the identified abnormal call classes and call methods into a feature database;
标记模块,用于将存在相同的调用链路径的调用异常的类及调用方法对应的失败原因标记为当前用例预判执行失败的原因。The marking module is used to mark the failure reasons corresponding to the call exception classes and call methods with the same call chain path as the reasons for the predicted execution failure of the current use case.
由于自动化测试装置的具体工作流程及原理已经在上述实施例中阐明,此处不再赘述。Since the specific working process and principle of the automated testing device have been explained in the above embodiments, they will not be described in detail here.
应用本实施例提供的自动化测试装置,实时收集用例执行的异常,通过分析预判当前用例的执行结果,从而调整用例的执行调度,大大缩短测试计划用例执行时间;通过异常堆栈数据分析,关联测试用例,很好的反应现有测试用例的设计以及测试框架的不足进行评估,有助于后续的优优化工作。By applying the automated testing device provided in this embodiment, exceptions in the execution of use cases are collected in real time, and the execution result of the current use case is predicted by analysis, thereby adjusting the execution scheduling of the use case, greatly shortening the execution time of the test plan use case; by analyzing the exception stack data and associating the test cases, the design of the existing test cases and the deficiencies of the test framework are well reflected and evaluated, which is helpful for subsequent optimization work.
需要说明的是,应理解以上装置的各个模块和单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of the various modules and units of the above devices is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(centralprocessing unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk(SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
请参阅图5所示,在本申请的另一实施例中,还提供了一种电子设备100。Please refer to FIG. 5 , in another embodiment of the present application, an electronic device 100 is provided.
该电子设备100可以为上述的自动化测试装置。该电子设备可以包括:处理器101、存储器102、通信接口103和系统总线104,所述存储器102和所述通信接口103通过所述系统总线104与所述处理器101连接并完成相互间的通信,所述存储器102用于存储计算机执行指令,所述通信接口103用于和其他设备进行通信,所述处理器101执行所述计算机程序时实现如上述图1至图3所示实施例的方案。The electronic device 100 may be the above-mentioned automated testing device. The electronic device may include: a processor 101, a memory 102, a communication interface 103 and a system bus 104, wherein the memory 102 and the communication interface 103 are connected to the processor 101 through the system bus 104 and communicate with each other, the memory 102 is used to store computer execution instructions, the communication interface 103 is used to communicate with other devices, and the processor 101 implements the solution of the embodiment shown in Figures 1 to 3 above when executing the computer program.
该图5中提到的系统总线可以是外设部件互连标准(peripheralcomponentinterconnect,PCI)总线或扩展工业标准结构(extended industrystandardarchitecture,EISA)总线等。所述系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含随机存取存储器(random access memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The system bus mentioned in FIG. 5 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as a client, a read-write library, and a read-only library). The memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.
上述的处理器可以是通用处理器,包括中央处理器CPU、网络处理器(networkprocessor,NP)等;还可以是数字信号处理器DSP、专用集成电路ASIC、现场可编程门阵列FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
在本申请的另一实施例中,还提供了一种存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图1至图3所示实施例的方法。In another embodiment of the present application, a storage medium is provided, wherein instructions are stored in the storage medium, and when the storage medium is executed on a computer, the computer executes the method of the embodiments shown in FIGS. 1 to 3 above.
在本申请的另一实施例中,还提供了一种运行指令的芯片,所述芯片用于执行上述图1至图3所示实施例的方法。In another embodiment of the present application, a chip for executing instructions is also provided, and the chip is used to execute the methods of the embodiments shown in Figures 1 to 3 above.
在本申请的另一实施例中,还提供了一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在存储介质中,至少一个处理器可以从所述存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现上述图1至图3所示实施例的方法。In another embodiment of the present application, a program product is also provided, which includes a computer program, which is stored in a storage medium. At least one processor can read the computer program from the storage medium, and when the at least one processor executes the computer program, the method of the embodiments shown in Figures 1 to 3 above can be implemented.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011584561.2ACN112650681B (en) | 2020-12-28 | 2020-12-28 | Automated testing method, device, electronic device and readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011584561.2ACN112650681B (en) | 2020-12-28 | 2020-12-28 | Automated testing method, device, electronic device and readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN112650681A CN112650681A (en) | 2021-04-13 |
| CN112650681Btrue CN112650681B (en) | 2024-10-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011584561.2AActiveCN112650681B (en) | 2020-12-28 | 2020-12-28 | Automated testing method, device, electronic device and readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN112650681B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103365780A (en)* | 2013-07-22 | 2013-10-23 | 百度在线网络技术(北京)有限公司 | Method and device for calculating coverage rate of abnormal test |
| CN110471838A (en)* | 2019-07-08 | 2019-11-19 | 深圳壹账通智能科技有限公司 | Method of calibration, device, computer equipment and the storage medium of test case |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105718369A (en)* | 2016-01-19 | 2016-06-29 | 国家电网公司 | Computer software test abnormity processing system and test method |
| US10152407B1 (en)* | 2016-05-19 | 2018-12-11 | Ingram Micro, Inc. | Optimization of analysis of automated test results |
| CN109359049A (en)* | 2018-11-12 | 2019-02-19 | 郑州云海信息技术有限公司 | A test case execution method and system |
| CN110287693B (en)* | 2019-06-13 | 2023-07-21 | 成都积微物联集团股份有限公司 | Automatic buffer overflow vulnerability detection method based on symbol execution path pruning |
| CN111881156A (en)* | 2020-07-24 | 2020-11-03 | 广东省信息工程有限公司 | An exception log processing method, device, medium and terminal device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103365780A (en)* | 2013-07-22 | 2013-10-23 | 百度在线网络技术(北京)有限公司 | Method and device for calculating coverage rate of abnormal test |
| CN110471838A (en)* | 2019-07-08 | 2019-11-19 | 深圳壹账通智能科技有限公司 | Method of calibration, device, computer equipment and the storage medium of test case |
| Publication number | Publication date |
|---|---|
| CN112650681A (en) | 2021-04-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108459962B (en) | Code normalization detection method and device, terminal equipment and storage medium | |
| CN109284269B (en) | Abnormal log analysis method and device, storage medium and server | |
| US9069903B2 (en) | Multi-platform test automation enhancement | |
| US20080222501A1 (en) | Analyzing Test Case Failures | |
| CN110543420B (en) | A software testing method, system, terminal and storage medium | |
| US20180357143A1 (en) | Testing computing devices | |
| CN111767210A (en) | Strategy testing method, apparatus, computer equipment and storage medium | |
| CN113360389A (en) | Performance test method, device, equipment and storage medium | |
| WO2022110863A1 (en) | Compatibility detection method and apparatus, device, and readable storage medium | |
| CN114996127A (en) | Intelligent test method and system for solid state disk firmware module | |
| CN112650681B (en) | Automated testing method, device, electronic device and readable storage medium | |
| US11526162B2 (en) | Method for detecting abnormal event and apparatus implementing the same method | |
| CN114355171A (en) | Reconfigurable chip performance bottleneck detection platform, detection method and electronic equipment | |
| CN119292847A (en) | A method, device, electronic device and storage medium for generating wafer test results | |
| CN118656244A (en) | Anomaly detection method, electronic device and storage medium for big data tasks | |
| CN117472767A (en) | Software interface testing method, device, equipment and storage medium | |
| CN110928781A (en) | Flow control test method and system, readable storage medium and electronic device | |
| CN112905438A (en) | Automatic testing method and device | |
| JP6993472B2 (en) | Methods, devices, electronic devices, and computer storage media for detecting deep learning chips | |
| CN116340044A (en) | Fault analysis method, device, equipment and storage medium | |
| CN116230067A (en) | Automatic testing method, system, equipment and medium for solid state disk | |
| CN108845932B (en) | Unit testing method and device of network library, storage medium and terminal | |
| CN115080375A (en) | Fault reason determination method, device and equipment | |
| CN116594862B (en) | DBMS test method and device, electronic equipment and readable storage medium | |
| CN110262968A (en) | Promote method, system, medium and the electronic equipment of application failure location efficiency |
| 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 |