CN111767205A - An online detection method and system supporting task splitting - Google Patents

An online detection method and system supporting task splitting Download PDF

Info

Publication number
CN111767205A
CN111767205A CN202010259877.8A CN202010259877A CN111767205A CN 111767205 A CN111767205 A CN 111767205A CN 202010259877 A CN202010259877 A CN 202010259877A CN 111767205 A CN111767205 A CN 111767205A
Authority
CN
China
Prior art keywords
test
review
edited
defect
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010259877.8A
Other languages
Chinese (zh)
Inventor
李凌
李朕
刘雪梅
王川
杨建新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Electric Power Research Institute Co Ltd CEPRI filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN202010259877.8A priority Critical patent/CN111767205A/en
Publication of CN111767205A publication Critical patent/CN111767205A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • General Factory Administration (AREA)

Abstract

本发明公开了一种支持任务拆分的在线检测方法及系统,包括:根据检测任务的测试需求按点进行拆分,以获取多个子任务,获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;对已编辑的测试用例进行审核,根据审核结果更新已编辑的测试用例的状态;当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。本发明的检测方法将测试流程标准化,资料电子化,单个测试任务能多人并行执行,检测数据可追溯,能够促进业务规范化和大幅度提高资料流转的及时性和准确度,提高测试执行的效率。

Figure 202010259877

The invention discloses an online detection method and system supporting task splitting, comprising: splitting by point according to the test requirements of the detection task, to obtain multiple subtasks, and to obtain multiple test case writing templates corresponding to each subtask, And according to the test requirements and obtained test cases, write templates to edit test cases; review the edited test cases, and update the status of the edited test cases according to the review results; The preset allocation strategy allocates the approved test cases; tests the system under test in parallel according to the description and steps of the allocated test cases, and obtains the test results. The detection method of the invention standardizes the test process, electronic data, a single test task can be executed by multiple people in parallel, and the test data can be traced back, which can promote business standardization, greatly improve the timeliness and accuracy of data flow, and improve the efficiency of test execution. .

Figure 202010259877

Description

一种支持任务拆分的在线检测方法及系统An online detection method and system supporting task splitting

技术领域technical field

本发明涉及计算机应用技术领域,并且更具体地,涉及一种支持任务拆分的在线检测方法及系统。The present invention relates to the technical field of computer applications, and more particularly, to an online detection method and system supporting task splitting.

背景技术Background technique

在检测实验室,从测试申请受理至测试完成的整个生命周期中存在复杂的业务流程操作,目前各流程阶段的业务人员主要靠线下交流和纸质材料记录,业务复杂度高、效率低且纸质文件存储耗费资源。In the testing laboratory, there are complex business process operations in the entire life cycle from the acceptance of the test application to the completion of the test. At present, the business personnel in each process stage mainly rely on offline communication and paper material records. The business complexity is high, the efficiency is low, and the Paper file storage is resource-intensive.

目前存在一些可以在线测试的服务,但多数为简单的用例执行。这种方法存在的问题主要有以下几点:1)忽略了业务流程管理,在检测过程中是否都严格遵守了CNAS、CMA的要求进行了规范化的操作无法考证,很难进行有效审查和问题追溯;2)业务人员能力水平不一,在严格遵守要求的情况下如何降低工作复杂度,高效有序的进行了标准的检测,完成检测任务;3)大规模测试任务需要很多人并行执行,如何有效的协调这些测试资源成为难点。There are currently some services that can be tested online, but most are implemented for simple use cases. The main problems of this method are as follows: 1) Business process management is ignored, and whether the requirements of CNAS and CMA are strictly complied with in the testing process and standardized operations cannot be verified, and it is difficult to conduct effective review and problem tracing. ; 2) The ability level of business personnel varies, how to reduce the complexity of work under the condition of strict compliance with the requirements, carry out standard testing efficiently and orderly, and complete the testing task; 3) Large-scale testing tasks require many people to perform concurrently, how to Effectively coordinating these test resources becomes difficult.

发明内容SUMMARY OF THE INVENTION

本发明提出一种支持任务拆分的在线检测方法及系统,以解决如何高效地进行测试的问题。The present invention proposes an on-line detection method and system that supports task splitting, so as to solve the problem of how to test efficiently.

为了解决上述问题,根据本发明的一个方面,提供了一种支持任务拆分的在线检测方法,所述方法包括:In order to solve the above problems, according to one aspect of the present invention, an online detection method supporting task splitting is provided, and the method includes:

根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;According to the test requirements of the detection task, it is divided by points to obtain multiple subtasks, and the multiple test case writing templates corresponding to each subtask are obtained respectively, and the template editing test case is written according to the test requirements and the obtained test cases;

对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态;Review the edited test case, obtain the review result, and update the status of the edited test case according to the review result;

当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;When the status of the edited test case indicates that it has passed the review, the approved test cases are allocated according to the preset allocation strategy;

根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。Test the system under test in parallel according to the descriptions and steps of the assigned test cases, and obtain the test results.

优选地,其中所述方法还包括:Preferably, wherein the method further comprises:

复制已编辑的测试用例,并批量修改;以及Copy edited test cases and modify them in batches; and

对删除至回收站的测试用例进行恢复。Recover test cases deleted to recycle bin.

优选地,其中所述对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:Preferably, the edited test case is reviewed, the review result is obtained, and the status of the edited test case is updated according to the review result, including:

按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure.

优选地,其中所述按照预设的分配策略对通过审核的测试用例进行分配,包括:Preferably, the distribution of the approved test cases according to a preset distribution strategy includes:

获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case.

优选地,其中所述方法还包括:Preferably, wherein the method further comprises:

对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。Manage the defect data generated during the execution of the test case, record the description data of each round of defects, the cause of the defect and the defect screenshot data, and trace the source to quickly locate the defect, check the historical state of the defect and the reason for the state change, which is convenient for Testers dynamically generate defect summary reports in real time.

优选地,其中所述方法还包括:Preferably, wherein the method further comprises:

对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。Review the correctness and validity of defect data, and summarize and organize defects of the same type.

根据本发明的另一个方面,提供了一种支持任务拆分的在线检测系统,所述系统包括:According to another aspect of the present invention, an online detection system supporting task splitting is provided, and the system includes:

用例编制模块,用于根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;The use case preparation module is used to split points by point according to the test requirements of the detection task to obtain multiple subtasks, obtain multiple test case preparation templates corresponding to each subtask, and edit the template according to the test requirements and the obtained test cases. test case;

