CN111767205A - Online detection method and system supporting task splitting - Google Patents

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
audit
case
auditing
edited
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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/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

The invention discloses an online detection method and system supporting task splitting, which comprises the following steps: splitting point by point according to the test requirement of the detection task to obtain a plurality of subtasks, obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirement and the obtained test case compiling templates; auditing the edited test case, and updating the state of the edited test case according to an auditing result; when the state of the edited test case indicates that the audit is passed, distributing the test case which passes the audit according to a preset distribution strategy; and testing the tested system in a parallel mode according to the description and the steps of the distributed test cases, and acquiring a test result. The detection method provided by the invention standardizes the test flow, realizes data electronization, realizes parallel execution of a single test task by multiple persons, realizes traceable detection data, promotes service standardization, greatly improves timeliness and accuracy of data transfer, and improves test execution efficiency.

Description

Online detection method and system supporting task splitting
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to an online detection method and system supporting task splitting.
Background
In a detection laboratory, complex business process operations exist in the whole life cycle from test application acceptance to test completion, business personnel in each current process stage mainly depend on offline communication and paper material recording, the business complexity is high, the efficiency is low, and paper file storage consumes resources.
There are currently some services that can be tested online, but most are simple case executions. The problems of this method are mainly as follows: 1) neglecting the business process management, whether the standardized operation is strictly complied with the requirements of CNAS and CMA in the detection process can not be verified, and effective examination and problem tracing are difficult to be carried out; 2) the capability levels of service personnel are different, how to reduce the work complexity under the condition of strictly complying with the requirements is achieved, the standard detection is carried out efficiently and orderly, and the detection task is completed; 3) the large-scale test task needs many people to execute in parallel, and how to effectively coordinate the test resources becomes a difficulty.
Disclosure of Invention
The invention provides an online detection method and system supporting task splitting, and aims to solve the problem of how to efficiently perform testing.
In order to solve the above problem, according to an aspect of the present invention, there is provided an online detection method supporting task splitting, the method including:
splitting point by point according to the test requirement of the detection task to obtain a plurality of subtasks, respectively obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirement and the obtained test case compiling templates;
auditing the edited test case, acquiring an auditing result, and updating the state of the edited test case according to the auditing result;
when the state of the edited test case indicates that the audit is passed, distributing the test case which passes the audit according to a preset distribution strategy;
and testing the tested system in a parallel mode according to the description and the steps of the distributed test cases, and acquiring a test result.
Preferably, wherein the method further comprises:
copying the edited test cases, and modifying in batches; and
and recovering the test cases deleted to the recycle bin.
Preferably, the auditing the edited test case, acquiring an audit result, and updating the state of the edited test case according to the audit result includes:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
Preferably, the allocating the test cases that pass the audit according to a preset allocation policy includes:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
Preferably, wherein the method further comprises:
the method comprises the steps of managing defect data generated in the test case executing process, recording description data of each round of defects, defect generation reasons and defect screenshot data, tracing to the source to quickly locate the defects, checking historical states and state change reasons of the defects, and enabling testers to dynamically generate defect summary reports in real time.
Preferably, wherein the method further comprises:
and checking the correctness and the validity of the defect data, and summarizing and sorting the defects of the same type.
According to another aspect of the present invention, there is provided an online detection system supporting task splitting, the system comprising:
the case compiling module is used for splitting the test requirements of the detection tasks according to points to obtain a plurality of subtasks, respectively obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirements and the obtained test case compiling templates;
the case auditing module is used for auditing the edited test case, acquiring an auditing result and updating the state of the edited test case according to the auditing result;
the case distribution module is used for distributing the test cases which pass the audit according to a preset distribution strategy after the state indication audit of the edited test cases passes the audit;
and the case execution module is used for testing the tested system in a parallel mode according to the description and the steps of the distributed test cases and acquiring a test result.
Preferably, the use case compiling module is further configured to:
copying the edited test cases, and modifying in batches; and
and recovering the test cases deleted to the recycle bin.
Preferably, the case auditing module audits the edited test case, obtains an audit result, and updates the state of the edited test case according to the audit result, and includes:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
Preferably, the case allocation module allocates the test cases that pass the audit according to a preset allocation policy, including:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
Preferably, wherein the system further comprises:
and the defect management module is used for managing the defect data generated in the test case execution process, recording the description data, the defect generation reason and the defect screenshot data of each round of defects, tracing the source to quickly locate the defects, checking the historical state and the state change reason of the defects and facilitating the tester to dynamically generate a defect summary report in real time.
Preferably, wherein the system further comprises:
and the defect auditing module is used for auditing the correctness and the validity of the defect data and summarizing and sorting the defects of the same type.
The invention provides an online detection method and system supporting task splitting, comprising the following steps: splitting point by point according to the test requirement of the detection task to obtain a plurality of subtasks, respectively obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirement and the obtained test case compiling templates; auditing the edited test case, acquiring an auditing result, and updating the state of the edited test case according to the auditing result; when the state of the edited test case indicates that the audit is passed, distributing the test case which passes the audit according to a preset distribution strategy; and testing the tested system in a parallel mode according to the description and the steps of the distributed test cases, and acquiring a test result. The detection method provided by the invention standardizes the test flow, realizes data electronization, realizes that a single test task can be executed by multiple persons in parallel, can effectively standardize the operation of detection service personnel according to requirements, can trace detection data, improves the detection efficiency and accuracy, automatically synchronizes data results after the completion of each task to be handled to the database, and then displays the data results back to an operation page.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow diagram of an online detection method 100 supporting task splitting according to an embodiment of the invention;
FIG. 2 is a schematic diagram of online detection supporting task splitting according to an embodiment of the present invention; and
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 Description
The 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 complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
FIG. 1 is a flow diagram of an online detection method 100 supporting task splitting according to an embodiment of the present invention. As shown in fig. 1, the on-line detection method supporting task splitting according to the embodiment of the present invention can effectively standardize operations performed by detection service personnel as required, and can trace detection data, thereby improving detection efficiency and accuracy, and simultaneously, data results after completion of each task to be handled are automatically synchronized to the database and then displayed back to the operation page, so that a user can clearly see the overall service status, and the effects of fast task allocation, fast task execution and automatic result integration are achieved, thereby solving the problems that large-scale detection services are not easy to split, and the detection results after splitting are time-consuming and labor-consuming when combined. The on-line detection method 100 for supporting task splitting starts from step 101, and splits point by point according to the test requirements of the detection task in step 101 to obtain a plurality of subtasks, respectively obtains a plurality of test case compiling templates corresponding to each subtask, and edits the test cases according to the test requirements and the obtained test case compiling templates.
Preferably, wherein the method further comprises: copying the edited test cases, and modifying in batches; and recovering the test cases deleted to the recycle bin.
In the embodiment of the invention, for large-scale detection service, the test platform is quickly decomposed into subtasks to be distributed to a plurality of people in the test stage. The decomposition mode is to transversely divide tasks of testing requirement compiling, case executing and defect confirming nodes into subtasks taking requirements and cases as units, and allow multiple persons to obtain and execute in parallel.
First, the responsible person assigns the test person to the test task. The allocation of the testing personnel mainly comprises the allocation of demand compiling personnel, the allocation of case compiling personnel and the allocation of case executive personnel. The responsible person can increase or decrease the tester of the task according to the scale of the test task, the test difficulty, the progress situation, etc., in order to guarantee the completion of the quality assurance on time of the test task.
And then, compiling the test requirements and compiling the test cases. The test requirements default contains 8 characteristics, namely, functionality, reliability, usability, compatibility, performance efficiency, maintainability, transportability and user document set. The case builder can continue to compile the sub-requirements under eight characteristics according to the relevant conditions of the test tasks, and can also skip the compilation of the test requirements directly to compile the test cases. In the invention, the use case compiling module is used for realizing the editing of the test case, which comprises the following steps: the use case compiling personnel can edit the test use case offline according to the downloaded use case compiling template, and the test use case can be completely or partially imported after the compiling is finished; the case builder can also copy the test cases which are already compiled and then modify the test cases in batches; the compiling personnel of the recycle bin function use case of the test case can recover the test case deleted by mistake; the practical operation greatly improves the use case compiling efficiency of use case compiling personnel. The case compiling module can carry out case compiling for a plurality of times on the same task, a part of the compiled cases are submitted to be checked and then executed, and then the compiling of the next part of test cases is carried out, so that the test progress of the test task is ensured.
In step 102, the edited test case is audited, an audit result is obtained, and the state of the edited test case is updated according to the audit result.
Preferably, the auditing the edited test case, acquiring an audit result, and updating the state of the edited test case according to the audit result includes:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
In the embodiment of the invention, the edited test case needs to be audited, and part of or all of the compiled test cases are submitted to a responsible person for auditing. During auditing, the test cases can be separately audited for a plurality of times within a certain time, the test cases can also be separately audited, the state of the edited test case is updated according to the auditing result, the case which passes the auditing is submitted to a case distribution stage, and the case which does not pass the auditing is refuted to a case compiling stage for modification after the case which does not pass the auditing is filled out and does not accord with the reason until the auditing is passed.
In a general test process, a test case is usually written first, and then an audit is submitted after all the test cases are written, and the case execution can be performed only after all the audits pass. In the embodiment of the invention, through the partial submission strategy, the partially edited use case can be submitted for examination first, and then the use case after the partial examination is passed enables the executive personnel to execute the test first, so that the working efficiency of the compiling personnel and the executive personnel is ensured.
In step 103, after the state of the edited test case indicates that the audit is passed, the test case that passes the audit is distributed according to a preset distribution strategy.
Preferably, the allocating the test cases that pass the audit according to a preset allocation policy includes:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
In the embodiment of the invention, the system distributes the test cases passing the audit according to the task amount and the test capability of the executive personnel. One test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers. In addition, aiming at the test cases which are already checked, the executive personnel can also draw the cases for execution according to the task amount and the test capability of the executive personnel. Similarly, the cases that have been picked up cannot be picked up again by other executives, but the executives may forward some cases that have not been picked up by themselves.
In step 104, the system under test is tested in a parallel manner according to the descriptions and steps of the distributed test cases, and a test result is obtained.
In the embodiment of the invention, the test executive personnel tests the tested system in parallel according to the description of the use case and the use case steps, and records the result. The execution conditions among the executives are not visible, and the correctness and the reliability of the test result of the tested system are ensured by distributing a mode executed by a plurality of persons.
Preferably, wherein the method further comprises:
the method comprises the steps of managing defect data generated in the test case executing process, recording description data of each round of defects, defect generation reasons and defect screenshot data, tracing to the source to quickly locate the defects, checking historical states and state change reasons of the defects, and enabling testers to dynamically generate defect summary reports in real time.
Preferably, wherein the method further comprises:
and checking the correctness and the validity of the defect data, and summarizing and sorting the defects of the same type.
In the embodiment of the invention, the defect module is utilized to realize the unified management of the recorded defects generated by the tester in the execution process, and the detailed description, the generation reasons and the defect screenshots of each round of defects are traced, so that the tester can quickly locate the defects and check the historical state and the state change reasons of the defects. The tester can generate the defect summary report dynamically and in real time. Operation records, test data, statistical data and the like generated in the test life cycle are classified and stored in a file server and a database according to conditions such as test tasks, operation stages, operation roles and the like, and auditors and supervisors can check the audit data within an allowed authority range and provide audit opinions. All the test data are recorded and can be subjected to tracing operation, the completion condition and the defect condition of the previous round of test task can be checked by the additional test task, the test key point of the additional test task is analyzed and known according to the test condition of the previous round, and the test efficiency of test executors is improved. The defect auditing module is used for auditing the defects proposed by the testers, auditing the correctness and the effectiveness of the defects, summarizing and sorting the defects of the same type proposed by different testers, and the generation of the defect auditing and testing report is decisive.
The online detection method of the embodiment of the invention is a technology for standardizing the service process, electronizing the data and supporting the multi-task online execution function test. For online testing services, there are two architectural approaches, one is to perform the test through the client and synchronize the results to the server. In this way, a user needs to install a client and configure certain requirements on the computer of the client; in addition, the system needs to be updated manually by the user when being updated, so that the use is inconvenient for the user. And the other is that the user directly operates in the browser and the data is transmitted to the server in real time. This approach has low requirements for user computer configuration; the system is convenient to update. The latter architecture is adopted.
The embodiment of the invention standardizes the detection business process and standardizes the operation. And the full-flow online operation of online testing is realized by combining the actual service scene according to the management requirements of CNAS and CMA. The process normalization is embodied in: the main process is application management → protocol management → sample management → plan management → test business management, and the operations of application, verification, execution, change verification and the like in each management module are all streamlined. And (4) clearly identifying the essential elements and optional elements on each operation page, checking the rationality of the input data, formatting the data and storing the formatted data in a database. After the operation of each process node is finished, automatically transferring the data to the next process node, and displaying the backlog of the process node on a browser; if the audit is not passed or changed, the program automatically jumps to the corresponding process node, and prompts the user that a new backlog exists on the browser. The invention can realize data traceability, and store the operation records, test data, statistical data and the like generated in the test life cycle into the file server and the database in a classified manner according to the conditions of test tasks, operation stages, operation roles and the like, so that auditors and supervisors can check the audit data within the allowed authority range and put forward audit opinions. For large-scale detection service, tasks of testing requirement compiling, case executing and defect confirming nodes are transversely divided into subtasks which take requirements and cases as units and are distributed to a plurality of persons in a testing stage, and the tasks are allowed to be taken by the plurality of persons and executed in parallel. For example, the test requirement is split according to points, and a task to be handled is edited by using a case; the case editing takes a case as a unit, and an execution agency task is generated after the case editing is finished. And supplementing the test case with the test requirement at any time in the execution process. The data results after the tasks to be handled are completed are automatically synchronized to the database and then displayed back to the user page, so that the user can clearly know the overall service condition, and the effects of quick task allocation, quick execution and automatic result integration are achieved.
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 according to the embodiment of the present invention is implemented by a tester configuration module, a use case compiling module, a use case auditing module, a use case distributing module, a use case executing module, a defect management module, and a defect auditing module. After the responsible person uses the tester to configure the relevant testers of the module configuration task, the testers can use the case compiling module to compile test cases of the task and submit the test cases to the responsible person for examination, the cases passing the examination can be automatically picked up by the testers at the case picking module, the testers carry out case execution at the case executing module after picking the cases, the test tasks are operated according to the description and the steps of the test cases, the completion results and the defects of the test cases are recorded, and the testers use the defect management to carry out traceability management and adjustment on the defects generated by the test and submit the defects to the responsible person for examination. And issuing a relevant report for a responsible person to manage and check according to relevant data generated by a tester in the whole process of the technology.
Specifically, the tester configuration module is a module for allocating a tester to a test task by a responsible person. The allocation of the testing personnel mainly comprises the allocation of demand compiling personnel, the allocation of case compiling personnel and the allocation of case executive personnel. The responsible person can increase or decrease the tester of the task according to the scale of the test task, the test difficulty, the progress situation, etc., in order to guarantee the completion of the quality assurance on time of the test task.
A use case compilation module comprising: the method comprises the following steps of compiling test requirements and compiling test cases, wherein the test requirements default to 8 characteristics, namely, functionality, reliability, usability, compatibility, performance efficiency, maintainability, transportability and user document sets. The case builder can continue to compile the sub-requirements under eight characteristics according to the relevant conditions of the test tasks, and can also skip the compilation of the test requirements directly to compile the test cases. The case compiling module has a plurality of practical functions, and mainly comprises that a case compiling worker can edit a test case offline according to a downloaded case compiling template, and the test case can be completely imported or partially imported after compiling is completed; the case builder can also copy the test cases which are already compiled and then modify the test cases in batches; the compiling personnel of the recycle bin function use case of the test case can recover the test case deleted by mistake; the practical operation greatly improves the use case compiling efficiency of use case compiling personnel. The case compiling module can carry out case compiling for a plurality of times on the same task, a part of the compiled cases are submitted to be checked and then executed, and then the compiling of the next part of test cases is carried out, so that the test progress of the test task is ensured.
The use case auditing module is a module for submitting part or all use cases compiled by a use case compiling staff to a responsible person for auditing. The responsible person can carry out a plurality of times of separate audits within a certain time, also can carry out separate audits on the test cases, submits the cases which are partially audited to the case receiving stage, and refutes the cases which are not audited to the case compiling stage after filling the cases which are not audited to the case compiling stage to lead the relevant case compiling personnel to modify.
And the case distribution module is used for distributing the checked test cases according to the task amount and the test capability of the testers. The cases which are picked up cannot be picked up again by other executives, but the executives can forward part of cases which are not executed after being picked up by the executives.
The test executive personnel tests the tested system according to the description of the use case and the use case steps and records the result. The execution conditions among the executives are not visible, and the correctness and the reliability of the test result of the tested system are ensured by distributing a mode executed by a plurality of persons.
The defect management module is a unified management module after the defects generated by testers in the execution process are recorded, and the specific description, the generation reasons and the defect screenshots of each round of defects are traced, so that the testers can quickly locate the defects and check the historical states and the state change reasons of the defects. The tester can generate the defect summary report dynamically and in real time. And operation records, test data, statistical data and the like generated in the life cycle are tested and are stored in a file server and a database in a classified manner according to conditions such as test tasks, operation stages, operation roles and the like, and auditors and supervisors can check the audit data within an allowed authority range and provide audit opinions.
The defect auditing module is used for auditing the defects proposed by the testers by a responsible person, auditing the correctness and the validity of the defects, summarizing and sorting the defects of the same type proposed by different testers, and playing a decisive role in generating a test defect report.
In practical application, the test responsible person can distribute test establishment personnel and test execution personnel according to the scale and the difficulty of each task, and dynamically increase or decrease the establishment personnel and the execution personnel according to the test condition when supervising and managing the real-time progress and the test condition of the tasks, so that the on-time completion of the test tasks can be guaranteed. The compilation personnel compiles the use cases of the test tasks, the executive personnel executes the test cases which pass the verification, the compilation personnel can submit the compiled use cases in batches, and the executive personnel can simultaneously execute the use cases which are verified, so that the compilation and execution can be in parallel, the utilization rate of the test personnel is improved, and the progress of the test tasks is also improved. All defects generated when the personnel test task is executed can be checked and traced in each round of subsequent tests, and all modification conditions from generation to closing of each defect are facilitated, so that the personnel can conveniently know the relevance before and after the test task and perform subsequent better tests. Meanwhile, in the process of compiling and executing the test task, the system records all relevant data in the process to form a relevant report for a responsible person to check and analyze the completion degree and the completion condition of the task. In addition, the working condition of each tester is known by recording the test data of each tester, and the responsible person can carry out proper assignment work according to the characteristics of the tester so as to improve the working enthusiasm of the tester and the testing level of a team.
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, an online detection system 300 supporting task splitting according to an embodiment of the present invention includes: a use case compiling module 301, a use case auditing module 302, a use case distributing module 303 and a use case executing module 304.
Preferably, the case compiling module 301 is configured to split the test requirement of the detection task according to points to obtain a plurality of subtasks, respectively obtain a plurality of test case compiling templates corresponding to each subtask, and compile the test case according to the test requirement and the obtained test case compiling templates.
Preferably, the use case compiling module 301 is further configured to: copying the edited test cases, and modifying in batches; and recovering the test cases deleted to the recycle bin.
Preferably, the use case auditing module 302 is configured to audit the edited test case, obtain an auditing result, and update the state of the edited test case according to the auditing result.
Preferably, the use case auditing module 302 audits the edited test case, obtains an auditing result, and updates the state of the edited test case according to the auditing result, including:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
Preferably, the use case allocating module 303 is configured to allocate the test case that passes the audit according to a preset allocation policy after the state of the edited test case indicates that the audit passes.
Preferably, the case allocating module 303 allocates the test cases that pass the audit according to a preset allocation policy, including:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
Preferably, the use case execution module 304 is configured to test the system under test in a parallel manner according to the descriptions and steps of the distributed test cases, and obtain a test result.
Preferably, wherein the system further comprises: and the defect management module is used for managing the defect data generated in the test case execution process, recording the description data, the defect generation reason and the defect screenshot data of each round of defects, tracing the source to quickly locate the defects, checking the historical state and the state change reason of the defects and facilitating the tester to dynamically generate a defect summary report in real time.
Preferably, wherein the system further comprises: and the defect auditing module is used for auditing the correctness and the validity of the defect data and summarizing and sorting the defects of the same type.
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 is not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from 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/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or 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, and the like) 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 application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (12)