用例审核模块,用于对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态;The use case review module is used to review the edited test case, obtain the review result, and update the status of the edited test case according to the review result;

用例分配模块,用于当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;The use case allocation module is used to allocate the approved test cases according to the preset allocation strategy after the status of the edited test case indicates that the review has passed;

用例执行模块,用于根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。The use case execution module is used to test the system under test in parallel according to the description and steps of the assigned test case, and obtain the test results.

优选地,其中所述用例编制模块,还用于:Preferably, wherein the use case compilation module is also used to:

复制已编辑的测试用例,并批量修改;以及Copy edited test cases and modify them in batches; and

对删除至回收站的测试用例进行恢复。Recover test cases deleted to recycle bin.

优选地,其中所述用例审核模块,对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:Preferably, the use case review module reviews the edited test case, obtains the review result, and updates the status of the edited test case according to the review result, including:

按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure.

优选地,其中所述用例分配模块,按照预设的分配策略对通过审核的测试用例进行分配,包括:Preferably, the use case allocation module allocates the approved test cases according to a preset allocation strategy, including:

获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case.

优选地,其中所述系统还包括:Preferably, wherein the system further comprises:

缺陷管理模块,用于对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。The defect management module is used to manage the defect data generated during the execution of the test case, record the description data of each round of defects, the cause of the defect and the defect screenshot data, and trace the source to quickly locate the defect and view the historical status of the defect and the reasons for state changes, so that testers can dynamically generate defect summary reports in real time.

优选地,其中所述系统还包括:Preferably, wherein the system further comprises:

缺陷审核模块,用于对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。The defect audit module is used to audit the correctness and validity of the defect data, and summarize and organize the defects of the same type.

本发明提供了一种支持任务拆分的在线检测方法及系统,包括:根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态;当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。本发明的检测方法将测试流程标准化,资料电子化,单个测试任务能多人并行执行,能有效规范检测业务人员按要求操作,检测数据可追溯,提高了检测的效率和准确性,同时各待办任务完成后的数据结果自动同步到数据库,再回显到操作页面,用户对整体业务状况一目了然,达到了任务快速分配,快速执行,结果自动合一的效果,解决了大规模检测业务不易拆分,拆分后检测结果合并费时费力的问题,能够促进业务规范化和大幅度提高资料流转的及时性和准确度,提高测试执行的效率。The present invention provides an online detection method and system supporting task splitting, including: splitting by point according to the test requirements of the detection task to obtain multiple subtasks, and respectively obtaining multiple test case writing templates corresponding to each subtask , and write templates to edit test cases according to test requirements and acquired test cases; review the edited test cases, obtain the review results, and update the status of the edited test cases according to the review results; when the status of the edited test cases After the instruction is approved, the approved test cases are allocated according to the preset allocation strategy; the system under test is tested in parallel according to the description and steps of the allocated test cases, and the test results are obtained. The detection method of the invention standardizes the test process, electronic data, a single test task can be executed by multiple people in parallel, can effectively standardize the operation of the test business personnel as required, the test data can be traced back, and the efficiency and accuracy of the test are improved. After completing the task, the data results are automatically synchronized to the database, and then echoed to the operation page. Users can see the overall business status at a glance, achieving the effect of rapid task assignment, rapid execution, and automatic integration of results. The time-consuming and laborious problem of combining test results after splitting can promote business standardization, greatly improve the timeliness and accuracy of data flow, and improve the efficiency of test execution.

附图说明Description of drawings

通过参考下面的附图,可以更为完整地理解本发明的示例性实施方式:Exemplary embodiments of the present invention may be more fully understood by reference to the following drawings:

图1为根据本发明实施方式的支持任务拆分的在线检测方法100的流程图;1 is a flowchart of an online detection method 100 supporting task splitting according to an embodiment of the present invention;

图2为根据本发明实施方式的支持任务拆分的在线检测的示意图;以及FIG. 2 is a schematic diagram of online detection supporting task splitting according to an embodiment of the present invention; and

图3为根据本发明实施方式的支持任务拆分的在线检测系统300的结构示意图。FIG. 3 is a schematic structural diagram of an online detection system 300 supporting task splitting according to an embodiment of the present invention.

具体实施方式Detailed ways

现在参考附图介绍本发明的示例性实施方式,然而,本发明可以用许多不同的形式来实施,并且不局限于此处描述的实施例,提供这些实施例是为了详尽地且完全地公开本发明,并且向所属技术领域的技术人员充分传达本发明的范围。对于表示在附图中的示例性实施方式中的术语并不是对本发明的限定。在附图中,相同的单元/元件使用相同的附图标记。Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for the purpose of this thorough and complete disclosure invention, and fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings are not intended to limit the invention. In the drawings, the same elements/elements are given the same reference numerals.

除非另有说明,此处使用的术语(包括科技术语)对所属技术领域的技术人员具有通常的理解含义。另外,可以理解的是,以通常使用的词典限定的术语,应当被理解为与其相关领域的语境具有一致的含义,而不应该被理解为理想化的或过于正式的意义。Unless otherwise defined, terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is to be understood that terms defined in commonly used dictionaries should be construed as having meanings consistent with the context in the related art, and should not be construed as idealized or overly formal meanings.

图1为根据本发明实施方式的支持任务拆分的在线检测方法100的流程图。如图1所示,本发明实施方式提供的支持任务拆分的在线检测方法,能有效规范检测业务人员按要求操作,检测数据可追溯,提高了检测的效率和准确性,同时各待办任务完成后的数据结果自动同步到数据库,再回显到操作页面,用户对整体业务状况一目了然,达到了任务快速分配,快速执行,结果自动合一的效果,解决了大规模检测业务不易拆分,拆分后检测结果合并费时费力的问题。本发明实施方式提供的支持任务拆分的在线检测方法100,从步骤101处开始,在步骤101根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例。FIG. 1 is a flowchart of an online detection method 100 supporting task splitting according to an embodiment of the present invention. As shown in FIG. 1 , the online detection method supporting task splitting provided by the embodiment of the present invention can effectively standardize the operation of the detection business personnel as required, the detection data can be traced back, and the efficiency and accuracy of the detection are improved. The completed data results are automatically synchronized to the database, and then echoed to the operation page. Users can see the overall business status at a glance, which achieves the effect of rapid task assignment, rapid execution, and automatic integration of results. Combining test results after splitting is time-consuming and labor-intensive. The online detection method 100 for supporting task splitting provided by the embodiment of the present invention starts from step 101, and in step 101, according to the test requirements of the detection task, it is split by point, so as to obtain a plurality of subtasks, and obtain the corresponding subtasks respectively. Write templates for multiple test cases, and edit test cases according to test requirements and acquired test cases.