1. An online detection method supporting task splitting, the method comprising:
splitting point by point according to the test requirement of the detection task to obtain a plurality of subtasks, respectively obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirement and the obtained test case compiling templates;
auditing the edited test case, acquiring an auditing result, and updating the state of the edited test case according to the auditing result;
when the state of the edited test case indicates that the audit is passed, distributing the test case which passes the audit according to a preset distribution strategy;
and testing the tested system in a parallel mode according to the description and the steps of the distributed test cases, and acquiring a test result.
2. The method of claim 1, further comprising:
copying the edited test cases, and modifying in batches; and
and recovering the test cases deleted to the recycle bin.
3. The method according to claim 1, wherein the auditing the edited test case, obtaining an audit result, and updating the state of the edited test case according to the audit result includes:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
4. The method according to claim 1, wherein the distributing the approved test cases according to the preset distribution policy comprises:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
5. The method of claim 1, further comprising:
the method comprises the steps of managing defect data generated in the test case executing process, recording description data of each round of defects, defect generation reasons and defect screenshot data, tracing to the source to quickly locate the defects, checking historical states and state change reasons of the defects, and enabling testers to dynamically generate defect summary reports in real time.
6. The method of claim 5, further comprising:
and checking the correctness and the validity of the defect data, and summarizing and sorting the defects of the same type.
7. An online detection system supporting task splitting, the system comprising:
the case compiling module is used for splitting the test requirements of the detection tasks according to points to obtain a plurality of subtasks, respectively obtaining a plurality of test case compiling templates corresponding to each subtask, and compiling the test cases according to the test requirements and the obtained test case compiling templates;
the case auditing module is used for auditing the edited test case, acquiring an auditing result and updating the state of the edited test case according to the auditing result;
the case distribution module is used for distributing the test cases which pass the audit according to a preset distribution strategy after the state indication audit of the edited test cases passes the audit;
and the case execution module is used for testing the tested system in a parallel mode according to the description and the steps of the distributed test cases and acquiring a test result.
8. The system of claim 7, wherein the use case compilation module is further configured to:
copying the edited test cases, and modifying in batches; and
and recovering the test cases deleted to the recycle bin.
9. The system according to claim 7, wherein the case audit module audits the edited test case, obtains an audit result, and updates the state of the edited test case according to the audit result, including:
auditing the edited test cases in batches according to a preset auditing strategy to obtain an auditing result; when the audit result indicates that the audit is passed, updating the state of the edited test case to be that the audit is passed; and when the audit result indicates that the audit is not passed, updating the state of the edited test case to be that the audit is not passed, and feeding back the reason for the reason that the audit is not passed.
10. The system according to claim 7, wherein the case allocation module allocates the test cases that pass the audit according to a preset allocation policy, and includes:
acquiring the task quantity and the testing capability of each tester, and distributing the test cases passing the audit according to the task quantity and the testing capability; wherein, one test case can be allocated only once; the test cases which are distributed but not executed can be forwarded among the testers.
11. The system of claim 7, further comprising:
and the defect management module is used for managing the defect data generated in the test case execution process, recording the description data, the defect generation reason and the defect screenshot data of each round of defects, tracing the source to quickly locate the defects, checking the historical state and the state change reason of the defects and facilitating the tester to dynamically generate a defect summary report in real time.
12. The system of claim 11, further comprising:
and the defect auditing module is used for auditing the correctness and the validity of the defect data and summarizing and sorting the defects of the same type.
CN202010259877.8A 2020-04-03 2020-04-03 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 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 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 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 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

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 compiling 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
CN110221962B (en) Centralized software test management system and method
US7895565B1 (en) Integrated system and method for validating the functionality and performance of software applications
CN102693183B (en) Method and system for realizing automatic software testing
EP2572294B1 (en) System and method for sql performance assurance services
US20080222608A1 (en) Method and system for managing software testing
CN111651431A (en) Database service oriented management flow standardization method
CN111813661A (en) Global service data drive automatic test method, device, equipment and medium
CN111767205A (en) Online detection method and system supporting task splitting
CN111190814B (en) Method and device for generating software test case, storage medium and terminal
CN112435072A (en) Model creating method and device, electronic equipment and storage medium
CN109086216A (en) Automatization test system
CN113742227B (en) Control method, device, equipment and medium for software testing process
US20050278301A1 (en) System and method for determining an optimized process configuration
CN111930611B (en) Statistical method and device for test data
CN102591779A (en) Establishing method for workflow-based universal software testing process model
CN115185825A (en) Interface test scheduling method and device
CN114911773A (en) Universal meta-model design method
CN115543377A (en) ERP system upgrading method based on artificial intelligence and ERP system
Satyarthi et al. Framework for Requirement Management using Requirement Traceability.
CN113791980A (en) Test case conversion analysis method, device, equipment and storage medium
Xie et al. Design and implementation of bank financial business automation testing framework based on QTP
CN111966665A (en) Data migration test method and device
US11461088B2 (en) Software transport check integration in upgrade context
CN116739405A (en) Test quality statistical analysis system
CN115879730A (en) Power plant equipment defect management system and method based on work order as main line

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

Application publication date: 20201013

RJ01 Rejection of invention patent application after publication