优选地,其中所述方法还包括:复制已编辑的测试用例,并批量修改;以及对删除至回收站的测试用例进行恢复。Preferably, the method further comprises: copying the edited test cases and modifying them in batches; and restoring the test cases deleted to the recycle bin.

在本发明的实施方式中,对于大规模检测业务,在测试阶段快速分解成子任务分配给多人。分解方式为将测试需求编写、用例编写、用例执行、缺陷确认节点的任务横向切分成以需求和用例为单位的子任务,允许多人领取,并行执行。In the embodiment of the present invention, for a large-scale detection service, it is quickly decomposed into sub-tasks and distributed to multiple people in the testing phase. The decomposition method is to horizontally divide the tasks of test requirement writing, use case writing, use case execution, and defect confirmation nodes into sub-tasks in units of requirements and use cases, allowing multiple people to receive them and execute them in parallel.

首先,负责人对测试任务分配测试人员。测试人员的分配主要包括需求编制人员分配,用例编制人员分配,用例执行人员分配。负责人可根据测试任务的规模大小,测试难度,进度情况等动态增减任务的测试人员,以保证测试任务按时保质的完成。First, the person in charge assigns testers to the test tasks. The allocation of testers mainly includes the allocation of requirements preparation staff, the allocation of use case preparation staff, and the allocation of use case execution staff. The person in charge can dynamically increase or decrease the testers of the task according to the scale of the test task, the difficulty of the test, and the progress of the test, so as to ensure that the test task is completed on time and with high quality.

然后,进行测试需求的编写和测试用例的编写。其中,测试需求默认包含8大特性,即功能性,可靠性,易用性,兼容性,性能效率,维护性,可移植性,用户文档集。用例编制人员可根据测试任务的相关情况可继续编写八大特性下的子需求,也可直接跳过测试需求的编写,进行测试用例编制。在本发明中,利用用例编制模块实现测试用例的编辑,包括:用例编制人员可根据下载的用例编制模板,进行线下离线编辑测试用例,编写完成后可全部导入或部分导入;用例编制人员也可以复制已经编制好的测试用例再进行批量修改;测试用例的回收站功能使用例编制人员可以对误删的测试用例进行恢复;用例步骤的拖拽排序功能等等,这些实用性操作都大大的提高了用例编制人员的用例编写效率。用例编制模块可对同一任务进行多次用例编制,将一部分已经编制好的用例提交审核后先执行,再进行下一部分测试用例的编制,以保证测试任务的测试进度。Then, write test requirements and write test cases. Among them, the test requirements include 8 major features by default, namely functionality, reliability, ease of use, compatibility, performance efficiency, maintainability, portability, and user documentation. The use case compiler can continue to write the sub-requirements under the eight characteristics according to the relevant conditions of the test task, or can directly skip the writing of the test requirements and carry out the test case compilation. In the present invention, the use case compilation module is used to realize the editing of test cases, including: the use case compilers can compile templates according to the downloaded use cases, edit the test cases offline and offline, and can import all or part of the test cases after the compilation is completed; The test cases that have been compiled can be copied and then modified in batches; the recycle bin function of the test cases, the use case compiler can restore the accidentally deleted test cases; the drag-and-drop sorting function of the use case steps, etc., these practical operations are all great. The use case writing efficiency of the use case compiler is improved. The use case preparation module can prepare multiple use cases for the same task, submit a part of the prepared use cases for review and execute them first, and then prepare the next part of the test cases to ensure the test progress of the test task.

在步骤102,对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态。In step 102, the edited test case is reviewed, the review result is obtained, and the status of the edited test case is updated according to the review result.

优选地,其中所述对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:Preferably, the edited test case is reviewed, the review result is obtained, and the status of the edited test case is updated according to the review result, including:

按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure.

在本发明的实施方式中,对于已编辑的测试用例需要进行审核,将编制好的测试用例中的部分用例或者全部用例提交给负责人进行审核。在审核时,可在一定时机内进行多次分开审核,也可以对测试用例进行分开审核,根据审核结果更新已编辑的测试用例的状态,并将审核通过的用例提交至用例分配阶段,将审核不通过的用例填写不符合原因后驳回至用例编制阶段进行修改,直至审核通过。In the embodiment of the present invention, the edited test cases need to be reviewed, and some or all of the test cases in the compiled test cases are submitted to the person in charge for review. During the review, multiple separate reviews can be conducted within a certain period of time, or the test cases can be reviewed separately, and the status of the edited test cases can be updated according to the review results. If the use case fails, fill in the reasons for non-compliance and reject it to the use case preparation stage for modification until it is approved.

一般的测试流程通常是先编写测试用例,全部编写完成后再提交审核,审核全部都通过后才可以进行用例执行。而在本发明的实施方式中,通过部分提交策略,可将部分编辑好的用例先提交审核,再将部分审核通过后的用例让执行人员先执行测试,确保了编制人员和执行人员的工作效率。The general testing process is usually to write test cases first, and then submit them for review after they are all written. In the embodiment of the present invention, through the partial submission strategy, some edited use cases can be submitted for review first, and then some use cases that have passed the review can be tested by the executors first, which ensures the work efficiency of the compilers and executors .

在步骤103,当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配。In step 103, when the status of the edited test case indicates that the review is passed, the test cases that have passed the review are allocated according to a preset allocation strategy.

优选地,其中所述按照预设的分配策略对通过审核的测试用例进行分配,包括:Preferably, the distribution of the approved test cases according to a preset distribution strategy includes:

获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case.

在本发明的实施方式中,系统根据执行人员的任务量和测试能力分配通过审核的测试用例。一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。另外,针对已经审核通过的测试用例,执行人员也可以根据自身的任务量及测试能力自己领取用例进行执行。同样的,已被领取的用例不能被其他执行人员再次领取,但执行人员可以转发部分自己领取后未执行的用例。In the embodiment of the present invention, the system allocates the audited test cases according to the task volume and testing ability of the executive. A test case can only be assigned once; test cases that have been assigned but not executed can be forwarded between testers. In addition, for the test cases that have been approved, the executors can also receive the test cases for execution according to their own task volume and testing ability. Similarly, use cases that have been claimed cannot be claimed again by other executives, but executives can forward some use cases that have not been executed after they have been claimed.

在步骤104,根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。In step 104, the system under test is tested in a parallel manner according to the descriptions and steps of the assigned test cases, and the test results are obtained.

在本发明的实施方式中,测试执行人员根据用例的描述及用例步骤并行地测试被测系统,并将结果记录。其中,执行人员之间的执行情况互不可见,且分配多人执行的模式也确保了被测系统的测试结果的正确性和可靠性。In the embodiment of the present invention, the test executor tests the system under test in parallel according to the description of the use case and the steps of the use case, and records the results. Among them, the execution situation among the executives is invisible to each other, and the mode of assigning multiple people to execute also ensures the correctness and reliability of the test results of the system under test.

优选地,其中所述方法还包括:Preferably, wherein the method further comprises:

对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。Manage the defect data generated during the execution of the test case, record the description data of each round of defects, the cause of the defect and the defect screenshot data, and trace the source to quickly locate the defect, check the historical state of the defect and the reason for the state change, which is convenient for Testers dynamically generate defect summary reports in real time.

优选地,其中所述方法还包括:Preferably, wherein the method further comprises:

对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。Review the correctness and validity of defect data, and summarize and organize defects of the same type.

在本发明的实施方式中,利用缺陷模块实现对测试人员在执行过程中产生的缺陷记录下来后的统一管理,对每一轮缺陷的具体描述,产生原因,缺陷截图,都有溯源,使测试人员可以快速定位缺陷,并查看缺陷的历史状态及状态改变原因。方便测试人员动态实时生成缺陷汇总报告。在测试生命周期中产生的操作记录,测试数据,统计数据等,根据测试任务、操作阶段、操作角色等条件分类存放到文件服务器与数据库,审核人员与监督人员可以在允许的权限范围内查看审核数据,提出审核意见。所有的测试数据都记录起来,并可以进行溯源操作,加测的任务可以查看前一轮测试任务的完成情况及缺陷情况,并根据上轮的测试情况分析了解到加测任务的测试重点,提高了测试执行人员的测试效率。利用缺陷审核模块对测试人员提出的缺陷进行审核,对缺陷的正确性,有效性进行审核,并对不同测试人员提出的相同类型的缺陷进行汇总和整理,缺陷审核对测试缺陷报告的生成有着决定性的作用。In the embodiment of the present invention, the defect module is used to realize the unified management of the defects generated by the testers during the execution process after recording, and the specific description of each round of defects, the cause of the defect, and the screenshot of the defect are all traceable, so that the test can be traced to the source. Personnel can quickly locate defects and view the historical status of defects and reasons for status changes. It is convenient for testers to dynamically generate defect summary reports in real time. The operation records, test data, statistical data, etc. generated in the test life cycle are classified and stored in the file server and database according to the test tasks, operation stages, operation roles and other conditions, and the auditors and supervisors can view the audit within the permitted scope data and provide review comments. All test data are recorded and can be traced to the source. For additional testing tasks, you can view the completion and defects of the previous round of testing tasks, and analyze the testing focus of the additional testing tasks according to the previous round of testing. The test efficiency of the test executive. Use the defect review module to review the defects proposed by the testers, review the correctness and validity of the defects, and summarize and organize the same type of defects proposed by different testers. The defect review is decisive for the generation of the test defect report. effect.

本发明实施方式的在线检测方法为业务流程标准化,资料电子化,支撑多任务在线执行功能测试的技术。对于在线测试服务,有两种架构方式,一种是通过客户端执行测试并把结果同步到服务器。这种方式需要用户安装客户端,对客户的电脑配置有一定要求;另外系统更新时需要用户手动更新,给用户造成使用不便。另外一种是用户直接在浏览器进行操作,数据实时传输到服务器。这种方式对用户电脑配置要求低;系统更新便捷。所以采用后一种架构。The online detection method of the embodiment of the present invention is a technology of standardizing business process, electronic data, and supporting multi-task online execution function test. For online testing services, there are two architectural ways, one is to execute the test through the client and synchronize the results to the server. This method requires the user to install the client, and has certain requirements for the client's computer configuration; in addition, the user needs to manually update the system when updating, which causes inconvenience to the user. The other is that the user operates directly in the browser, and the data is transmitted to the server in real time. This method has low requirements on the user's computer configuration; system update is convenient. So the latter structure is adopted.

本发明实施方式将检测业务流程规范化,操作标准化。依据CNAS、CMA的管理要求结合实际业务场景,实现了在线测试的全流程在线操作。流程规范化体现在:主体流程为申请管理→协议管理→样品管理→计划管理→测试业务管理,且各个管理模块中的申请,审核,执行,变更及变更审核等操作均流程化。对各操作页面上的必填要素,可选要素进行明确标识,对输入数据进行合理性校验,然后将数据格式化后存储到数据库。每一流程节点操作完成后,数据自动流转给下一流程节点,在浏览器上显示该流程节点的待办事项;如果有审核不通过或者变更,程序自动跳转到相应流程节点,并在浏览器上提示用户有新的待办事项。本发明能够实现数据可追溯,将测试生命周期中产生的操作记录,测试数据,统计数据等,根据测试任务、操作阶段、操作角色等条件分类存放到文件服务器与数据库,审核人员与监督人员可以在允许的权限范围内查看审核数据,提出审核意见。对大规模检测业务,在测试阶段将测试需求编写、用例编写、用例执行、缺陷确认节点的任务横向切分成以需求和用例为单位的子任务分配至多人,允许多人领取,并行执行。例如,测试需求按点拆分,产生用例编辑待办任务;用例编辑以用例为单位,编辑完成后产生执行代办任务。执行过程中随时补充测试需求测试用例。各待办任务完成后的数据结果自动同步到数据库,再回显到用户页面,用户对整体业务状况一目了然,达到了任务快速分配,快速执行,结果自动合一的效果。The embodiments of the present invention standardize the detection business process and standardize the operation. According to the management requirements of CNAS and CMA, combined with the actual business scenarios, the online operation of the whole process of online testing is realized. The standardization of the process is reflected in: the main process is application management → agreement management → sample management → plan management → test business management, and the operations of application, review, execution, change and change review in each management module are all streamlined. The required elements and optional elements on each operation page are clearly marked, the input data is checked for rationality, and then the data is formatted and stored in the database. After the operation of each process node is completed, the data is automatically transferred to the next process node, and the to-do items of the process node are displayed on the browser; The device prompts the user that there is a new to-do item. The invention can realize data traceability, and classify and store the operation records, test data, statistical data, etc. generated in the test life cycle into the file server and database according to the test tasks, operation stages, operation roles and other conditions, and the auditors and supervisors can View audit data within the permitted scope of authority and make audit comments. For large-scale inspection services, in the testing phase, the tasks of test requirement writing, use case writing, use case execution, and defect confirmation nodes are horizontally divided into sub-tasks in units of requirements and use cases, and distributed to multiple people, allowing multiple people to receive them and execute them in parallel. For example, the test requirements are split by point, and the use case editing to-do task is generated; the use case editing is based on the use case, and the execution to-do task is generated after the editing is completed. During the execution process, test cases can be supplemented with test requirements at any time. After each to-do task is completed, the data results are automatically synchronized to the database, and then echoed to the user page. Users can see the overall business status at a glance, achieving the effect of rapid task assignment, rapid execution, and automatic integration of results.

图2为根据本发明实施方式的支持任务拆分的在线检测的示意图。如图2所示,本发明实施方式的检测方法通过测试人员配置模块、用例编制模块、用例审核模块、用例分配模块、用例执行模块和缺陷管理模块和缺陷审核模块实现。其中,负责人使用测试人员配置模块配置任务的相关测试员后,测试员可使用用例编制模块编写任务的测试用例并提交负责人审核,审核通过的用例可以在用例领取模块被测试员自行领取,领取用例后测试人员在用例执行模块进行用例执行,按照测试用例的描述及其步骤进行测试任务的操作并记录测试用例的完成结果及缺陷,测试员使用缺陷管理对测试产生的缺陷进行溯源管理和调整,并提交负责人审核。在技术的整个流程中根据测试员产生的相关数据出具相关报表供负责人管理和查看。FIG. 2 is a schematic diagram of online detection supporting task splitting according to an embodiment of the present invention. As shown in FIG. 2 , the detection method of the embodiment of the present invention is implemented by a tester configuration module, a use case preparation module, a use case review module, a use case allocation module, a use case execution module, a defect management module and a defect review module. Among them, after the person in charge uses the tester configuration module to configure the relevant testers of the task, the tester can use the use case preparation module to write the test case of the task and submit it to the person in charge for review. The approved use case can be collected by the tester in the use case collection module. After receiving the use case, the tester executes the use case in the use case execution module, operates the test task according to the description of the test case and its steps, and records the completion results and defects of the test case. Make adjustments and submit them to the person in charge for review. In the whole process of the technology, according to the relevant data generated by the tester, relevant reports are issued for the person in charge to manage and view.

具体地,测试人员配置模块,是负责人对测试任务分配测试人员的模块。测试人员的分配主要包括需求编制人员分配,用例编制人员分配,用例执行人员分配。负责人可根据测试任务的规模大小,测试难度,进度情况等动态增减任务的测试人员,以保证测试任务按时保质的完成。Specifically, the tester configuration module is a module for the person in charge to assign testers to the test tasks. The allocation of testers mainly includes the allocation of requirements preparation staff, the allocation of use case preparation staff, and the allocation of use case execution staff. The person in charge can dynamically increase or decrease the testers of the task according to the scale of the test task, the difficulty of the test, and the progress of the test, so as to ensure that the test task is completed on time and with high quality.

用例编制模块,包括:测试需求的编写和测试用例的编写,其中测试需求默认包含8大特性,即功能性,可靠性,易用性,兼容性,性能效率,维护性,可移植性,用户文档集。用例编制人员可根据测试任务的相关情况可继续编写八大特性下的子需求,也可直接跳过测试需求的编写,进行测试用例编制。用例编制模块有很多实用性的功能,主要包括用例编制人员可根据下载的用例编制模板,进行线下离线编辑测试用例,编写完成后可全部导入或部分导入;用例编制人员也可以复制已经编制好的测试用例再进行批量修改;测试用例的回收站功能使用例编制人员可以对误删的测试用例进行恢复;用例步骤的拖拽排序功能等等,这些实用性操作都大大的提高了用例编制人员的用例编写效率。用例编制模块可对同一任务进行多次用例编制,将一部分已经编制好的用例提交审核后先执行,再进行下一部分测试用例的编制,以保证测试任务的测试进度。Use case preparation module, including: writing test requirements and writing test cases, in which test requirements include 8 major features by default, namely functionality, reliability, ease of use, compatibility, performance efficiency, maintainability, portability, user Documentation set. The use case compiler can continue to write the sub-requirements under the eight characteristics according to the relevant conditions of the test task, or can directly skip the writing of the test requirements and carry out the test case preparation. The use case preparation module has many practical functions, mainly including that the use case compiler can compile a template according to the downloaded use case, edit the test case offline and offline, and import all or part of the test case after the writing is completed; the use case compiler can also copy the already compiled test case. The test cases can be modified in batches; the recycle bin function of test cases can be used by the use case compiler to restore the accidentally deleted test cases; the drag-and-drop sorting function of the use case steps, etc., these practical operations have greatly improved the use case compiler. use case writing efficiency. The use case preparation module can prepare multiple use cases for the same task, submit a part of the prepared use cases for review and execute them first, and then prepare the next part of the test cases to ensure the test progress of the test task.

用例审核模块,是用例编制人员将自己编制好的部分或者全部用例提交给负责人审核的模块。负责人可在一定时机内进行多次分开审核,也可以对测试用例进行分开审核,将部分审核通过的用例提交至用例领取阶段,将审核不通过的用例填写不符合原因后驳回至用例编制阶段让相关的用例编制人员进行修改。The use case review module is a module in which the use case compiler submits some or all of the use cases compiled by himself to the person in charge for review. The person in charge can conduct multiple separate audits within a certain period of time, and can also conduct separate audits of test cases, submit some of the approved use cases to the use case collection stage, and fill in the unqualified use cases and reject them to the use case preparation stage. Have the relevant use case compilers make changes.

用例分配模块,是根据测试人员的任务量和测试能力对已经审核通过的测试用例进行分配。已被领取的用例不能被其他执行人员再次领取,但执行人员可以转发部分自己领取后未执行的用例。The use case allocation module is to allocate the approved test cases according to the tester's task volume and test ability. Use cases that have been claimed cannot be claimed again by other executives, but executives can forward some use cases that have not been executed after they have been claimed by themselves.

用例执行模块,是测试任务中的重中之重的模块,测试执行人员根据用例的描述及用例步骤测试被测系统,并将结果记录。执行人员之间的执行情况互不可见,且分配多人执行的模式也确保了被测系统的测试结果的正确性和可靠性。The use case execution module is the most important module in the test task. The test executor tests the system under test according to the description of the use case and the steps of the use case, and records the results. The execution situation between the executives is invisible to each other, and the mode of assigning multiple people to execute also ensures the correctness and reliability of the test results of the system under test.

缺陷管理模块,是测试人员在执行过程中产生的缺陷记录下来后的统一管理模块,对每一轮缺陷的具体描述,产生原因,缺陷截图,都有溯源,使测试人员可以快速定位缺陷,并查看缺陷的历史状态及状态改变原因。方便测试人员动态实时生成缺陷汇总报告。测试生命周期中产生的操作记录,测试数据,统计数据等,根据测试任务、操作阶段、操作角色等条件分类存放到文件服务器与数据库,审核人员与监督人员可以在允许的权限范围内查看审核数据,提出审核意见。The defect management module is a unified management module after the defects generated by the testers during the execution process are recorded. The specific description of each round of defects, the cause of the defect, and the screenshot of the defect are all traceable, so that the tester can quickly locate the defect. View the historical status of the defect and the reason for the status change. It is convenient for testers to dynamically generate defect summary reports in real time. The operation records, test data, statistical data, etc. generated in the test life cycle are classified and stored in the file server and database according to the test tasks, operation stages, operation roles and other conditions. Auditors and supervisors can view the audit data within the permitted scope of authority. , to provide review comments.

缺陷审核模块,是负责人对测试人员提出的缺陷进行审核,对缺陷的正确性,有效性进行审核,并对不同测试人员提出的相同类型的缺陷进行汇总和整理,对测试缺陷报告的生成有着决定性的作用。The defect review module is for the person in charge to review the defects proposed by the testers, to review the correctness and validity of the defects, and to summarize and organize the same type of defects proposed by different testers, and to generate the test defect report. decisive role.

在实际应用中,测试负责人可根据每个任务的规模大小,难易程度分配测试编制人员和测试执行人员,并在监督和管理任务的实时进度及测试情况时,根据测试情况动态增减编制人员和执行人员,这样可以保障测试任务的按时完成。编制人员编制测试任务的用例,执行人员执行审核通过的测试用例,编制人员可分批次提交已经编制完成的用例,执行人员可以同时执行已经审核完成的用例,这样编制与执行可并行的方式提高了测试人员的利用率,也提高了测试任务的进展。执行人员测试任务时产生的所有缺陷在其后的每轮测试中都可查看并溯源每个缺陷从产生到关闭的所有修改情况,方便了测试人员对测试任务前后关联性的了解和后续更好的测试。同时在测试任务的编制和执行过程中,系统记录过程中所有的相关数据形成相关报表,供负责人查看及分析任务的完成度及完成情况。另外,通过记录每个测试人员的测试数据,了解每个测试人员的工作情况,负责人及可根据测试人员的特点进行合适的分派工作,以提高测试人员的工作积极性和团队的测试水平。In practical applications, the person in charge of the test can assign test preparers and test executives according to the scale and difficulty of each task, and dynamically increase or decrease the preparations according to the test situation when supervising and managing the real-time progress of the task and the test situation. personnel and executive personnel, so as to ensure that the test tasks are completed on time. Compilers compile test cases for test tasks, and executors execute approved test cases. Compilers can submit prepared use cases in batches, and executors can execute the audited use cases at the same time, so that compilation and execution can be performed in parallel. This increases the utilization of testers and improves the progress of test tasks. All defects generated during the execution of the test tasks can be viewed and traced to all modifications of each defect from generation to closure in each subsequent round of testing, which facilitates the testers to understand the correlation before and after the test task and better follow-up 's test. At the same time, during the preparation and execution of test tasks, the system records all relevant data in the process to form relevant reports for the person in charge to view and analyze the completion and completion of the tasks. In addition, by recording the test data of each tester, to understand the work of each tester, the responsible person and the appropriate assignment of work can be carried out according to the characteristics of the tester, so as to improve the enthusiasm of the tester and the testing level of the team.

图3为根据本发明实施方式的支持任务拆分的在线检测系统300的结构示意图。如图3所示,本发明实施方式提供的支持任务拆分的在线检测系统300,包括:用例编制模块301、用例审核模块302、用例分配模块303和用例执行模块304。FIG. 3 is a schematic structural diagram of an online detection system 300 supporting task splitting according to an embodiment of the present invention. As shown in FIG. 3 , the online detection system 300 supporting task splitting provided by the embodiment of the present invention includes: a use case preparation module 301 , a use case review module 302 , a use case allocation module 303 and a use case execution module 304 .

优选地,所述用例编制模块301,用于根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例。Preferably, the use case preparation module 301 is configured to split points by point according to the test requirements of the detection task to obtain multiple subtasks, obtain multiple test case preparation templates corresponding to each subtask respectively, and obtain multiple test case preparation templates according to the test requirements and The test case authoring template for editing test cases.

优选地,其中所述用例编制模块301,还用于:复制已编辑的测试用例,并批量修改;以及对删除至回收站的测试用例进行恢复。Preferably, the use case preparation module 301 is further configured to: copy the edited test cases and modify them in batches; and restore the test cases deleted to the recycle bin.

优选地,所述用例审核模块302,用于对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态。Preferably, the use case review module 302 is configured to review the edited test case, obtain the review result, and update the status of the edited test case according to the review result.

优选地,其中所述用例审核模块302,对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:Preferably, the use case review module 302 reviews the edited test case, obtains the review result, and updates the status of the edited test case according to the review result, including:

按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure.

优选地,所述用例分配模块303,用于当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配。Preferably, the use case distribution module 303 is configured to distribute the approved test cases according to a preset distribution strategy after the status of the edited test case indicates that the review has passed.

优选地,其中所述用例分配模块303,按照预设的分配策略对通过审核的测试用例进行分配,包括:Preferably, the use case allocation module 303 allocates the approved test cases according to a preset allocation strategy, including:

获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case.

优选地,所述用例执行模块304,用于根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。Preferably, the use case execution module 304 is configured to test the system under test in a parallel manner according to the description and steps of the assigned test case, and obtain the test result.

优选地,其中所述系统还包括:缺陷管理模块,用于对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。Preferably, the system further includes: a defect management module, which is used to manage defect data generated during the execution of the test case, record the description data of each round of defects, the cause of defect generation and defect screenshot data, and trace the source, To quickly locate defects, view the historical state of defects and the reasons for state changes, so that testers can dynamically generate defect summary reports in real time.

优选地,其中所述系统还包括:缺陷审核模块,用于对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。Preferably, the system further includes: a defect review module, used for reviewing the correctness and validity of the defect data, and summarizing and sorting out defects of the same type.

本发明的实施例的支持任务拆分的在线检测系统300与本发明的另一个实施例的支持任务拆分的在线检测方法100相对应,在此不再赘述。The online detection system 300 supporting task splitting according to the embodiment of the present invention corresponds to the online detection method 100 supporting task splitting according to another embodiment of the present invention, and details are not described herein again.

已经通过参考少量实施方式描述了本发明。然而,本领域技术人员所公知的,正如附带的专利权利要求所限定的,除了本发明以上公开的其他的实施例等同地落在本发明的范围内。The present invention has been described with reference to a few embodiments. However, as is known to those skilled in the art, other embodiments than the above disclosed invention are equally within the scope of the invention, as defined by the appended patent claims.

通常地,在权利要求中使用的所有术语都根据他们在技术领域的通常含义被解释,除非在其中被另外明确地定义。所有的参考“一个/所述/该[装置、组件等]”都被开放地解释为所述装置、组件等中的至少一个实例,除非另外明确地说明。这里公开的任何方法的步骤都没必要以公开的准确的顺序运行,除非明确地说明。Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/the/the [means, component, etc.]" are open to interpretation as at least one instance of said means, component, etc., unless expressly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be Modifications or equivalent replacements are made to the specific embodiments of the present invention, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention shall be included within the protection scope of the claims of the present invention.

Claims (12)

1.一种支持任务拆分的在线检测方法,其特征在于,所述方法包括:1. an online detection method supporting task splitting, is characterized in that, described method comprises: 根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;According to the test requirements of the detection task, it is divided by points to obtain multiple subtasks, and the multiple test case writing templates corresponding to each subtask are obtained respectively, and the template editing test case is written according to the test requirements and the obtained test cases; 对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态;Review the edited test case, obtain the review result, and update the status of the edited test case according to the review result; 当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;When the status of the edited test case indicates that it has passed the review, the approved test cases are allocated according to the preset allocation strategy; 根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。Test the system under test in parallel according to the descriptions and steps of the assigned test cases, and obtain the test results. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 复制已编辑的测试用例,并批量修改;以及Copy edited test cases and modify them in batches; and 对删除至回收站的测试用例进行恢复。Recover test cases deleted to recycle bin. 3.根据权利要求1所述的方法,其特征在于,所述对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:3. The method according to claim 1, wherein the edited test case is reviewed, the review result is obtained, and the state of the edited test case is updated according to the review result, comprising: 按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure. 4.根据权利要求1所述的方法,其特征在于,所述按照预设的分配策略对通过审核的测试用例进行分配,包括:4. The method according to claim 1, wherein, according to a preset allocation strategy, allocating the audited test cases, comprising: 获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。Manage the defect data generated during the execution of the test case, record the description data of each round of defects, the cause of the defect and the defect screenshot data, and trace the source to quickly locate the defect, check the historical state of the defect and the reason for the state change, which is convenient for Testers dynamically generate defect summary reports in real time. 6.根据权利要求5所述的方法,其特征在于,所述方法还包括:6. The method according to claim 5, wherein the method further comprises: 对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。Review the correctness and validity of defect data, and summarize and organize defects of the same type. 7.一种支持任务拆分的在线检测系统,其特征在于,所述系统包括:7. An online detection system supporting task splitting, wherein the system comprises: 用例编制模块,用于根据检测任务的测试需求按点进行拆分,以获取多个子任务,分别获取每个子任务对应的多个测试用例编写模板,并根据测试需求和获取的测试用例编写模板编辑测试用例;The use case preparation module is used to split points by point according to the test requirements of the detection task to obtain multiple subtasks, obtain multiple test case preparation templates corresponding to each subtask, and edit the template according to the test requirements and the obtained test cases. test case; 用例审核模块,用于对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态;The use case review module is used to review the edited test case, obtain the review result, and update the status of the edited test case according to the review result; 用例分配模块,用于当已编辑的测试用例的状态指示审核通过后,按照预设的分配策略对通过审核的测试用例进行分配;The use case allocation module is used to allocate the approved test cases according to the preset allocation strategy after the status of the edited test case indicates that the review has passed; 用例执行模块,用于根据已分配的测试用例的描述及步骤以并行的方式测试被测系统,并获取测试结果。The use case execution module is used to test the system under test in parallel according to the description and steps of the assigned test case, and obtain the test results. 8.根据权利要求7所述的系统,其特征在于,所述用例编制模块,还用于:8. The system according to claim 7, wherein the use case preparation module is further configured to: 复制已编辑的测试用例,并批量修改;以及Copy edited test cases and modify them in batches; and 对删除至回收站的测试用例进行恢复。Recover test cases deleted to recycle bin. 9.根据权利要求7所述的系统,其特征在于,所述用例审核模块,对已编辑的测试用例进行审核,获取审核结果,并根据审核结果更新已编辑的测试用例的状态,包括:9. system according to claim 7, is characterized in that, described use case auditing module, carries out audit to edited test case, obtains audit result, and updates the state of edited test case according to audit result, comprises: 按照预设的审核策略分批对已编辑的测试用例进行审核,获取审核结果;当审核结果指示通过审核时,更新已编辑的测试用例的状态为审核通过;当审核结果指示未通过审核时,更新已编辑的测试用例的状态为审核未通过,并反馈审核不通过原因。Review the edited test cases in batches according to the preset review strategy, and obtain the review results; when the review result indicates that the review is passed, the status of the edited test case is updated to be reviewed; when the review result indicates that the review is not approved, Update the status of the edited test case to review failed, and report the reason for the failure. 10.根据权利要求7所述的系统,其特征在于,所述用例分配模块,按照预设的分配策略对通过审核的测试用例进行分配,包括:10 . The system according to claim 7 , wherein the use case allocation module allocates the test cases that have passed the audit according to a preset allocation strategy, comprising: 10 . 获取每个测试人员的任务量和测试能力,并根据任务量和测试能力对通过审核的测试用例进行分配;其中,一个测试用例只能分配一次;测试人员之间能够转发已分配但未执行的测试用例。Obtain the task volume and testing ability of each tester, and allocate the approved test cases according to the task volume and testing ability; among them, a test case can only be allocated once; the allocated but not executed test cases can be forwarded between testers test case. 11.根据权利要求7所述的系统,其特征在于,所述系统还包括:11. The system of claim 7, wherein the system further comprises: 缺陷管理模块,用于对测试用例执行过程中产生的缺陷数据进行管理,记录每一轮缺陷的描述数据、缺陷产生原因和缺陷截图数据,并进行溯源,以快速定位缺陷,查看缺陷的历史状态和状态改变原因,便于测试人员动态实时地生成缺陷汇总报告。The defect management module is used to manage the defect data generated during the execution of the test case, record the description data of each round of defects, the cause of the defect and the defect screenshot data, and trace the source to quickly locate the defect and view the historical status of the defect and the reasons for state changes, so that testers can dynamically generate defect summary reports in real time. 12.根据权利要求11所述的系统,其特征在于,所述系统还包括:12. The system of claim 11, wherein the system further comprises: 缺陷审核模块,用于对缺陷数据的正确性和有效性进行审核,并对相同类型的缺陷进行汇总和整理。The defect audit module is used to audit the correctness and validity of the defect data, and summarize and organize the defects of the same type.
CN202010259877.8A 2020-04-03 2020-04-03 An online detection method and system supporting task splitting Pending CN111767205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010259877.8A CN111767205A (en) 2020-04-03 2020-04-03 An online detection method and system supporting task splitting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010259877.8A CN111767205A (en) 2020-04-03 2020-04-03 An online detection method and system supporting task splitting

Publications (1)

Publication Number Publication Date
CN111767205A true CN111767205A (en) 2020-10-13

Family

ID=72719456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010259877.8A Pending CN111767205A (en) 2020-04-03 2020-04-03 An online detection method and system supporting task splitting

Country Status (1)

Country Link
CN (1) CN111767205A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231235A (en) * 2020-12-10 2021-01-15 广东睿江云计算股份有限公司 Test case writing and testing method and system based on multi-party cooperation
CN113742220A (en) * 2021-08-12 2021-12-03 重庆长安汽车股份有限公司 Simulation test method in forward development process of limited automatic driving system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797791A (en) * 2017-11-10 2018-03-13 郑州云海信息技术有限公司 Requirement management systems and method under a kind of quick research and development pattern
CN107908566A (en) * 2017-11-27 2018-04-13 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium
CN108038052A (en) * 2017-11-27 2018-05-15 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium
CN108255707A (en) * 2017-11-30 2018-07-06 平安科技(深圳)有限公司 Development roles creation method, device, equipment and the storage medium of test case
CN109117366A (en) * 2018-07-24 2019-01-01 武汉空心科技有限公司 The method for testing software and system quickly delivered
CN109144474A (en) * 2018-07-26 2019-01-04 任民民 A kind of document and the integrated management system of code and method
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797791A (en) * 2017-11-10 2018-03-13 郑州云海信息技术有限公司 Requirement management systems and method under a kind of quick research and development pattern
CN107908566A (en) * 2017-11-27 2018-04-13 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium
CN108038052A (en) * 2017-11-27 2018-05-15 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium
CN108255707A (en) * 2017-11-30 2018-07-06 平安科技(深圳)有限公司 Development roles creation method, device, equipment and the storage medium of test case
CN109117366A (en) * 2018-07-24 2019-01-01 武汉空心科技有限公司 The method for testing software and system quickly delivered
CN109144474A (en) * 2018-07-26 2019-01-04 任民民 A kind of document and the integrated management system of code and method
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231235A (en) * 2020-12-10 2021-01-15 广东睿江云计算股份有限公司 Test case writing and testing method and system based on multi-party cooperation
CN112231235B (en) * 2020-12-10 2021-03-30 广东睿江云计算股份有限公司 Test case compiling and testing method and system based on multi-party cooperation
CN113742220A (en) * 2021-08-12 2021-12-03 重庆长安汽车股份有限公司 Simulation test method in forward development process of limited automatic driving system
CN113742220B (en) * 2021-08-12 2024-03-15 重庆长安汽车股份有限公司 Simulation test method in forward development process of limited automatic driving system

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
CN110232024B (en) Software automation test framework and test method
Kouhestani et al. IFC-based process mining for design authoring
US7895565B1 (en) Integrated system and method for validating the functionality and performance of software applications
US9176729B2 (en) System and method for prioritizing and remediating defect risk in source code
US8949770B2 (en) Automated management of software requirements verification
CN112486557A (en) Development-based complete life cycle management platform and method
US20080120602A1 (en) Test Automation for Business Applications
CN111966665B (en) Data migration testing method and device
CN114462969A (en) Project progress real-time monitoring method and device, electronic equipment and storage medium
CN113742227A (en) Method, device, equipment and medium for controlling software testing process
CN111190814B (en) Method and device for generating software test case, storage medium and terminal
CN113791980A (en) Test case conversion analysis method, device, equipment and storage medium
CN112435072A (en) Model creating method and device, electronic equipment and storage medium
CN112131116A (en) Automatic regression testing method for embedded software
CN111767205A (en) An online detection method and system supporting task splitting
Larsson et al. Revisiting the challenges in aligning RE and V&V: Experiences from the public sector
CN107403307A (en) A kind of networking acceptance process test and management system
CN117555520A (en) Demand processing method and device, electronic equipment and storage medium
CN117609038A (en) A process management method, equipment, device and storage medium for project automation testing
Wieczorek et al. Improving testing of enterprise systems by model-based testing on graphical user interfaces
Xie et al. Design and implementation of bank financial business automation testing framework based on QTP
CN114911773A (en) Universal meta-model design method
do Carmo Machado et al. Towards an integration testing approach for software product lines
Bermon Angarita et al. A Bibliometric Analysis of DevOps Metrics.

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201013